If List

Joined
Aug 7, 2019
Messages
1
Reaction score
0
Hi

I am trying to create automation for selecting names from within catagories.

The idea is that the automation runs and first asks the user to select one option from a list of show catagories
● Production
● Variety
● Ballet

Once this selection has been made it then progress to show the names show within the previously selected catagory in a list and prompt the user to select a name which is then stored to a variable for use later in the automation

I am not sure how to go about this.

Thanks
 
Joined
Jan 25, 2017
Messages
1,266
Reaction score
100
Not sure what you are trying to do, but I have an Applescript app that allows you to choose from a list and then act on the choice. You may be able to use that as a starting point.

Code:
set Choices to {"Lightroom", "Mail", "Word"}


set theChoice to choose from list Choices with prompt "Select an item  from list.:" default items {"Excel"}


if theChoice = {"Lightroom"} then tell application "Adobe Lightroom 3"

    activate

end tell

if theChoice = {"Mail"} then tell application "Mail"

    activate

end tell

if theChoice = {"Word"} then tell application "Microsoft Word"

    activate

end tell


Screen.jpg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top