You almost stated it yourself:

tell application "Finder"
  reveal <pathToFileOrFolder>
end tell

Since AppleScript wants colon-delimited paths, you can call on a useful
set of handlers from Rev that's in the Common Library:

  put revMacFromUnixPath(<unixPath>) into myPath

Hope this helps,

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/ 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Stephen Quinn Barncard
> Sent: Wednesday, September 10, 2003 2:14 AM
> To: [EMAIL PROTECTED]
> Subject: reveal file/folder in Finder
> 
> 
> Does anyone have the recipe for 'revealing' a folder in the Finder 
> (OSX) from a Rev script? This used to be a snap in Apple Events. I 
> can't find the syntax anywhere....
> 
> thanks
> 
> stephen barncard _______________________________________________
> use-revolution mailing list
> [EMAIL PROTECTED] 
> http://lists.runrev.com/mailman/listinfo/use-> revolution
> 


_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to