Hey all,
Sorry if this post is in the wrong place but I just got culture shock from visiting this website.
I have a REAL simple script that displays a list of options. The code is below:
The list works just fine but no action is taken when the choice is selected. In other words, regardless of the choice, there is no apparent action. Any help would be greatly appreciated.
Wow, this site has changed!!!
Sorry if this post is in the wrong place but I just got culture shock from visiting this website.
I have a REAL simple script that displays a list of options. The code is below:
Code:
choose from list {"Quick", "iMovie", "Standard", "Programming"} with prompt "Please select load option:"
return the result as string
set v_choice to result
if v_choice is equal to "Quick" then
beep 2
end if
if v_choice is equal to "iMovie" then
tell application "iMovie" to activate
end if
if v_choice is equal to "Standard" then
tell application "StandardLoad" to activate
end if
if v_choice is equal to "Programming" then
tell application "EntertainmentLoad" to activate
end if
beep 4
return
The list works just fine but no action is taken when the choice is selected. In other words, regardless of the choice, there is no apparent action. Any help would be greatly appreciated.
Wow, this site has changed!!!
Last edited by a moderator: