PDA

View Full Version : Looking for someone to create an Applescript or Automator script




colinpritchard
Oct 29, 2009, 12:21 PM
Hi,

I am hoping to find someone that can help me with an Applescript or Automator script. It is a simple script I believe, but I cannot figure it out. I am happy to pay for someone to create the script, but I have no idea where to find someone who can do this. If any one here is interested, please email me or message me.

Thanks,
Colin



Gav2k
Oct 29, 2009, 12:23 PM
What is it you want it to do?

colinpritchard
Oct 29, 2009, 01:36 PM
Pretty simple I think.... I want it to do the following:
- Allows me to choose an existing Finder location or create a folder in a Finder location that I choose
- Create 3 pre-named folders in the location I chose or created - Drafts, Final, and Original

...and that's it. I used to have an applescript that created the folders, but I lost it. Plus it never worked exactly as I wanted it to. So, I'm hoping I can pay someone to make a new one and make it right.

Thanks,
Colin

mysterytramp
Oct 29, 2009, 09:24 PM
set theTarget to choose folder with prompt "Where do you want your folders?"

tell application "Finder"
activate
make new folder at theTarget with properties {name:"untitled folder"}
set name of folder "untitled folder" of theTarget to "Draft"
make new folder at theTarget with properties {name:"untitled folder"}
set name of folder "untitled folder" of theTarget to "Final"
make new folder at theTarget with properties {name:"untitled folder"}
set name of folder "untitled folder" of theTarget to "Original"
end tell


I'll send you my bill.

mt

chown33
Oct 30, 2009, 01:33 AM
tell application "Finder"
activate
make new folder at theTarget with properties {name:"Draft"}
make new folder at theTarget with properties {name:"Final"}
make new folder at theTarget with properties {name:"Original"}
end tell


No charge for the optimizations.

mysterytramp
Oct 30, 2009, 06:02 AM
One of the things I should have pointed out in my script -- not that I'm going to excuse the fact that I should have seen the optimizations that chown33 provided (really stupid on my part) -- is that the Finder is recordable.

The point to my script was that I just hit the Record button and voila.

Chances are anyone can get about 75 percent of what they need out of AppleScript and the Finder by just trying to record first. Unfortunately, recordability doesn't appear to be as important as it once was. Shame.

mt

colinpritchard
Oct 31, 2009, 08:31 AM
Thanks mysterytramp and chown33! I can remember trying the record option in both Applescript and Automator, but I could not get it right. Guess I need to do some reading up on them.:rolleyes:

Tried out the script and it works great. Thanks again for all your help!:)