Could anyone with Script Debugger and Myriad Tables Lib experience help me out here?
use script "Myriad Tables Lib" version "1.0.9"
use scripting additions
set modKeys to make new table with data {{false, "shift"}, {false, "ctrl"}, {false, "alt"}, {false, "cmd"}} editable columns {1} with prompt "choose 1-4 mod keys, or none at all" with empty selection allowed
modify table modKeys OK button name "continue" cancel button name "cancel"
display table modKeys
How do I set the selected values into variables?
Something like:
set modChoice1 to item 1 of values selected of table modKeys
set modChoice2 to item 2 of values selected of table modKeys
set modChoice3 to item 3 of values selected of table modKeys
set modChoice4 to item 4 of values selected of table modKeys
The code above doesn’t work, but I hope it helps illustrate what I’m trying to do.
Thanks in advance for your help!