• 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: Bert Knabe <email@hidden>
  • Date: Fri, 16 Oct 2009 15:00:04 -0500
  • Thread-topic: Folder action to change file type

I can't get it to work. I found an OS X droplet that I was able to modify so
that it changes the file type (still in OS X), but I can't get it to work as
a folder action. I'm sure it has a lot of unnecessary commands, too. About
70 lines worth.


On 10/16/09 12:02 PM, "Stockly, Ed" <email@hidden> wrote:

> 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
>

Bert Knabe
Technician
Lubbock Avalanche-Journal
806-766-2158


 _______________________________________________
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: "Stockly, Ed" <email@hidden>
    • Re: Folder action to change file type
      • From: Doug McNutt <email@hidden>
References: 
 >Re: Folder action to change file type (From: "Stockly, Ed" <email@hidden>)

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