440Forums  |  MacMusic.org  |  PcMusic.org  |  440tv  |  Zicos  |  AudioLexic
implementation   {key13}


10.5: Find current Space number via AppleScript

MacOsxHints

Tuesday March 4, 2008. 05:30 PM
MacOsxHints

One drag about Apple's Spaces implementation in Leopard is that there is no way to access Spaces via AppleScript. While you can use AppleScript to select indvidual spaces by simulating keystrokes, it'd be nice to have some way to find what the current space is via AppleScript. Well, using PreFab Software's excellent UIBrowser, I was able to figure out how to accomplish that precise task with AppleScript. (I believe you'll need to check Enable Access for Asssistive Devices in the Universal Access pane of System Preferences, if you haven't already, for this to work. You'll also need the Spaces menubar extra to be visible, which you can enable in the Spaces pane of System Preferences.) The script will return the variable theCurrentSpace with the number of the currently displayed space. You can use that i...
drag about Apple
10.5: Find current Space number via AppleScript Read more at MacOsxHints
feeds.macosxhints.com/~r/macosxhints/recent/~3/245543711/article.php

 

 Related News 
Updated Paste Plain Text AppleScript for Word 2008 Updated Paste Plain Text AppleScript for Word 2008
 TidBITS 03/16/08 12 AM 
Apple AirPort Base Station 2008-001 (#3): can't find Base sta... Apple AirPort Base Station 2008-001 (#3): can't find Base sta...
 MacFixIt 03/14/08 09 PM 
Space Pig Available For Macs Space Pig Available For Macs
 InsideMacGames 03/14/08 03 PM 
Aperture 2.0.1 Update Enhanced by AppleScript Aperture 2.0.1 Update Enhanced by AppleScript
 TidBITS 03/10/08 11 AM 
New poll on drive space posted New poll on drive space posted
 MacOsxHints 03/09/08 04 PM 
0KB of disk space available even after deleting files (follow-up) 0KB of disk space available even after deleting files (follow-up)
 MacFixIt 03/07/08 08 PM 
10.5: Change the Finder's default Find window 10.5: Change the Finder's default Find window
 MacOsxHints 03/07/08 05 PM 
0KB of disk space available, even after deleting files 0KB of disk space available, even after deleting files
 MacFixIt 03/05/08 09 PM 
Mark/Space updates The Missing Sync for Palm OS Mark/Space updates The Missing Sync for Palm OS
 Mac Minute 03/04/08 08 PM 
No talks held between Apple, China mobile over current iPhone No talks held between Apple, China mobile over current iPhone
 AppleInsider 03/03/08 08 PM 
Backstage: Space Invaders Extreme, or, Does iPod Need $20 Games? Backstage: Space Invaders Extreme, or, Does iPod Need $20 Games?
 iPod Lounge 03/03/08 07 PM 
Apple is Number One Laptop Supplier in Higher Education Apple is Number One Laptop Supplier in Higher Education
 MacRumors 03/03/08 03 PM 
Apple TV 2.0: Video output goes black (cannot find signal); more Apple TV 2.0: Video output goes black (cannot find signal); more
 MacFixIt 02/29/08 10 PM 
10.5: AppleScript 'path to me' function changed in 10.5 10.5: AppleScript 'path to me' function changed in 10.5
 MacOsxHints 02/28/08 05 PM 
iTunes number 2 vendor of music in the USA iTunes number 2 vendor of music in the USA
 Mac Bidouille 02/28/08 01 PM 
iTunes Now Number Two Music Retailer in the US iTunes Now Number Two Music Retailer in the US
 AppleLinks 02/26/08 07 PM 
iTunes is Number 2 Music Retailer in U.S. iTunes is Number 2 Music Retailer in U.S.
 MacRumors 02/26/08 06 PM 
iTunes Now Number Two Music Retailer in the US iTunes Now Number Two Music Retailer in the US
 Apple HotNews 02/26/08 05 PM 
iTunes Now Number Two Music Retailer in the US iTunes Now Number Two Music Retailer in the US
 Apple PressReleases 02/26/08 05 PM 
10.5: Find iTunes song lyrics using Spotlight 10.5: Find iTunes song lyrics using Spotlight
 MacOsxHints 02/26/08 05 PM 
iTunes now number two music retailer in the US iTunes now number two music retailer in the US
 Mac Minute 02/26/08 05 PM 

Search

Mac Zicos
Sun October 12, 07:12 PM
implementation   {key13}