0
votes
1answer
140 views

How to get a list of application windows only from the current desktop with applescript?

Need to do something like the next tell application "Safari" activate set AllWindows to every window set WinCount to number of items in AllWindows repeat with i from 1 to WinCount ...
1
vote
1answer
440 views

Create a New Space in Mavericks using Applescript

In Mavericks, is it possible to use Applescript to create a new Space in Mission Control? I also tried the following code to switch to another Space, but it does not seem to do anything... tell ...
3
votes
1answer
526 views

Hide windows in current desktop (Lion)

I'd like to make a keyboard shortcut that hides all windows on the current desktop, while ignoring windows on other desktops. Is this possible using Applescript?
3
votes
0answers
254 views

Applescript vs. Spaces in Lion (10.7)

In Snow Leopard (10.6), I had an applescript that toggled iTunes between "maximised on Space 2" and "mini-player on all spaces": set app_identifier to do shell script "echo 'com.apple.iTunes' | ...