lua - osx - script to get current desktop number -
is there way current desktop/space number on osx programatically?
i've found questions seems little bit outdated: osx lion applescript : how current space # mission control?
i've found this: http://www.hammerspoon.org/docs/hs.spaces.watcher.html unfortunately not work.
since recent os version, no longer possible access via script spaces. thing found how get, via applescript name/path of desktop picture on current space :
tell application "finder" set (desktop picture) string
except that, since yosemite (at least !) applescript dictionary no longer contain space scriptable elements.
Comments
Post a Comment