Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Applescript How-To: Creating a simple Youtube Search App

Loading...

Sign in or sign up now!
14,397
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 20, 2008

With this simple Applescript you can create a Youtube search application.

More Information:

1. Open Script Editor

---Applications/Applescript/Script Editor

2. Type the applescript into script editor

3. Save the script as an application

4. Run it, Search, and away!


Any questions, leave a comment or send a message - i'll do my best!

More to come :)

EDIT:
Unfortunately, the text is almost impossible to see so here's the script:

set search to text returned of (display dialog "Enter YouTube Video Search" default answer "" buttons {"Search", "Cancel"} default button 1)
open location "http://www.youtube.com/results?search_query=" & search

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 3 dislikes

Link to this comment:

Share to:

Uploader Comments (joshallica)

  • can anyone tell me what the code is becuase i cant read it sorry... pls reply to me

  • It's in the description >

  • thats great can you post the actual script though not just vid

  • The script is in the video description, top right :)

see all

All Comments (32)

Sign In or Sign Up now to post a comment!
  • @drem4life

    it should cancel by default when u press cancel but if it doesnt then after default button 1 type cancel button 2 and the problem should be fixed

  • it doesn't cancel wtf

  • @joshallica Why even tell him//her if he/she is too ignorant to look in the description?

  • how can you make the "cancel" button actually cancel the search? and then have a dialog box saying "search canceled" or something? thanks.

  • i can read it lol.. without any problems. GOOD MOVIE m8 and thx

  • Cool! It'd be easier to follow, if you could say something or write any explanations in TextEdit or Stickies :)

  • wow i really want to learn to do that.

  • Thats good! Now how do i turn it into a Widget?

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more