Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

beige matchbox

macrumors 6502a
Original poster
Mar 16, 2005
521
0
Oxfordshire, UK
Hey guys, I'm trying to make a little automator script that will upload an image and comment file to a little gallery I'm playing with :)


So far my workflow is:

Code:
Copy finder items
    ~/oneperday/uploaded

Scale Images
    To size (pixels) 1280

Upload to FTP


This works a treat, however, the php gallery I'm using wants a txt file with a name containing the file name of the image, eg. image.jpg and image.jpg.txt, As far as I can see there is no way of generating a text file with a name generated from the input file :confused:


I want to end up with something like:

Code:
Copy finder items
    ~/oneperday/uploaded

Scale Images
    To size (pixels) 1280

New Text File

Ask for Text

Get Folder Contents

Upload to FTP

And I'm stuck on the file naming, as New Text File has a specific filename, Rename Finder Items doesn't seem to have anything useful to add :(

Any ideas chaps
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.