Re: Change type/creator
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