Keycode - dead hourse
Keycode - dead hourse
- Subject: Keycode - dead hourse
- From: Robert Poland <email@hidden>
- Date: Thu, 06 Oct 2016 07:05:45 -0600
- Z-usanet-msgid: XID327uJFNFU8224X34
Hi,
I'll try again, without all the typos that were in the last go around.
The script, below, stops selecting the expected space at space 5. But manually pressing the keys "6" and "7" work as expected. The "Tell app "Finder" seems to have no effect.
tell application "Finder"
tell application "System Events"
activate
delay 1
set x to 18
key code x using control down # Move to desktop 1
repeat with i from 1 to 7
tell application "System Events" to key code x using control down
delay 1
beep
display dialog x
set x to x + 1
end repeat
end tell
end tell
Additional notes as run from Smile and Script Editor:
key code 18 = space 1
key code 19 = space 2
key code 21 = space 4
key code 22 = space 6
key code 23 = space 5
key code 24 = no change
key code 25 = no change
Has Apple (Sierra) butchered this or what?
Robert Poland
Fort Collins, CO
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden