Re: Timer
Re: Timer
- Subject: Re: Timer
- From: "Bob.Kalbaugh" <email@hidden>
- Date: Tue, 02 Oct 2001 10:29:45 -0500
Hello James,
If a folder action script - which only triggers events when the folder is
open - is not the solution you had in mind, may I direct your attention to
the More Automated Tasks folder within the Applescript folder (Installed by
default, I think.) In there you will find an script titled "Alert When
Folder Changes". You might want to check it out and modify it to your
address your needs. IE: substitute or add an run script command.
Of course I need to mention that I'm running MAC OS 8.5.1, AS v1.3.4 and
have no idea if the above statements hold true for newer system versions.
Also, since I have never really used the script, I can't report on it's
performance, but upon quick inspection, it looks like a possible solution.
Happy scripting,
_bob.kalbaugh
10/2/01 8:22 AM, Marc K. Myers at email@hidden wrote:
>
Subject: Re: Timer
>
Date: Tue, 02 Oct 2001 08:42:46 +0100
>
From: James Rothschild <email@hidden>
>
To: <email@hidden>
>
>
> Hi Marc,
>
>
>
> I want the 'timer' to action a script at certain intervals.
>
>
>
> Ideally I want a 'timer' that looks at a folder and then actions a script
>
> when the folder contents change.
>
>
>
> Thank you.
>
>
>
> on 1/10/01 10:57 PM, Marc K. Myers at email@hidden wrote:
>
>
>
>>> Date: Sun, 30 Sep 2001 14:23:03 +0100
>
>>> Subject: Timer
>
>>> From: James Rothschild <email@hidden>
>
>>> To: <email@hidden>
>
>>>
>
>>> Hi,
>
>>>
>
>>> Does anyone know where I can get a timer script please.
>
>>>
>
>>> Thanks.
>
>>
>
>> Could you be a little more specific about what you want to do? I can
>
>> think of about a dozen different things that could be called a "timer
>
>> script".
>
>>
>
>> Marc K. Myers <email@hidden>
>
>> http://AppleScriptsToGo.com
>
>> 4020 W.220th St.
>
>> Fairview Park, OH 44126
>
>> (440) 331-1074
>
>
It sounds like what you need is a folder action script. A folder action
>
script can be aware of anything added to or removed from an open folder.
>
It can also be aware of an attempt to close the folder and reopen it
>
immediately. You can find out about folder actions by looking at the
>
folder actions suite in the dictionary of the Standard Additions
>
scripting addition.
>
>
Marc K. Myers <email@hidden>
>
http://AppleScriptsToGo.com
>
4020 W.220th St.
>
Fairview Park, OH 44126
>
(440) 331-1074
>
>
[10/2/01 9:21:46 AM]
References: | |
| >Re: Timer (From: "Marc K. Myers" <email@hidden>) |