I have a command to set up to 10 bookmarks, for recall in other commands, and was wondering if it could be done in a way that I don't have to repeat for all 10 bookmarks.
Command is: Save to bookmark[1..10]
Set text [~Input] to '{CMDSEGMENT:1}'
Set text [~clip] to '{CLIP}'
Begin Text Compare : [{CMDSEGMENT:1}] Equals '1'
Begin Text Compare : [Bookmark1] Has Not Been Set
Set text [Bookmark1] to '{CLIP}' (Upper Case) (save value to profile)
Say, '{TXT:Bookmark1} has been saved to Bookmark 1.'
Else If Text Compare : [Bookmark1] Has Been Set
Say, 'Bookmark has already been saved to {TXT:Bookmark1}, would you like to overwrite this? Yes or No!'
Wait for spoken response: 'Yes;No'
Begin Text Compare : [{TXT:~textResult}] Equals 'Yes'
Set text [~temp] to [{TXT:Bookmark1}]
Say, 'Bookmark {TXT:Bookmark1} has been overwritten with [{CLIP}]'
Pause 0.1 seconds
Set text [Bookmark1] to '{CLIP}' (save value to profile)
Else
Say, 'Bookmark {TXT:Bookmark1} as not been overwritten!'
End Condition
End Condition
End Condition
Thanks in advance!!