|
Hello everyone, I'm constantly swapping between my bootcamp and OSX partition and what I really like about the bootcamp program on windows, is that you can select "Restart on Mac OS X" in your taskbar, and I really miss that feature on OSX, I have to restart push alt and wait until it detects the Partitions and then rewait untill windows boots up, instead of that I'd like to be able to take myself a drink or whatever, So I tried a very small program in the applescript editor, using the display dialog :
(password is correct) the dialog appears, but the script isn't executed when I click on Restart, it just quits. however the "do shell script" works perfectly alone, I just don't want to accidentally click on it and lose all my opened windows, does somebody know what's wrong in this code ? (this is my first try with applescript, the only thing I've ever done is some small math programs with Delphi) Greetings from Switzerland |
