Hello. I have been looking for information on this, and have found some examples but I cannot seem to get this to work.
The script will work with folders so that when a file is placed in the folder it is sent along to another set of folders, etc…
I want to create a script that will send any PDF file placed in a folder on my Desktop to an “In Folder” on a server for processing. Then after when the file is processed and placed in the “Out Folder” a script can either send it along from the Out folder to another folder for a different process or back to my desktop.
We use Distiller, Pitstop Server, and Photoshop for certain proceses. I have tried some basic move scripts but all I get is “Access Not Allowed”
Any help with this would be appreciated.
Thanks
Biff
Model: G5 Tower
AppleScript: 2.0
Browser: Safari 125.8
Operating System: Mac OS X (10.4)
Can you tell us what command is giving you the error?
Sorry about that. What I have so far is a small script
tell application “Finder”
move every item of “Jobs In Progress” of folder “Desktop” of folder “hmcouser” of folder “Users” of startup disk
end tell
I figure if I can get this to work I can modify it to be a Folder action script. Can that be done? I just need a script that will attach to certain folder and forward on files.
Biff
move needs to know what you’re moving and where you want it.
like…
move x to y
This is what I have so far:
on adding folder items to alias “PDF to jpg Crop: Desktop folder: hmcouser: Users of startup disk”
after receiving these_items
tell application “Finder”
move these_items to folder “Desktop” of disk “Pitstop2 Hotfolders” of startup disk
end tell
end adding folder items to
It says “Expected End of Line but Found Identifier”
What should I put for “these_items”? .pdf? .jpg? Or do I need to: Set these_items to __________?
Biff
These_items is a list, but the move command expects a file, so you have to iterate through them. There’s a recent example from the BBS here…
http://bbs.applescript.net/viewtopic.php?id=14372
That should do it.