Re: Re: comparing and updating lists
Re: Re: comparing and updating lists
- Subject: Re: Re: comparing and updating lists
- From: email@hidden
- Date: Wed, 22 Jan 2003 09:29:44 -0500
|i have got OS9 at my work so the folder would have to be open.
NOT ANY MORE!! :-) I used to have this same problem until I found
"Folder Actions Plus" System Extension. If you have to have folder
actions running in MacOS9, "Folder Actions Plus" will activate folder
actions even when the folder is closed. You can get "Folder Actions Plus"
here:
http://macscripter.net/tools.html#t9 You may have to take this
into ResEdit and assign it more memory.
Regards,
Cassj
Bis <email@hidden>
Sent by: email@hidden
01/22/03 06:56 AM
To: email@hidden
cc: email@hidden
Subject: Re: Re: comparing and updating lists
thanks chris.
i have now got a script going to copy newly added files thanks to the
people on this list. my next step is to try and activate the script
using a time scheduling application like "T-Minus Ten" and seeing if
i can get the script to check folders on the network for new files
which have come in and copy them to a folder on my hard drive.
i have got OS9 at my work so the folder would have to be open. i
don't quite understand how the folder action would work though in
terms of what i want to do which is:
a) to mount shared disks on the network on to my desktop
b) periodically (say twice a day) check certain folders on the shared
disks for newly added files
c) copy the newly added files to a folder on my desktop and
d) do various kinds of processing on the files
still i will definitely pursue the folder actions line of inquiry
further if my present course of action turns out to be a dead end.
thanks again
bis
>
On Tuesday, January 21, 2003, at 06:33 AM, Bis wrote:
>
>
>a newbie query about lists:
>
>
>
>If I have two lists
>
>
>
>list1 {"1","2","3"}
>
>list2 {"1", "2", "3", "4"}
>
>
>
>what i want to do is:
>
>1) loop through both lists
>
>2) get a list of those items which are in list2 but not in list1
>
>3) copy the missing items from list2 to list1
>
>
>
>What I eventually want to do is to have a script which checks a
>
>folder (list2) periodically for newly added files (like "4") and
>
>copies any newly added files to another folder (list1).
>
>
While it's certainly possible to do this yourself, it's also one of
>
the things Folder Actions was designed for. Just attach a script
>
with an "on items added" handler to the appropriate folder, and it
>
will get called with the appropriate items. If you're using Mac OS
>
X 10.2, the easiest way to do this is to install Script Menu and
>
then use the Folder Action commands.
>
>
(Now the fine print: Folder Actions don't exist on 10.0 and 10.1.
>
In Mac OS 9, they only work if the folder's window is open.)
>
>
>
--Chris Nebel
>
AppleScript Engineering
--
_______________________________________________
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.