hi guys
I have a choose list, I wnat if you select an answer, that apply a certain value to a variable
but it keep the value of the answer
What’s wrong ?
set Formatsetup to choose from list {"HD", "2K_Super_35", "4K_Super_35"} with prompt "Choose your full size format :"
set Format to Formatsetup
if (Formatsetup = "HD") then
set Format to "1920 1080 0 0 1920 1080 1 HD"
else
if (Formatsetup = "2K_Super_35") then
set Format to "2048 1556 0 0 2048 1556 1 2K_Super_35(full-ap)"
else
if (Formatsetup = "4K_Super_35") then
set Format to "4096 3112 0 0 4096 3112 1 4K_Super_35(full-ap)"
end if
end if
end if
display dialog Format
thanks for your help
Model: MBP
AppleScript: 2.0.1
Browser: Safari 533.18.5
Operating System: Mac OS X (10.5)