• 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: Seeing the state of an application with Script Editor?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Seeing the state of an application with Script Editor?


  • Subject: Re: Seeing the state of an application with Script Editor?
  • From: 2551phil <email@hidden>
  • Date: Sat, 28 Oct 2017 23:06:18 +0700

Only if you’re a masochist (and maybe this fails your ‘complicated recursions’
condition anyway).

tell application "System Events"
        try
                set n to every application process's name
                set p to every application process's properties
                set a to every application process's attributes
                set u to every application process's UI elements
                -- on and on like this through all the possible variables
        end try
end tell



Best


Phil
@sqwarq

> On 28 Oct 2017, at 21:11, Jean-Christophe Helary
> <email@hidden> wrote:
>
> I know I can "Explore" the state of an application with Script Debugger, but
> is there a way to "dump" that information from Script Editor that does not
> involve complicated recursions, etc. ?
>
> Jean-Christophe
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Seeing the state of an application with Script Editor?
      • From: Jim Underwood <email@hidden>
References: 
 >Seeing the state of an application with Script Editor? (From: Jean-Christophe Helary <email@hidden>)

  • Prev by Date: Re: Running Scripts from Mail Rules
  • Next by Date: Re: Seeing the state of an application with Script Editor?
  • Previous by thread: Seeing the state of an application with Script Editor?
  • Next by thread: Re: Seeing the state of an application with Script Editor?
  • Index(es):
    • Date
    • Thread