Created
January 17, 2015 13:00
-
-
Save ikarino/59584655f0efd0b2dedc to your computer and use it in GitHub Desktop.
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
on selectSettingTab(index) | |
tell application "System Events" | |
tell process "OBS" | |
tell window "Settings" | |
activate | |
set p to position | |
set x to (item 1 of p) + 100 | |
set y to (item 2 of p) + 20 + index * 50 | |
set cmd to "cliclick c:" & x as string & "," & y as string | |
-- display dialog cmd | |
do shell script cmd | |
end tell | |
end tell | |
end tell | |
end selectSettingTab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment