i need some advice concerning AppleScript and MacOSX.
I just bought a Keyspan digital remote Control and i want to build a Script, that will let me shut down the computer via remote.
but how do i do this?
i tried to make a script: tell application “Finder” to shut down
but this doesent work, since AppleScript is still active, when the finder tries to shut down,
so the shut down process is always stoped because applescript ist still running.
how can i work around this.
2nd question do you have any idea how to start the script via
Thanks a lot
Its me again, sorry but i forgot to mention that
i am running MacOS X (10.1)
Can’t script a shutdown in OS X.
I was just about to agree with bobw, when I remembered you had to do something special with a shutdown script.
Here’s the script:
ignoring application responses
tell application "Finder"
ignoring application responses will tell AppleScript not to wait for a result before going onto the next line of code. Well, the script quits, and boom your shutdown is complete.