File actions question?

General support questions.
Posts: 24
Joined: Sat Sep 08, 2007 3:06 am
PostPosted: Tue Sep 18, 2007 4:17 am
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???
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Tue Sep 18, 2007 5:56 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
PostPosted: Tue Sep 18, 2007 10:15 am
man....
Posts: 160
Joined: Sat Nov 29, 2003 12:26 pm
Location: Columbus, OH
PostPosted: Fri Oct 26, 2007 3:32 pm
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...
Court Bowman, President
Cleveland Consulting, Inc.

http://www.clevelandconsulting.com/
Posts: 49
Joined: Wed Apr 28, 2004 11:31 pm
PostPosted: Tue Oct 30, 2007 3:12 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
----------------------
Tim Anderson Group
Scotland

http://www.timanderson.co.uk
Posts: 24
Joined: Sat Sep 08, 2007 3:06 am
PostPosted: Wed Oct 31, 2007 6:08 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
PostPosted: Wed Oct 31, 2007 6:42 am
What errors are you getting? Have you managed to attach the script to your folder? [/img]
----------------------
Tim Anderson Group
Scotland

http://www.timanderson.co.uk
Posts: 24
Joined: Sat Sep 08, 2007 3:06 am
PostPosted: Wed Oct 31, 2007 7:10 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
PostPosted: Wed Oct 31, 2007 7:41 am
Ok, screen shots from Automator for you at the link below

http://homepage.mac.com/tima1/[/img]
----------------------
Tim Anderson Group
Scotland

http://www.timanderson.co.uk
Posts: 49
Joined: Wed Apr 28, 2004 11:31 pm
PostPosted: Wed Oct 31, 2007 7:42 am
Oops, try that url again

http://homepage.mac.com/tima1/
----------------------
Tim Anderson Group
Scotland

http://www.timanderson.co.uk
Posts: 24
Joined: Sat Sep 08, 2007 3:06 am
PostPosted: Wed Oct 31, 2007 7:44 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
PostPosted: Wed Oct 31, 2007 8:29 am
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.
----------------------
Tim Anderson Group
Scotland

http://www.timanderson.co.uk
Posts: 160
Joined: Sat Nov 29, 2003 12:26 pm
Location: Columbus, OH
PostPosted: Wed Nov 07, 2007 9:07 am
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.
Court Bowman, President
Cleveland Consulting, Inc.

http://www.clevelandconsulting.com/

Return to General Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron
(855) SEEDCODE
[email protected]
Follow us: