M macsrules macrumors regular Original poster Feb 26, 2008 248 0 Mar 22, 2008 #1 I am trying to get Apple Script to execute this command when run. tell application "Spaces" press "Command . Option . Right Arrow" End Tell The middle line is off, how does the sentence need to read? Any help would be appreciated.
I am trying to get Apple Script to execute this command when run. tell application "Spaces" press "Command . Option . Right Arrow" End Tell The middle line is off, how does the sentence need to read? Any help would be appreciated.
A allbrokeup macrumors regular Mar 6, 2008 249 0 Melbourne, Australia Mar 22, 2008 #2 tell application "System Events" keystroke "1" using control down end tell Change the Number "1" to any number between "1" the Maximum Number of Spaces to switch to them.] You also cannot control Spaces directly with AppleScript, so System Events all the way allbrokeup.
tell application "System Events" keystroke "1" using control down end tell Change the Number "1" to any number between "1" the Maximum Number of Spaces to switch to them.] You also cannot control Spaces directly with AppleScript, so System Events all the way allbrokeup.
M macsrules macrumors regular Original poster Feb 26, 2008 248 0 Mar 22, 2008 #3 allbrokeup, Thanks Works like a charm!! I am going to create a batch of four of these for each space so that I can run them through Quicksilver. If you think there is a better way let me know.
allbrokeup, Thanks Works like a charm!! I am going to create a batch of four of these for each space so that I can run them through Quicksilver. If you think there is a better way let me know.