--increment the text of a cue numbered "S1"
tell application id "com.figure53.QLab.5" to tell front workspace
try
set the text of cue "S1" to (text of cue "S1" as number) + 1 as text
on error
display alert "Cue does not exist or text of cue is not a number"
end try
end tell
--
Contact support anytime: sup...@figure53.com
User Group Code of Conduct: https://qlab.app/code-of-conduct/
Instagram: https://www.instagram.com/Figure53
TikTok: https://www.tiktok.com/@QLab.app
Bluesky: https://bsky.app/profile/qlab.app
---
You received this message because you are subscribed to the Google Groups "QLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qlab+uns...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/qlab/f1b7cd0c-d42f-4b4c-99c5-1f519bfc4f5fn%40googlegroups.com.