File's comments on Mac

Ken Ray kray at sonsothunder.com
Fri Mar 28 02:27:16 EST 2003


Brilliant, Sarah... I should have thought of AppleScript... :-)

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 

> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com 
> [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Sarah
> Sent: Thursday, March 27, 2003 7:50 PM
> To: use-revolution at lists.runrev.com
> Subject: Re: File's comments on Mac
> 
> 
> Here is an AppleScript that asks you to choose a file and 
> tells you the 
> comment attached.
> You can use this from with a Revolution script and have it return the 
> comment which you can then read as "the result".
> 
> tell application "Finder"
> 	set tFile to choose file
> 	set tComments to the comment of tFile
> 	
> 	display dialog tComments
> end tell
> 
> Cheers,
> Sarah
> sarahr at genesearch.com.au
> http://www.troz.net/Rev/
> 
> On Friday, March 28, 2003, at 01:14  am, rom1 wrote:
> 
> > Hello, i'm working on an on-screen portfolio. I'd like to 
> get the text
> > from
> > that comments-field in the info window.
> > Anyone here knows how to do it ?
> >
> > Romain
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com 
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> >
> >
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com 
> http://lists.runrev.com/mailman/listinfo/use-> revolution
> 




More information about the use-livecode mailing list