Your best friend for file transfer.Fetch
Using fetch and applescript to download a selection of files in a remote directory (3 posts)
- Started 9 months ago by Greg M
- Latest reply 9 months ago from Greg M
Greg M Member
Good afternoon. I'm trying to put together an Apple Script that creates a time lapse video of weather from my backyard camera, and I'm trying to do this by doing the following:
1. Downloading the images from a remote directory to a folder on my hard drive.
2. Importing those files from the folder into iPhoto.
3. Exporting the files to a QuickTime movie.
4. Importing the QuickTime movie into iMovie
I pretty much have steps 2, 3, and 4. I have had a bit of trouble putting together the script for the first step. I'm trying to use applescript to get Fetch to download a select group of pictures from a remote directory. I'm trying to emulate the drag and drop of files that I normally do to download the pictures into a folder on my local hard drive. I have other picture files in this folder, and I want to make sure that I'm selecting the right photos. Any ideas? I've tried using the send command feature as well as a repeat until loop with the fetch alias command, but neither have worked.
Thanks in advance for your help.
Jim Matthews Administrator
The first thing I'd try is pressing the Record button in AppleScript Editor and then dragging the files manually. That will record the AppleScript statements corresponding to the action you just took. You should be able to tweak those statements to get what you want.
If you run into trouble please let me know; AppleScript is very finicky.
Greg M Member
Thanks for your quick reply. I'll try that out, and see how that goes. Thanks again.
- Page 1