How do I make a good menu list for a launcher? (Automator)

First of all, sorry... I know this isn't exactly a Dev topic, but I didn't know what community to put it in. I currently have a simple Automator program that:
1. Launches
2. Finds all items with the Tag:Games
3. Presents said items in a list to be picked from
4. Launches the one that is picked
What I am wondering is how to make a better looking selection window. At the moment, it shows the file paths to the .exe's (I use this for my WINE games), and all of them are selected by default, and I obviously don't want to launch all of them at once, and the file path looks a bit ugly and is hard to find the right game. I just need a way to make a simple window where you click on the right application, and it launches (In automator, preferably).

If you put the following into an Automator Run AppleScript action it may help:
on run
          set name_list to {}
          set path_list to {}
          set {old_tids, AppleScript's text item delimiters} to {AppleScript's text item delimiters, "."}
          repeat with each_item in (every paragraph of (do shell script "mdfind \"kMDItemUserTags == Games\""))
                    set the_file to POSIX file each_item
                    copy the_file to end of path_list
                    tell application "Finder" to set file_name to text item 1 of (name of file the_file as text)
                    copy file_name to end of name_list
          end repeat
          set AppleScript's text item delimiters to old_tids
          set game_chosen to item 1 of (choose from list name_list with title "Choose a game" with prompt "Choose a game:" without multiple selections allowed)
          repeat with x from 1 to (count name_list)
                    if game_chosen = item x of name_list then exit repeat
          end repeat
          tell application "Finder" to open file (item x of path_list)
end run

