Created
January 23, 2017 10:53
-
-
Save siggi-hs/ceee6b4e49b18ec167e7b73d69276cbd to your computer and use it in GitHub Desktop.
This file contains hidden or 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 run {input, parameters} | |
| set the clipboard to "POP87-6000" | |
| delay 0.5 | |
| tell application "Google Chrome" to activate | |
| tell application "System Events" | |
| -- Select prodcut from dropdown | |
| keystroke tab | |
| keystroke tab | |
| keystroke "p" | |
| delay 0.5 | |
| -- Paste product Name | |
| keystroke tab | |
| key down {command} | |
| keystroke "v" | |
| key up {command} | |
| delay 0.5 | |
| -- Paste product SKU | |
| keystroke tab | |
| keystroke tab | |
| key down {command} | |
| keystroke "v" | |
| key up {command} | |
| delay 0.5 | |
| -- Select one column | |
| keystroke tab | |
| keystroke (key code 125) | |
| delay 0.5 | |
| keystroke return | |
| delay 0.5 | |
| -- Enable item | |
| keystroke tab | |
| delay 0.5 | |
| keystroke "e" | |
| delay 0.5 | |
| end tell | |
| return input | |
| end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment