Detect which desktop/Space is currently active.
Detect which desktop/Space is currently active.
- Subject: Detect which desktop/Space is currently active.
- From: Robert Poland <email@hidden>
- Date: Tue, 28 Jan 2014 11:47:14 -0700
Hi,
Is there a way to detect which Desktop/Space is currently active?
There doesn’t appear to be a dictionary for Mission Control.
I currently use this to select a desktop;
tell application "System Events" activate delay 1 key code 18 using {control down} # Move to desktop 1 delay 1 end tell
I would rather use a loop to insure that the action has occurred instead of adding delays, which sometimes fail.
TIA,
Robert Poland iMac, Late 2013, 14,2 3.2 GHz Intel Core I5, 27” 16 GB Ram, 1TB Fusion HD OS X 10.9.1 (13B42)
|
_______________________________________________
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