Keynote Worship Slides, part 2 - Transposing
Vložit
- čas přidán 1. 07. 2024
- Transposing worship song slides with chords from Nashville Numbers to different keys with Script Editor
Here's the AppleScript example:
********************************
tell application "Keynote"
activate
end tell
tell application "System Events"
keystroke "f" using command down
delay 0.5
keystroke "1"
keystroke tab
keystroke "D"
delay 1
keystroke tab
keystroke space
delay 0.5
keystroke tab
keystroke tab
keystroke "1sus"
keystroke tab
keystroke "Dsus"
delay 1
keystroke tab
keystroke space
delay 0.5
keystroke tab
keystroke tab
keystroke "2m"
keystroke tab
keystroke "Em"
delay 1
keystroke tab
keystroke space
delay 0.5
keystroke tab
keystroke tab
keystroke "/2"
keystroke tab
keystroke "/E"
delay 1
keystroke tab
keystroke space
delay 0.5
keystroke tab
keystroke tab
keystroke "3m"
keystroke tab
keystroke "F#m"
delay 1
keystroke tab
keystroke space
delay 0.5
keystroke tab
keystroke tab
keystroke "/3"
keystroke tab
keystroke "/F#"
delay 1
keystroke tab
keystroke space
delay 0.5
keystroke tab
keystroke tab
keystroke "4"
keystroke tab
keystroke "G"
delay 1
keystroke tab
keystroke space
delay 0.5
keystroke tab
keystroke tab
keystroke "42"
keystroke tab
keystroke "G2"
delay 1
keystroke tab
keystroke space
delay 0.5
keystroke tab
keystroke tab
keystroke "5"
keystroke tab
keystroke "A"
delay 1
keystroke tab
keystroke space
delay 0.5
keystroke tab
keystroke tab
keystroke "5sus"
keystroke tab
keystroke "Asus"
delay 1
keystroke tab
keystroke space
delay 0.5
keystroke tab
keystroke tab
keystroke "6m"
keystroke tab
keystroke "Bm"
delay 1
keystroke tab
keystroke space
delay 0.5
keystroke tab
keystroke tab
keystroke "/6"
keystroke tab
keystroke "/B"
delay 1
keystroke tab
keystroke space
delay 0.5
keystroke tab
keystroke tab
keystroke "/7"
keystroke tab
keystroke "/C#"
delay 1
keystroke tab
keystroke space
delay 0.5
keystroke tab
keystroke tab
keystroke "G/G"
keystroke tab
keystroke "4/4"
delay 1
keystroke tab
keystroke space
delay 0.5
keystroke "w" using command down
end tell - Hudba
Nice video. But i´ve got a question, do you have an automation as well to move from one slide to another? what kind of event do you use? I believe you're not manually going trough slides :)
I'm not quite sure what you're asking. Do you mean if I'm using an automation to advance the slides when I present the song? Or changing from one slide to the next during the transposing automation? (the find and replace all function works across all slides at once, so I only need to run the script one time).