applescript "bring to front"

Discussion in 'Mac Apps and Mac App Store' started by mnkeybsness, Sep 7, 2003.

  1. mnkeybsness macrumors 68030

    mnkeybsness

    Joined:
    Jun 25, 2001
    Location:
    Moneyapolis, Minnesota
    #1
    ok, so i did this about a year ago and it worked...

    i have a keyspan dmr and i wrote a short little applescript to tell the finder to bring the itunes window to the front...

    since that time, i have lost the script and would really like it back...

    i tried this...
    Code:
    tell application "Finder"
    set window 1 of application "iTunes" to frontmost
    end tell
    i had thought that this was what i used, but i keep getting an error...

    little help please?
     
  2. mnkeybsness thread starter macrumors 68030

    mnkeybsness

    Joined:
    Jun 25, 2001
    Location:
    Moneyapolis, Minnesota
    #2
    i know lots of you out there know applescript....
     
  3. OutThere macrumors 603

    OutThere

    Joined:
    Dec 19, 2002
    Location:
    NYC
    #3
    this little baby will bring iTunes to the front:

    Code:
    tell application "iTunes"
    	activate
    end tell
    
     
  4. OutThere macrumors 603

    OutThere

    Joined:
    Dec 19, 2002
    Location:
    NYC
  5. mnkeybsness thread starter macrumors 68030

    mnkeybsness

    Joined:
    Jun 25, 2001
    Location:
    Moneyapolis, Minnesota
    #5
    wow i knew it was a lot more simple than i was trying to make it this time...thanks
     

Share This Page