• 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: Change type/creator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change type/creator


  • Subject: Re: Change type/creator
  • From: Joseph Weaks <email@hidden>
  • Date: Wed, 22 Sep 2004 20:09:13 -0500

On Sep 22, 2004, at 5:33 AM, Michelle Steiner wrote:

On Sep 21, 2004, at 11:30 PM, Bernard Azancot wrote:

I would like to know how to write an applet which first reads type/creator from a first dropped document file and change a second dropped file's one.

The problem is that when you drop more than one file, you have no control over the order they appear in the list, so the script doesn't know which is supposed to be the first and which is supposed to be the second.

While not suitable for public consumption, if you know what you're doing, you could write a droplet that lets you drop each file one at a time.
Flow would be to:


On the first file drop, get the type/creator of the dropped file, and set a flag and record time.

On next drop, flag tells to set the type/creator instead of getting it, unless it has been 2 minutes (or whatever) since the last drop. Switch the flag again.

Rather strange, but it might be what you're looking for, without any dialog interfaces.

Joe Weaks

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Change type/creator
      • From: Roger Howard <email@hidden>
References: 
 >Change type/creator (From: Bernard Azancot <email@hidden>)
 >Re: Change type/creator (From: Michelle Steiner <email@hidden>)
 >Re: Change type/creator (From: "Steven D.Majewski" <email@hidden>)
 >Re: Change type/creator (From: "Steven D.Majewski" <email@hidden>)

  • Prev by Date: Re: Change type/creator
  • Next by Date: Re: Scripting Console
  • Previous by thread: Re: Change type/creator
  • Next by thread: Re: Change type/creator
  • Index(es):
    • Date
    • Thread