Hi,
I need a file to open automaically when the folder is opened.
Eg: a folder has 3 files a b c ni it but when it opens i want b to open automatically. i know it has to be done with folder actions but i dont kniw any scripts???
File actions question?
13 posts
• Page 1 of 1
Posts: 24
Joined: Sat Sep 08, 2007 3:06 am |
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Hopefully someone else can chime in here: folder actions and AppleScript just aren't my thing.
John Sindelar
SeedCode |
Posts: 24
Joined: Sat Sep 08, 2007 3:06 am |
man....
|
Posts: 160
Joined: Sat Nov 29, 2003 12:26 pm Location: Columbus, OH |
This sounded like an interesting problem.
Did you ever find a good way to do this? Let us know if you came up with any solutions... |
Posts: 49
Joined: Wed Apr 28, 2004 11:31 pm |
This might get you part way, I have tried and although Folder Actions (according to the Help) are supposed to act when you open a folder, I can't get it to do that. Works when moving folder or adding to it (OSX 10.4.10)
4 Automator Script steps 1. Get Specified Finder Items - select your folder 2. Get Folder Contents 3. Filter Finder Items - Set your criteria eg Name begins with 4. Open Finder Items Then Save As Plug-in, Plug-in for Folder Action and select your folder. If you find out how to trigger on open post it here for us all. Good luck! Tim |
Posts: 24
Joined: Sat Sep 08, 2007 3:06 am |
thanks for the idea but i guess i dont i dont know how to implement it for my folder, i get errors.
|
Posts: 49
Joined: Wed Apr 28, 2004 11:31 pm |
What errors are you getting? Have you managed to attach the script to your folder? [/img]
|
Posts: 24
Joined: Sat Sep 08, 2007 3:06 am |
well am i supposed to place them in workfloes or script editor??
Could you please rewrite the code using a folder called 1 and opening the file a please?? Thanks a lot |
Posts: 49
Joined: Wed Apr 28, 2004 11:31 pm |
|
Posts: 49
Joined: Wed Apr 28, 2004 11:31 pm |
|
Posts: 24
Joined: Sat Sep 08, 2007 3:06 am |
Thanks a bunch...ill see if i can see why it doesnt work the other way and inform you
|
Posts: 49
Joined: Wed Apr 28, 2004 11:31 pm |
Have also put up the Automator workflow for you - you'll obviously need to remove the folder in the first step and add your own folder - if you are not familiar with Automator just use the + and - in the bottom left of the step.
|
Posts: 160
Joined: Sat Nov 29, 2003 12:26 pm Location: Columbus, OH |
Tim,
I just wanted to add a thanks for doing this. Automator is often overlooked since it is not cross platform, but you can do some powerful things with it. |
13 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests