OLD | NEW |
(Empty) | |
| 1 -- Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 -- for details. All rights reserved. Use of this source code is governed by a |
| 3 -- BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 tell application "Firefox 29" to activate |
| 6 |
| 7 delay 3.0 |
| 8 |
| 9 tell application "System Events" |
| 10 keystroke "n" using command down |
| 11 |
| 12 delay 1.0 |
| 13 |
| 14 keystroke "l" using command down |
| 15 |
| 16 keystroke "http://localhost:8080/" |
| 17 -- Simulate Enter key. |
| 18 key code 36 |
| 19 |
| 20 delay 10.0 |
| 21 |
| 22 keystroke "l" using command down |
| 23 -- Simulate Tab key. |
| 24 key code 48 |
| 25 key code 48 |
| 26 key code 48 |
| 27 key code 48 |
| 28 |
| 29 -- Simulate End key. |
| 30 key code 119 |
| 31 |
| 32 -- Simulate Home key. |
| 33 key code 115 |
| 34 |
| 35 -- Simulate Tab key. |
| 36 key code 48 |
| 37 |
| 38 -- Simulate Cmd-Up. |
| 39 key code 126 using command down |
| 40 |
| 41 -- Simulate Down. |
| 42 key code 125 |
| 43 key code 125 |
| 44 key code 125 |
| 45 key code 125 |
| 46 key code 125 |
| 47 |
| 48 -- Simulate Cmd-Right. |
| 49 key code 124 using command down |
| 50 |
| 51 -- Simulate Delete |
| 52 key code 51 |
| 53 |
| 54 -- Simulate Cmd-Down. |
| 55 -- key code 125 using command down |
| 56 |
| 57 end tell |
OLD | NEW |