owaters
Registered
Hi,
Thanks for reading this
I am having some trouble with 2 applescripts:
The first
I am trying to do a script that automatically starts Apache through the terminal. So far I have come up with:
tell application "Terminal"
set password to "mypassword"
do shell script "sudo apachectl graceful" with administrator privileges and password
end tell
This doesn't seem to work though! Have any ideas??
The Second
I want a script to ask for any number of minuted to be entered.
It will then ask for a name of an iTunes playlist to play.
It would then start iTunes, bring it to the front and play the specific playlist for the specific length of time.
Any ideas on how I could do this and how it would be done?
Thanks!
Thanks for reading this
I am having some trouble with 2 applescripts:
The first
I am trying to do a script that automatically starts Apache through the terminal. So far I have come up with:
tell application "Terminal"
set password to "mypassword"
do shell script "sudo apachectl graceful" with administrator privileges and password
end tell
This doesn't seem to work though! Have any ideas??
The Second
I want a script to ask for any number of minuted to be entered.
It will then ask for a name of an iTunes playlist to play.
It would then start iTunes, bring it to the front and play the specific playlist for the specific length of time.
Any ideas on how I could do this and how it would be done?
Thanks!