Hi everyone, i've looked everywhere, but I cannot find it... How can I script a 'double' keystroke? I explain: I want to script two things, Spotlight research, and FrontRow, both of them use two keys to be activated. For FrontRow, it is Command+Escape, and for Spotlight, it is Command+Space If I script like this: tell application "System Events" keystroke command and escape key keystroke escape key end tell
I doesn't work. If I remove the 'and escpape key' the script runs, but nothing appends. So, do you know how to make a 'dual keystroke' with AppleScript, and by this way, resolve my problem? Thanks,
Pierre-Antoine
|