• 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
Tell print/close to the frontmost app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tell print/close to the frontmost app


  • Subject: Tell print/close to the frontmost app
  • From: Stephane ODUL <email@hidden>
  • Date: Thu, 19 Sep 2002 03:22:33 -0700

Hi, I want to tell to the frontmost app to close (window, document, just same as command+W), and print (like command+P).

I've tryed this and many variants with no success.

tell frontmost application
close the front window
end tell

tell frontmost application
print the front window
end tell

Maybe I should send events ?

I'm very unfamiliar with apple script and just need it to control a few stuff.

Any help will be appreciated.

Stephane ODUL
http://www.soft.odul.com/
_______________________________________________
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.

  • Follow-Ups:
    • Re: Tell print/close to the frontmost app
      • From: Mr Tea <email@hidden>
  • Prev by Date: Re: Unicode to plain text
  • Next by Date: Re: Tell print/close to the frontmost app
  • Previous by thread: Re: working with styled text records
  • Next by thread: Re: Tell print/close to the frontmost app
  • Index(es):
    • Date
    • Thread