Created
May 20, 2019 09:18
-
-
Save langolf/78dda25c9caaf8463a551e327b837644 to your computer and use it in GitHub Desktop.
Get opened file for vscode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "System Events" | |
tell application process "Code" | |
return value of attribute "AXDocument" of window 1 | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment