I have finally made the switch. I am constantly hacking around on the registries and in DOS on pc's. I am now a dedicated Macbook pro owner. I need to write an applescript to open a program that has to be initialized through Terminal.
I have the following
tell application "Finder"
activate
select window of desktop
select window of desktop
open application file "Terminal.app" of folder "Utilities" of folder "Applications" of startup disk
This is where I get stuck....I had cd "/users/username/"
Then run "./filename.sh"
end tell
Any help is greatly appreciated. Whether it be a mock script, or access to a resource to writing scripts and all the commands usable in Applescript editing.
I have the following
tell application "Finder"
activate
select window of desktop
select window of desktop
open application file "Terminal.app" of folder "Utilities" of folder "Applications" of startup disk
This is where I get stuck....I had cd "/users/username/"
Then run "./filename.sh"
end tell
Any help is greatly appreciated. Whether it be a mock script, or access to a resource to writing scripts and all the commands usable in Applescript editing.