Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 17, 2006, 05:33 AM   #1
WaRrK
macrumors newbie
 
Join Date: Aug 2004
Location: Sheffield, UK
Send a message via AIM to WaRrK
Accessing current directory in Automator

Hi,

I'm convinced this should be really easy, but for the life of me I can't figure out how to do it!

I'm wanting to write an Automator action that takes the selected images in finder and then generates thumbnails of them (with the thumbnails having the same names as the full size images) into a newly created sub-folder.

The difficulty I'm coming up against is being able to create the new folder in the current directory - the "where" attribute wants me to hard code a path, where I really want it to just be in the same directory as the images (or "." for Unix folks!)

Thanks in advance,
Ash
WaRrK is offline   0 Reply With Quote
Old Apr 17, 2006, 05:47 AM   #2
Mitthrawnuruodo
Moderator
 
Mitthrawnuruodo's Avatar
 
Join Date: Mar 2004
Location: Bergen, Norway
I think you need to just make the new folder somewhere easily accessible, like the Desktop, and then move it to wherever you want it afterwords, unless you want to do some scripting (AppleScript or shell)... Automator is for ease of use, not always the power you need or want. It's a fair trade off, IMO...
__________________
Those who fail to learn history are doomed to repeat it; those who fail to learn history correctly... why, they are simply doomed.
Mitthrawnuruodo is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
copy a directory using bash - how to do it? error: is a directory (not copied). cupboy1 OS X 10.8 Mountain Lion 0 Mar 23, 2014 09:50 PM
General: TimePasscode - A tweak that sets the current passcode to the current device's time Maverick1337 Jailbreaks and iOS Hacks 0 Feb 1, 2014 10:23 AM
current model iMac (SSD), stalls when accessing usb time machine Shivetya iMac 1 Jan 21, 2014 08:01 AM
Using Automator to play audio file from within Automator made application? nobodyhome OS X 10.8 Mountain Lion 0 Jan 14, 2014 03:23 PM
Server crashes when accessing SUS directory jbaileypro Mac OS X Server, Xserve, and Networking 1 Jan 12, 2013 02:17 PM

Forum Jump

All times are GMT -5. The time now is 09:34 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC