Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jlp-craigmorten committed Feb 1, 2025
0 parents commit 9dd0017
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/macos-voiceover.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: MacOS VoiceOver

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
start-voiceover-and-move-right:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-13, macos-14, macos-15]
steps:
- uses: actions/checkout@v3
- run: |
# Start VoiceOver
/System/Library/CoreServices/VoiceOver.app/Contents/MacOS/VoiceOverStarter
# Let VoiceOver startup (usually be more careful than hardcoded time!)
sleep 5
# Attempt to control VoiceOver using
/usr/bin/osascript voiceOver.applescript
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# macos-15 VoiceOver Error Demo

Simple workflow to demonstrate macos-15 issues with VoiceOver AppleScript support reported in https://github.com/actions/runner-images/issues/11257
17 changes: 17 additions & 0 deletions voiceOver.applescript
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
tell application "VoiceOver"
-- Ensure VoiceOver is focused

activate

-- Attempt to move the VO cursor right 5 times.
-- This is where we can see evidence of macos-15 agents not having
-- AppleScript support enabled for VoiceOver as it errors with:
-- "execution error: VoiceOver got an error: AppleEvent handler failed. (-10000)"

tell vo cursor to move right
tell vo cursor to move right
tell vo cursor to move right
tell vo cursor to move right
tell vo cursor to move right

end tell

0 comments on commit 9dd0017

Please sign in to comment.