Skip to content

Instantly share code, notes, and snippets.

View dbuezas's full-sized avatar
👾

David Buezas dbuezas

👾
View GitHub Profile
-- Execute -> Install
-- Keyboard -> Shortcuts -> Services -> playpause soundcloud -> set your Shortcut
set titleString to ""
tell application "Google Chrome"
activate
set window_list to every window # get the windows
set the_window_index to 0
repeat with the_window in window_list # for every window
set the_window_index to the_window_index + 1
#!/usr/bin/osascript
# Name of the device as visible in Safari->Develop menu
set deviceName to "iPhone Simulator"
# Number of seconds to wait for the simulator window to show up
set maxWait to 30
# ---------------------------------------
# You shouldn't modify anything below here