Member
2008-10-11, 02:26 PM
Hello,
I like to watch video from youtube using VLC, it's very light in CPU usage, favorites videos can be saved in playlists and I can continue surfing while watching videos with vlc. Very handy.
I wrote this little applescript to add the url to the playlist of vlc from Omniweb for instant or later watching.
Code:
tell application "OmniWeb"
--get the mp4 video url from Omniweb
set current_url to the address of active tab of browser 1
set current_url to current_url & "&fmt=18"
end tell
tell application "VLC"
--add the new url to the library of the playlist in vlc
GetURL current_url
end tell
hope to be understood
Last edited by sangheeta; 2008-10-11 at 02:36 PM..