|
|
Fix for omniweb
This hint doesn't work for omniweb since the OpenURL command is not part of its Applescript suite; however, changing OpenURL to GetURL fixes it:
#!/usr/bin/perl -w $browser = "Omniweb"; print "Search string: "; $keyword = ; chomp($keyword); $url = "http://www.macosxhints.com/search.php?query=".$keyword."&mode=search&datestart=0&dateend=0&topic=0&type=stories&author=0"; $todo = "'Tell application "$browser" to GetURL "$url"'"; system("osascript -l AppleScript -e $todo");
Backslashes...
Check the original code for the proper formatting of the line with backslashes; Geeklog ate the ones in the original comment (argh ... I really want the new engine!!)
Fix for omniweb
Not to nitpick, but this can be done easily in the "Shortcut Preferences" pane in OmniWeb. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.07 seconds |
|