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

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -