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

Re: Tell print/close to the frontmost app (uh-uh, JD)


  • Subject: Re: Tell print/close to the frontmost app (uh-uh, JD)
  • From: Mr Tea <email@hidden>
  • Date: Thu, 19 Sep 2002 15:32:15 +0100

This from John Delacour - dated 19-9-02 02.14 pm:

> tell application "Finder"
> set varApp to "" & (name of processes where it is frontmost)
> end tell
> tell application varApp to close window 1

-->Adobe Photoshop 7.0 got an error: window 1 doesn't understand the close
message.

Unfortunately, as I pointed out earlier in this thread, the term 'window' is
not equal to all apps.

This from Mr Tea - dated 19-9-02 12.19 pm:

> Also, different applications use different applescript terms to describe the
> same thing. 'Window' is a case in point. Some applications call open
> document windows 'windows', some call them 'documents', and in some the
> terms are interchangeable.

In Photoshop, for example, the requisite command is 'close document 1'


Nick
pp Mr Tea
_______________________________________________
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.

References: 
 >Re: Tell print/close to the frontmost app (From: John Delacour <email@hidden>)

  • Prev by Date: Re: Quark doc as ASCII
  • Next by Date: Re: Search a file question - Mac OS 9
  • Previous by thread: Re: Tell print/close to the frontmost app
  • Next by thread: Re: Tell print/close to the frontmost app
  • Index(es):
    • Date
    • Thread