image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old May 29th, 2002, 10:45 AM
Registered User
 
Join Date: Mar 2001
Location: Groton, CT, USA
Posts: 1,291
Thanks: 0
Thanked 0 Times in 0 Posts
chemistry_geek is on a distinguished road
AppleScript for retrieving URLs from Sherlock hits

I've been wondering for a while now if Sherlock could just dump all the URLs it finds into a text file after I've given the search criteria. Well, I was reading over at http://www.macosxhints.com and found that Apple provides some interesting AppleScripts that can be quite useful. If you go to this path in your computer /Library/Scripts/Sherlock\ Scripts/Search\ Internet.scpt, the script there will dump all the URLs that Sherlock finds into a little window. Just copy and paste the text into a text editor, save and sift through it later if you're pressed for time.

This is too cool. I never really considered looking through the AppleScripts folder because I didn't think there were any scripts there that were applicable for my uses. Now if there was a website that had only AppleScripts for download that were useful.
__________________
Power Mac G5
Dual 2.7 GHz PowerPC G5, 4.5 GB RAM DDR SDRAM, OEM internal SATA 250 GB HD, Hitachi Deskstar internal SATA 500 GB HD, LaCie BigDisk Extreme 500 GB HD, External Pioneer A109 DVD superdrive, External LiteOnLiter CD burner, iSight video camera, 5th generation 60 GB video iPod, 4th generation 40 GB iPod, Apple 23" Cinima Display, KDS Radius 19" LCD Display, Mac OS X 10.4.6.
Reply With Quote
  #2  
Old May 29th, 2002, 11:22 AM
sithious's Avatar
no longer a member
 
Join Date: Apr 2001
Location: macfora.com
Posts: 639
Thanks: 0
Thanked 0 Times in 0 Posts
sithious is on a distinguished road
weird... on my machine library/scripts is empty ...
Reply With Quote
  #3  
Old May 29th, 2002, 11:30 AM
Registered User
 
Join Date: Mar 2001
Location: Groton, CT, USA
Posts: 1,291
Thanks: 0
Thanked 0 Times in 0 Posts
chemistry_geek is on a distinguished road
The path is not the one inside your user folder, it's the path at the level of the computer.

[YOUR COMPUTER HARD DRIVE]/Library/Scripts/Sherlock\ Scripts/Search\ Internet.scpt

For example, mine is:
/Mac\ OS\ X/Library/Scripts/Sherlock\ Scripts/Search\ Internet.scpt
__________________
Power Mac G5
Dual 2.7 GHz PowerPC G5, 4.5 GB RAM DDR SDRAM, OEM internal SATA 250 GB HD, Hitachi Deskstar internal SATA 500 GB HD, LaCie BigDisk Extreme 500 GB HD, External Pioneer A109 DVD superdrive, External LiteOnLiter CD burner, iSight video camera, 5th generation 60 GB video iPod, 4th generation 40 GB iPod, Apple 23" Cinima Display, KDS Radius 19" LCD Display, Mac OS X 10.4.6.

Last edited by chemistry_geek; May 29th, 2002 at 11:36 AM.
Reply With Quote
  #4  
Old May 29th, 2002, 11:35 AM
sithious's Avatar
no longer a member
 
Join Date: Apr 2001
Location: macfora.com
Posts: 639
Thanks: 0
Thanked 0 Times in 0 Posts
sithious is on a distinguished road
Quote:
Originally posted by chemistry_geek
The path is not the one inside your user folder, it's the path at the level of the computer.

[YOUR COMPUTER HARD DRIVE]/Library/Scripts/Sherlock\ Scripts/Search\ Internet.scpt

For example, mine is:
/Mac\ OS\ X/Library/Scripts/Sherlock\ Scripts/Search\ Internet.scpt
yes, i know ...
it's still empty. very strange. do you have the dev tools installed? maybe there's a connection there ... ?
Attached Images
File Type: jpg no scripts here.jpg (56.5 KB, 3 views)
Reply With Quote
  #5  
Old May 29th, 2002, 11:38 AM
Registered User
 
Join Date: Mar 2001
Location: Groton, CT, USA
Posts: 1,291
Thanks: 0
Thanked 0 Times in 0 Posts
chemistry_geek is on a distinguished road
I did install the dev tools a long time ago, so they are not the current dev tools. I have them downloaded, just not installed yet.
Attached Images
File Type: jpg sherlock_script_path.jpg (67.8 KB, 5 views)
__________________
Power Mac G5
Dual 2.7 GHz PowerPC G5, 4.5 GB RAM DDR SDRAM, OEM internal SATA 250 GB HD, Hitachi Deskstar internal SATA 500 GB HD, LaCie BigDisk Extreme 500 GB HD, External Pioneer A109 DVD superdrive, External LiteOnLiter CD burner, iSight video camera, 5th generation 60 GB video iPod, 4th generation 40 GB iPod, Apple 23" Cinima Display, KDS Radius 19" LCD Display, Mac OS X 10.4.6.
Reply With Quote
  #6  
Old May 29th, 2002, 11:49 AM
Registered User
 
Join Date: Mar 2001
Location: Groton, CT, USA
Posts: 1,291
Thanks: 0
Thanked 0 Times in 0 Posts
chemistry_geek is on a distinguished road
Here's the script:
Attached Files
File Type: zip search_internet.scpt.zip (2.0 KB, 1 views)
__________________
Power Mac G5
Dual 2.7 GHz PowerPC G5, 4.5 GB RAM DDR SDRAM, OEM internal SATA 250 GB HD, Hitachi Deskstar internal SATA 500 GB HD, LaCie BigDisk Extreme 500 GB HD, External Pioneer A109 DVD superdrive, External LiteOnLiter CD burner, iSight video camera, 5th generation 60 GB video iPod, 4th generation 40 GB iPod, Apple 23" Cinima Display, KDS Radius 19" LCD Display, Mac OS X 10.4.6.
Reply With Quote
  #7  
Old May 29th, 2002, 11:55 AM
sithious's Avatar
no longer a member
 
Join Date: Apr 2001
Location: macfora.com
Posts: 639
Thanks: 0
Thanked 0 Times in 0 Posts
sithious is on a distinguished road
thanks!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 03:08 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.