Similar Messages

  • How to make a good menu!!!

    Hi!!!
    How can I make a good menu that it executes at runtime? Also this menu has to read a .txt file, which has the user permissions to display the menu according the connect user.
    I try to do with javascript, but I don't know to read a file.txt with javascript and to give the parameters to the .java of the page.I have read a lot of manuals of studio creator and javascript and I don't read anything to do this.
    I also see that some people do these menus in jsp, but the studio creators jsp code view is in XML, and the tutorial and examples of jsp are in pure jsp with html, so I can't use in studio creator.
    Thankssss

    I've read about the destruction due to sweat and have been careful where I put the iPod. I'm in the humid deep south, so I have a real concern.
    I took it out on a run during a rainstorm on Jan 1, but didn't use the earphones. It only came along so it could record Nike+ data, and it was inside a baggie so it had a better chance of staying dry. It did fine.
    My concerns are keeping moisture out of the data port and the headphone jack. Since I've got the Nike+ dongle, it's more difficult for moisture to get in there.
    I've only had it in mild weather, minus rain. If it's fair weather, it clips to the front of my shorts off to the side, where I've seen that I tend not to drench my shirt with sweat. I thought of using a wrist strap, but there's been too many times where I've had sweat dripping off my wrists/palms.
    Of course, this is way off topic, but I thought I'd give you my opinion.

  • How do I make a drop down list of text in numbers as it is made in the example spreadsheet for comparing cars for buying where you can choose a value from a dropdown list for each car?

    how do I make a drop down list of text in numbers as it is made in the example spreadsheet for comparing cars for buying where you can choose a value from a dropdown list for each car?

    Where is this example spreadsheet? Without seeing it I can only guess at what you are asking.
    To make a drop-down list (a pop-up menu in Numbers-speak), format the cell as a pop-up then edit and add to the list of items.
    If the example spreadsheet is pulling in a dollar value based on what car you chose in the pop-up, it is probably using LOOKUP or one of the other lookup functions, getting the information from another table (a lookup table). If, instead, these dollar values are what you are choosing in the pop-up, then you need to create a pop-up with these values in it.
    The Help menu includes a link to a page where you can download the Numbers Users Manual. It also has a link to the Formulas and Functions guide. Both are useful to new users.

  • How do I make the Bookmarks menu drop-down larger?

    I'm using a 1920 x 1200 monitor and the icons in the menu are too small. How do I make the Bookmarks menu drop-down larger?
    Not the toolbar. I never use the toolbar. I've removed all toolbars. Don't give me help for the toolbar. I'm asking about the menu, not the toolbar. I want to enlarge the text and icons in the bookmarks menu; How do I do this?
    Using Firefox 9.0.1 on Windows 7 x64 Service Pack 1.
    PC is a desktop machine, not a laptop.
    CPU is Intel Core i7 940 @ 2.93 GHz, with 6 GB RAM.
    Graphics adapter is a pair of Nvidia GTX 285 cards running as a 2-card SLI array.
    On a 11 Mbps (downstream) DSL modem/router.

    Use this extension to adjust the font size for the user interface.
    *Theme Font & Size Changer: https://addons.mozilla.org/firefox/addon/theme-font-size-changer/

  • How do you make a Spry menu view on all pages but only have to change it one place?

    How do you make a Spry menu view on all pages but only have to change it one place? Someone told me maybe I could create a Library item. Any help will be appreciated.

    If your pages all have the same basic design, using a DW Template would be a way to do it...
    http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7abea.h tml

  • How do I make a table of contents for a collection of six short stories that is after the legal page and NOT in the front on an unnumbered page?

    How do I make a table of contents for a collection of six short stories that is after the legal page and NOT in the front on an unnumbered page?
    When I first started I made a title page and then pasted in my first story from a .TXT file. After cleaning up I went back to the front a couple of empty lines ahead of the story and typed in the story title.  Unlarged the font size and centered it, then

    You can't do that. This is what the Pages User Guide, downloadable from your Pages Help menu, says:
    Creating and Updating a Table of Contents
    Each table of contents (TOC) you create using a Word Processing template lists only the content that follows it, up until the next table of contents. If you want a master table of contents for the entire document, it must be the only table of contents, and it must be at the beginning of the document.
    You can do it manually though.

  • How do I make Pages the default program for .doc files?

    How do I make Pages the default program for .doc files without having the need to change the default program for each individual.doc file?

    Navigate to a .doc file.
    Ctrl click the file
    Choose Open with and then go down the list, past pages, to other
    Navigate to pages
    Before you click Open make sure you click the 'Always open with' check box.
    You should be okay.
    You can do a similar think by selecting the file, Choosing File-Get Info
    Then open the Open With Disclosure triangle.
    select pages and then click CHANGE ALL
    Hope this hleps.
    M.

  • How can I make Adobe Reader 9 open for incoming PDFs instead of Acrobat 5.0?

    How can I make Adobe Reader 9 open for incoming PDFs instead of Acrobat 5.0?

    Hi,
    Assuming that you have Reader 9.3.4 already installed on your machine, you can try the following to make Reader 9.3.4 as the default PDF opening application:
    1. Right click on any PDF on your system and click on the "Open With" Option in the context menu that appears. In case you get another submenu, click on Chose Program in that menu. (In case you do not see any "Open With" option, then hold down the Shift key and right click on the file)
    2. Click on Browse button in the dialog that appears, and select Reader 9. Make sure that you select the checkbox for "Always use the selected program to open this kind of file"
    3. Click on OK.
    This will make Adobe Reader 9 as the default viewer for all PDFs on your system.

  • I got a new computer. How do I make this the primary pc for all of my apple devices?

    I purchased a new pc. How do I make this the primary pc for iTunes and all of my apple devices? I need to know how to take all Itunes files off old pc and put on new pc. Also, disable old pc.

    Backup your library using this User Tip.
    The same tool can be used to backup other important user data.
    Deauthorise the old computer
    Restore the library into the music folder of your new profile. (Use the same tool as for the backup)
    Install iTunes and sign in to your account.
    tt2

  • How do I make my computer the primary for my iPhone 3G?

    How do I make my computer the primary for my iPhone 3G? I am able to load music from my iTunes library but unable to delete music or create playlists on the phone from itunes. The computer I set the phone up with (primary) was destroyed.

    There is no "main" or " primary" account.
    Iphone, ipod touch, ipad will sycn with one and only one computer at a time.  Syncing to another will indeed erase the current content from the device and replace with content from the new computer.
    Copy everything from the old computer or your backup copy of the old computer, to the new one.

  • Sorry I'm new to Final Cut Express. How do you make an image (jpeg file for example) move across the screen slowly as I've seen in many films.

    Sorry I'm new to Final Cut Express. How do you make an image (jpeg file for example) move across the screen slowly as I've seen in many films.

    Neil from bristol wrote:
    … How do you make an image … move across the screen …
    by setting KEYFRAMES
    (read, what FC/e's built-in Help-feature tells about it)
    resize and set pic to start position
    set keyframe
    move playhead in timeline to desired length
    set pic to end position
    set keyframe …

  • How can I make "No Proxy" the default for accessing the internet?

    How can I make "No Proxy" the default for accessing the internet?

    *Tools > Options > Advanced > Network : Connection > Settings
    If you do not need to use a proxy to connect to internet then try to select "No Proxy" if "Use the system proxy settings" or one of the others do not work properly.
    See "Firefox connection settings":
    *https://support.mozilla.org/kb/Firefox+cannot+load+websites+but+other+programs+can

  • HT1807 how do I make sure to encounter charges for roaming but still use my phone on wifi?  I have viber app and would like to message also without additional charges.  Is there a setting I need to hit to ensure this?

    Travel internationally and use my ipohne with wifi, how do I make sure to avoid charges for roaming but still use my internet and messaging on wifi?  I have viber app and would like to message also without additional charges.  Is there a setting I need to hit to ensure this?

    Settings>General>Network>Roaming>Data Roaming>Off. If you really want to be absolutely certain, Settings>General>Network>Cellular Data>Off.

  • How do I make Photoshop 7 my default for viewing photos?

    How do I make Photoshop 7 my default for viewing photos?

    windows 7
    Terry Keiser
    <Removed by Moderator>

  • How can i make Apple review a refund for a delaminated bottom case of my macbook november 2009 model? They more than implied that it is a design flaw anyway

    How can i make Apple review a refund for a delaminated bottom case of my macbook november 2009 model? They more than implied that it is a design flaw anyway. They make it so hard to send a possible review of such.

    http://www.apple.com/support/macbook-bottomcase/

Maybe you are looking for