# Calendar
July 2008
M T W T F S S
« Jun    
 123456
78910111213
14151617181920
21222324252627
28293031  
You are currently browsing the Stan's List weblog archives for the 'AppleScript' category.
Info End -->
You are currently browsing the Stan's List weblog archives for the 'AppleScript' category.

If you have a YouTube account, you can enable hi-res in settings. You will see videos in hi-res whenever they are available. What if you do not have an account, or do not want one? You are not denied access to the hi-res version.

MacOSXHINTS has a number of solutions.

This javascript is handy if put in the Bookmark bar and utilized prior to starting the video. The point is to get that last bit, “&fmt=18″, into the URL

javascript:window.location+=”&fmt=18″;

What I find more effective is the Applescripts that they provide. The following one is for Safari.

tell application “Safari”
set current_url to the URL of current tab of window 1
set current_url to current_url & “&fmt=18″
set URL of current tab of window 1 to current_url
end tell

Best place for this script is in User Script folder. You can access this folder from the menu bar Applescript icon. Start with Open Scripts folder and then you will see it. If the scripts icon is not in your menu bar to the left of the clock, open AppleScript Utility and check “Show Script menu in menu bar”.

You can download the AppleScript already compiled as an application.

It is all to easy for FireFox, betteryoutube_0.4.2.xpt extension will automatically give you the hi-res version, if available. Extensions belong in Add-ons found in the Tools menu. Just open Add-ons and drag the already uncompressed extensioninto that add-ons window. Download

MacWorld’s Mac OS X Hints notes that Preview is one of a hand full of Apple applications, let alone a number of 3rd party applications, that do not speak AppleScript. There is an easy way to add script ability to Preview, via either the Terminal or an AppleScript. Both are provided and easy to copy and paste. More …