Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using terms from application "Quicksilver"
- on process text sps
- set searchterm to sps
- tell application "System Events"
- tell process "Spotify"
- tell application "Spotify" to activate
- set value of text field 1 of UI element 1 to searchterm
- set focused of text field 1 of UI element 1 to true
- delay 0.1
- key code 36
- set focused of text field 1 of UI element 1 to false
- end tell
- end tell
- end process text
- end using terms from
Add Comment
Please, Sign In to add comment