On Tue, 06 Feb 2007 13:55:22 -1000, Sivakatirswami wrote:

> in theory I should be able to dig the name of the machine with a POSIX
> conversion like this:
> where Rev is passing "/Users/katir/Desktop/someFooPhoto.jpg"  to the script
> 
> tell application "Finder:
> set tPath to "/Users/katir/Desktop/someFooPhoto.jpg"
> set tImagePath to POSIX file tPath
>   #should return according to discussions on lists on the net:
> file --> ""Macintosh HD:Users:katir:Desktop:someFooPhoto.jpg"
> 
> But I'm still getting an error msg,
> 
> "Finder got an error: Can't get POSIX file
>  "/Users/katir/ RevData/ApplicationGraphics/test/IMG_6890.jpg"

Try doing:

  set tImagePath to POSIX file tPath as string

HTH,

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to