Re: Folder Action Vs Finder
Re: Folder Action Vs Finder
- Subject: Re: Folder Action Vs Finder
- From: bill fancher <email@hidden>
- Date: Wed, 11 Sep 2002 22:04:11 -0700
Did the test. (Used the Apple supplied "add - new item alert" script,
making it even easier than I'd anticipated.) Result: Adding a file with
a duplicate name brings up the finder Replace dialog. The folder action
is not executed.
Perhaps there should be a "changing items in..." event.
HTH,
--
bill
On Wednesday, September 11, 2002, at 02:59 PM, Marconi wrote:
At 12:40 PM -0700 09/11/2002, bill fancher wrote:
On Wednesday, September 11, 2002, at 12:17 PM, Marconi wrote:
Question regarding Folder actions and Finder...
If I drop a file named test.html onto a folder and that folder
already has a "test.htmL" in it, will the Folder Action attached to
that folder ever get a chance to see the dropped file? Or will the
Finder pop up its "File already exists" alert?
Why don't you just TRY it? Nothing like a little empirical
investigation.
That was, of course my first thought. Then I looked at all I had to do
today and decided to ask on the list because the first step in trying
it is to write a folder action script that renames files... And I
haven't done that for a few years now Since OS 9.x, when folder
actions were supported. I'd have to figure out all over again the
correct framework for a folder action script, plug in some renaming
code and such, which may be a two-minute job for AS gurus, but not for
yours truly. I use AS on an ad-hoc basis. I get interested in it when
I think it can do me some good, and I ignore it other times, as long
as it's working.
Basically, I'm trying to avoid spending a lot of time on something
that any number of people on the AS list can tell me "Any fool knows
THAT will never work!"
It's usually faster than waiting for a reply in the mail.
But waiting for a reply is not all I have to do. I had a contract
meeting with an ISP, I went to the post office, I installed a Motorola
Canopy Subscriber Module on the mast up on my roof, and now I think
I'll stop for breakfast, since I haven't eaten yet today.
Testing it probably wouldn't have taken longer than writing the
message in the first place. You would have had a definitive answer
and some experience with folder action scripts as a bonus. Why take
someone's word for it when you can find the TRUTH yourself? (I'm not
holding out on you, I don't know the answer myself.)
I simply had an idea for something that could make my life easier and
wondered "out loud" on the list whether it could work. If so, I'll
invest the time to do it.
I'm not lazy or unimaginative, I'm just busy, really busy. And nowhere
near as AS savvy as lots of people on the AS list.
_______________________________________________
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.
_______________________________________________
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.