File tree 3 files changed +45
-0
lines changed
3 files changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : MacOS VoiceOver
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+ branches : [main]
8
+
9
+ jobs :
10
+ start-voiceover-and-move-right :
11
+ runs-on : ${{ matrix.os }}
12
+ strategy :
13
+ matrix :
14
+ os : [macos-13, macos-14, macos-15]
15
+ steps :
16
+ - uses : actions/checkout@v3
17
+ - run : |
18
+ # Start VoiceOver
19
+ /System/Library/CoreServices/VoiceOver.app/Contents/MacOS/VoiceOverStarter
20
+
21
+ # Let VoiceOver startup (usually be more careful than hardcoded time!)
22
+ sleep 5
23
+
24
+ # Attempt to control VoiceOver using
25
+ /usr/bin/osascript voiceOver.applescript
Original file line number Diff line number Diff line change
1
+ # macos-15 VoiceOver Error Demo
2
+
3
+ Simple workflow to demonstrate macos-15 issues with VoiceOver AppleScript support reported in https://github.com/actions/runner-images/issues/11257
Original file line number Diff line number Diff line change
1
+ tell application " VoiceOver"
2
+ -- Ensure VoiceOver is focused
3
+
4
+ activate
5
+
6
+ -- Attempt to move the VO cursor right 5 times.
7
+ -- This is where we can see evidence of macos-15 agents not having
8
+ -- AppleScript support enabled for VoiceOver as it errors with:
9
+ -- "execution error: VoiceOver got an error: AppleEvent handler failed. (-10000)"
10
+
11
+ tell vo cursor to move right
12
+ tell vo cursor to move right
13
+ tell vo cursor to move right
14
+ tell vo cursor to move right
15
+ tell vo cursor to move right
16
+
17
+ end tell
You can’t perform that action at this time.
0 commit comments