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

Capture and play voice with Asterisk ARI -

c++ - Can not find the "fiostream.h" file -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -