• 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: Folder action to change file type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Folder action to change file type


  • Subject: Re: Folder action to change file type
  • From: "Stockly, Ed" <email@hidden>
  • Date: Fri, 16 Oct 2009 10:02:08 -0700
  • Thread-topic: Folder action to change file type

These commands aren't needed in your script...

set fold_name to the name of this_folder
set new_item to item i of added_items
set the item_path to the quoted form of the POSIX path of
new_item


Try something like this:
(UNTESTED)

set new_item to item i of added_items as alias
set file type of new_item to "EPSF"
set creator  of new_item to "crtr"

--And, inside the repeatloop, which is still inside the finder tell

Update new_item
Display dialog file type of new_item & " " creator of new_Item giving up
after 5

That will tell you if the command worked or not.


If that doesn't work, I can test on OS 9 this afternoon.


Tell





On 10/16/09 8:56 AM, "Bert Knabe"  wrote:

>                 set the item_path to the quoted form of the POSIX path of
> new_item

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Folder action to change file type
      • From: Bert Knabe <email@hidden>
References: 
 >Folder action to change file type (From: Bert Knabe <email@hidden>)

  • Prev by Date: Re: Mount volume
  • Next by Date: Re: Mount volume
  • Previous by thread: Folder action to change file type
  • Next by thread: Re: Folder action to change file type
  • Index(es):
    • Date
    • Thread