• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Comments Field
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Comments Field


  • Subject: Re: Comments Field
  • From: Bryan <email@hidden>
  • Date: Tue, 11 Dec 2001 20:53:52 -0500
  • Organization: Apex Radiology

Robbie,

try the following script:

------------
on run
set the_files to choose file
open (the_files)
end run

on open (the_files)
repeat with i in the_files as list
set des to ""
try
set des to "testing
testing
testing
1
2
3
4"
if length of des is greater than 199 then set des to (characters 1 thru 199 of des) as
string
on error
display dialog "No description for" & i as text
end try
tell application "Finder" to set comment of file i to des
end repeat
end open
-----------------

Bryan Kaufman


You have to use

Robbie Newton wrote:

> How do you set the comments field of a file or folder????
>
> Simple but I still can't seem to find it.
>
> TIA
> -Robbie
> _______________________________________________
> applescript-users mailing list | email@hidden
> Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
> Do not post admin requests to the list. They will be ignored.


References: 
 >Comments Field (From: Robbie Newton <email@hidden>)

  • Prev by Date: Re: Using a variable in a property
  • Next by Date: Re: Using a variable in a property
  • Previous by thread: Re: Comments Field
  • Next by thread: Re: URL Access Scripting
  • Index(es):
    • Date
    • Thread