• 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
How can I print from this script?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How can I print from this script?


  • Subject: How can I print from this script?
  • From: "Craig M. Berry" <email@hidden>
  • Date: Tue, 26 Jun 2001 16:01:07 -0500 (CDT)

Okay, here is what I am working with!

Only one prob, when I run the script, it prompts me to hit the print
button, then it asks me if I want to save the file. I tried to add
close aFile saving no, and it did not work. I would like to have the
script run and not have to hit any buttons after I start the script. Can
anyone help? Thanks in advance!


tell application "Finder"
set fList to (files in folder "Macintosh HD:cberry:quark files") as
alias list
repeat with aFile in fList
open aFile
print aFile
close aFile
end repeat
end tell


  • Prev by Date: scripting bbedit
  • Next by Date: Re: Migrating scripting additions to Mac OS X
  • Previous by thread: I Need An Applescript!!
  • Next by thread: Re: How can I print from this script?
  • Index(es):
    • Date
    • Thread