Drowning in email? Try Inbox Zero to learn sane tips for dealing with high-volume email. And don’t miss the free Inbox Zero video. »
Register for free on 43 Folders to comment on articles, post to our forum, customize your visits, and much more. Current users can login now.
AppleScript assistance for automation of bash/iTerm?
Carla Hufstedler | Jul 31 2007
Quote: (http://iterm.sourceforge.net/scripting.shtml)
iTerm also supports autolaunching of an Applescript on startup. On startup, iTerm looks for an Applescript called "AutoLaunch.scpt" under ~/Library/Application Support/iTerm. If it is found, the AutoLauch.scpt is launched and executed. This feature can be used to launch multiple sessions in defined windows and tabs when iTerm starts up. Oooooh, right? :) What I want to do is use that feature so that I can launch iTerm and enter the 2 Comments
POSTED IN:
Unfamiliar with iTerm, but I...Submitted by noodle on August 19, 2007 - 9:57am.
Unfamiliar with iTerm, but I think you could do a: » POSTED IN:
You may wish to refrain...Submitted by jason.mcbrayer on August 19, 2007 - 2:40pm.
You may wish to refrain from putting your password into your applescript. If you really want sudo to not ask you for your password when you're opening a shell, use the 'visudo' command to put something like this into your /etc/sudoers file:
But this isn't such a great idea either: sudo normally asks you for a password for a reason. Either way, you're letting anyone who walks up to your computer where you've left yourself logged in to run anything as root; in the former case you're doing that and giving them your password. » POSTED IN:
About Carla |
|
| EXPLORE 43Folders | THE GOOD STUFF |