• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: script that print files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: script that print files


  • Subject: Re: script that print files
  • From: yvan-koenig <email@hidden>
  • Date: Wed, 2 Feb 2005 10:11:20 +0100


Le 31 janv. 2005 , à 18:00, Christian Vinaa a écrit :

the following script works ok  but I was thinking

is it ok to use   PRINT commmand from FINDER

when in fact all files are apple works files

on run
with timeout of 3600 seconds
tell application "Finder"
set theList to every item in folder "Print Original" of folder "Desk Top Folders"
if number of items in theList = 0 then
say "No letters in print original"
else
repeat with x in theList
print x
delete x
delay 2
end repeat
say "Print original now empty"
end if
end tell
end timeout
end run


should I make

**
repeat with x in theList
tell application "Apple Works 6"
print x
delete x
delay 2
end tell
end repeat
**


set theList to {"Macintosh HD:Users:yvankoenig:Desktop:AW1.cwk"}


repeat with x in theList tell application "AppleWorks 6" activate print x without print dialog end tell tell application "Finder" delete x end tell end repeat

Yvan KOENIG


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: Not happy...
  • Next by Date: Re: Not happy...
  • Previous by thread: Re: Not happy...
  • Next by thread: Re: scripting header/footer in appleworks 6
  • Index(es):
    • Date
    • Thread