I want to make a script that will
a) open System Preferences and the Exposé pane
b) disable the Exposé and Dashboard shortcut keys
c) close System Preferences
d) launch a game
e) upon the game quitting, relaunch System Preferences
f) re-enable shortcut keys
g) close System Preferences
If possible, I want to make the System Preferences part of the script hidden. I've put together a bit of a script that covers opening System Preferences, and I'm sure I can figure out how to close programs as well.
Are there any AppleScript gurus who can give me examples of how to interact with drop-down menus and also how to activate the next part of the script upon the game's closure? Game is Deus Ex under Classic, if it matters.
a) open System Preferences and the Exposé pane
b) disable the Exposé and Dashboard shortcut keys
c) close System Preferences
d) launch a game
e) upon the game quitting, relaunch System Preferences
f) re-enable shortcut keys
g) close System Preferences
If possible, I want to make the System Preferences part of the script hidden. I've put together a bit of a script that covers opening System Preferences, and I'm sure I can figure out how to close programs as well.
Are there any AppleScript gurus who can give me examples of how to interact with drop-down menus and also how to activate the next part of the script upon the game's closure? Game is Deus Ex under Classic, if it matters.