Poster | Thread |
Mobileconnect
|  |
Folder Actions Posted on 23-Aug-2006 20:31:27
| | [ #1 ] |
|
|
 |
Cult Member  |
Joined: 13-Jun-2003 Posts: 516
From: Unknown | | |
|
| Idea of the day: On Mac OS X, there's a recently added feature (new in Tiger I think) called Folder Actions, which lets you assign an AppleScript to be whenever something in the folder changes.
Wouldn't it be cool to have the same thing in Workbench? everytime a dir contents changes, an ARexx script is run? Does anyone know of any apps that do that already? _________________
|
|
Status: Offline |
|
|
nzv58l
|  |
Re: Folder Actions Posted on 23-Aug-2006 20:39:17
| | [ #2 ] |
|
|
 |
Super Member  |
Joined: 7-Oct-2003 Posts: 1640
From: Michigan | | |
|
| @Mobileconnect
Sounds like it would be good for writing viruses with. How is this feature used on the Mac? |
|
Status: Offline |
|
|
Chris_Y
|  |
Re: Folder Actions Posted on 23-Aug-2006 21:07:59
| | [ #3 ] |
|
|
 |
Elite Member  |
Joined: 21-Jun-2003 Posts: 3205
From: Beds, UK | | |
|
| @Mobileconnect
This should be easy to do with AmigaDOS notification and a bit of glue to run the desired AmigaDOS/ARexx script.
Somebody who isn't about to go to bed could probably knock it up in less than half an hour.
Chris
_________________ "Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion Avatar is Tabitha by Eric W Schwartz |
|
Status: Offline |
|
|
Rob
 |  |
Re: Folder Actions Posted on 23-Aug-2006 21:22:44
| | [ #4 ] |
|
|
 |
Elite Member  |
Joined: 20-Mar-2003 Posts: 6416
From: S.Wales | | |
|
| @Mobileconnect
What actual benefit does it bring to the operating system? Chris_Y (Oops it was nzv58l I should look next time) aleady pointed out a negative side which suggests to me it to be a feature I'd rather do without.
Last edited by Rob on 23-Aug-2006 at 09:45 PM.
|
|
Status: Offline |
|
|
Mobileconnect
|  |
Re: Folder Actions Posted on 24-Aug-2006 6:42:20
| | [ #5 ] |
|
|
 |
Cult Member  |
Joined: 13-Jun-2003 Posts: 516
From: Unknown | | |
|
| Erm, no. If you think this could make viruses, then you've not understood at all.
_________________
|
|
Status: Offline |
|
|
cHaOs667
|  |
Re: Folder Actions Posted on 24-Aug-2006 7:24:00
| | [ #6 ] |
|
|
 |
Cult Member  |
Joined: 12-Nov-2004 Posts: 706
From: Bad Homburg v.d.H., Germany | | |
|
| |
Status: Offline |
|
|
elwood
|  |
Re: Folder Actions Posted on 24-Aug-2006 7:44:45
| | [ #7 ] |
|
|
 |
Elite Member  |
Joined: 17-Sep-2003 Posts: 3428
From: Lyon, France | | |
|
| @cHaOs667
Yes, or imagine you did such script and ... 2 years later you don't remember it (of course) so you wonder what happens to the file you copy in this folder. This can be a nightmare  _________________ Philippe 'Elwood' Ferrucci Sam460 1.10 Ghz AmigaOS 4 betatester Amiga Translator Organisation |
|
Status: Offline |
|
|
cHaOs667
|  |
Re: Folder Actions Posted on 24-Aug-2006 8:03:41
| | [ #8 ] |
|
|
 |
Cult Member  |
Joined: 12-Nov-2004 Posts: 706
From: Bad Homburg v.d.H., Germany | | |
|
| @elwood
Hehe, it would be very interresting to know an useful situation for such an feature...
edit2: Holy Crap! Apple has an 'automated backup' script for Folder Actions... *rofl*
delete the file -> delete the backup file  edit the file -> edit the backup file *rofl* Last edited by cHaOs667 on 24-Aug-2006 at 08:06 AM. Last edited by cHaOs667 on 24-Aug-2006 at 08:04 AM.
_________________ Ei gude wie! I love my AMIGA Collection...  2x A500 (1x 1MB) OS1.3 1x A600 (40MB HDD) OS2.05 (broken joyport)  1x A1200 (68030/50, 32 MB Fast RAM) OS3.1 1x A4000D 040/40 (48 MB Fast), OS3.9, Fastlane Z3, CV64, Deneb, Indi AGA 1x CD³² 1x µAOn |
|
Status: Offline |
|
|
jkirk
|  |
Re: Folder Actions Posted on 24-Aug-2006 10:42:53
| | [ #9 ] |
|
|
 |
Elite Member  |
Joined: 28-Jan-2005 Posts: 3349
From: Georgia (usa) | | |
|
| @cHaOs667
you can have it autogenerate an html file for your folder if you run a server. you can have it notify you that a file has been added/removed/changed you can set it to backup to lha on change in the env-arc you can set it to backup settings to an compressed or encrypted file you can set it to add default icons to all files that one don't exist.
you are only limited by your imagination _________________ Win•dows: n. A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition. |
|
Status: Offline |
|
|
tonyw
 |  |
Re: Folder Actions Posted on 24-Aug-2006 10:48:36
| | [ #10 ] |
|
|
 |
Elite Member  |
Joined: 8-Mar-2003 Posts: 3240
From: Sydney (of course) | | |
|
| Ah, I can just hear my Amy talking to me in her quiet, sexy voice:
"Tony, where have you been? My spam folder has been partly filled again. Would you like to (snigger) look inside? Or why don't you just sit back and relax (long breathy sigh) and let me look after it for you?"
_________________ cheers tony
Hyperion Support Forum: http://forum.hyperion-entertainment.biz/index.php |
|
Status: Offline |
|
|
cHaOs667
|  |
Re: Folder Actions Posted on 24-Aug-2006 10:53:56
| | [ #11 ] |
|
|
 |
Cult Member  |
Joined: 12-Nov-2004 Posts: 706
From: Bad Homburg v.d.H., Germany | | |
|
| |
Status: Offline |
|
|
jkirk
|  |
Re: Folder Actions Posted on 24-Aug-2006 12:20:46
| | [ #12 ] |
|
|
 |
Elite Member  |
Joined: 28-Jan-2005 Posts: 3349
From: Georgia (usa) | | |
|
| @cHaOs667
Quote:
Yeah great. I change/save an Document in that folder and got an message that there has been added/changed an file... great |
you say that now but if someone created a virus changing random files to 0 bytes and you have this running you might have a chance to stop it.
Quote:
That is an very stupid scenario. As example: You had an Image file and you edit it with the gimp. After you had changed the image 10-20 times you think that the original image would be the best and that youre lucky that you had an backup of that image.... great, an 10-20 times changed backup |
who says it has to be handled like that? suppose you linked it to a backup folder. then you drag&drop to back it up. or a better idea don't save gimp pics to that folder until you are finished.
Quote:
For this i don't need Folder Actions. AmigaOS is doing this automaticaly... |
so amiga os has started linking actual info files for modification and not just default icons that are non editable/non snapshottable.
Quote:
For what? To store my password? In this case for what i should have an password if it is somewhere readable... |
for compression not security tho if you burn it to cd nobody can open it without your password._________________ Win•dows: n. A thirty-two bit extension and graphical shell to a sixteen-bit patch to an eight-bit operating system originally coded for a four-bit microprocessor which was written by a two-bit company that can't stand one bit of competition. |
|
Status: Offline |
|
|
fricopal!
|  |
Re: Folder Actions Posted on 20-Mar-2025 2:45:47
| | [ #13 ] |
|
|
 |
Cult Member  |
Joined: 12-Mar-2025 Posts: 799
From: Unknown | | |
|
| Quote:
by elwood on 24-Aug-2006 7:44:45
@cHaOs667
Yes, or imagine you did such script and ... 2 years later you don't remember it (of course) so you wonder what happens to the file you copy in this folder. This can be a nightmare |
It highlights potential risks of data loss without proper backups. A backup strategy is essential for preserving important files over time. |
|
Status: Offline |
|
|