(Moderator note: copied here from this thread:
https://www.irealb.com/forums/showth...t-PlayList-PDF )
Trouble viewing the "script"? Try the Metro or Metro Fluid forum style (very bottom of page on right)
This was annoying me so much, that I wrote an AppleScript to print an entire playlist. Seems to work fine. Mac version of the app only, unfortunately. The process is little advanced, but I think if you can enter chords into iReal Pro you can handle it
Open Script Editor (click the Finder magnifying glass in the upper right corner of your screen, type "Script Editor")
Paste in this script to the top text window:
display dialog "Open iRealPro and click to highlight the playlist you want to print"
display dialog "How many songs are in this playlist?" default answer "0"
set playlist_song_count to text returned of result
-- You can bump this up to 2-3 seconds if it takes longer for the print step (default 1sec)
set print_delay to 1
tell application "iReal Pro" to activate
tell application "System Events"
keystroke tab
keystroke tab
repeat with i from 0 to playlist_song_count
keystroke "p" using command down
keystroke return
delay print_delay
keystroke tab
keystroke tab
keystroke (ASCII character 31)
end repeat
end tell
Hit the play button and follow its instructions. Basic gist of it is:
1. Open iReal Pro
2. Click the playlist you want to print to highlight it (make sure no song is highlighted)
3. Enter the amount of songs in this playlist when prompted
4. The script will then send all the keystrokes to select and print each song in that playlist
You can save this script for later use File > Save
And there you go, spend the time you saved with your cat or kids.
Bookmarks