Top Right Spreadsheet open in Excel.app on same mac running QLab which Script will get data from
Top left share of spreadsheet in Excel Online in Chrome Browser to show remote editing of shared file.
Spreadsheet initially populated with ChatGPT prompt:
"create 100 3 to 5 word phrases on the subject of Theatre Sound Design as a list without numbers."Script (Won't currently work in QLab 5.1)
--Display text from column A of an open Excel spreadsheet (in
excel.app)
repeat
set theDisplayTime to 3.0 --seconds to display each text
set theIndex to 1
repeat
tell application "Microsoft Excel" to tell active sheet
-- count active cells in column A
set theRowCount to ((first row index of (get end cell 101 of column 1 direction toward the top)))
if theIndex < theRowCount then
set theNewText to value of cell ("A" & theIndex as text)
else
exit repeat
end if
end tell
tell application id "com.figure53.QLab.5" to tell front workspace
set the live text of cue "TEXT" to theNewText
end tell
set theIndex to theIndex + 1
delay theDisplayTime
end repeat
end repeat
Screen recording in QLab 5.0.12 and workspace attached.
Mic