Re: Easy for someone
Re: Easy for someone
- Subject: Re: Easy for someone
- From: Michelle Steiner <email@hidden>
- Date: Thu, 27 Mar 2003 16:19:35 -0700
On Thursday, March 27, 2003, at 03:26 PM, Dave Jackson wrote:
Is it possible to just send the document's from this
"Hot Folder" to the printer this way. Without
launching Acrobat and the document each time?
this should work (OS X).
on adding folder items to thisFolder after receiving thefiles
repeat with thisfile in thefiles
my printFile(thisfile)
end repeat
end adding folder items to
to printFile(foo)
tell application "Print Center"
open foo
end tell
end printFile
I couldn't test it because I wasn't able to attach the script to the
folder. So, what's wrong with the following?
tell application "System Events"
attach action to alias "Dora:Users:michelle:Desktop:monitor:" using
[option-L]
alias "Dora:Users:michelle:Desktop:printfiles.scpt"
end tell
--Michelle
--
Support our troops. Bring them home NOW!
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.