Re: [applescript] What is "system events" ?
Re: [applescript] What is "system events" ?
- Subject: Re: [applescript] What is "system events" ?
- From: 2551phil <email@hidden>
- Date: Sat, 21 Oct 2017 04:21:06 +0700
Note that you can do the same trick with any other app, too, not just System
Events; i.e., see a live view of whatever app’s properties, classes, etc.
The live inspector view, along with the variables view and SD’s dictionary
viewer, are really what make SD worthwhile for me. I rarely have need to
actually step into the debugger itself thanks to these.
Best
Phil
@sqwarq
> On 21 Oct 2017, at 03:58, JMichaelTX <email@hidden> wrote:
>
> Phil,
>
> Thanks for posting this. This is a huge tip!
> For those that don't have SD6, or, like me, not sure what Phil is referring
> to, here's a screen shot of the lower Inspector Panel of SD6, after I have
> entered the simple script below:
>
> <86B7B648-8F29-47A3-B65C-CC510BF7DBD6.png>
>
> Here is another screenshot where I have expanded the "UI elements" list:
>
> <2C57F2BE-98A6-4CB0-8697-D2C9411066FD.png>
>
> Best Regards,
>
> Jim Underwood
> aka JMichaelTX
>
>
> From: AppleScript-Users
> <applescript-users-bounces+jmichael=email@hidden
> <mailto:applescript-users-bounces+jmichael=email@hidden>> on
> behalf of 2551phil <email@hidden <mailto:email@hidden>>
> Date: Friday, October 20, 2017 at 12:44 PM
> To: "email@hidden
> <mailto:email@hidden>" <email@hidden
> <mailto:email@hidden>>, "ASUL (AppleScript)"
> <email@hidden <mailto:email@hidden>>
> Subject: Re: [applescript] What is "system events" ?
>
> tell application "System Events"
> #~-- your code goes here...~#
> end tell
>
> is a common go-to I use, where I never fill in the ‘your code goes here’ part
> or even compile the script. I just leave the cursor on the first line within
> “System Events” and use SD’s live inspector to browse the goodies.
> _._,_._,_
> Groups.io Links:
> You receive all messages sent to this group.
>
> View/Reply Online (#86)
> <https://apple-dev.groups.io/g/applescript/message/86> | Reply To Group
> <mailto:email@hidden?subject=Re: Re: [applescript] What is "system events" ?>
> | Reply To Sender
> <mailto:email@hidden?subject=Private: Re: Re: [applescript] What is "system events" ?>
> | Mute This Topic <https://groups.io/mt/6211204/342665> | New Topic
> <https://apple-dev.groups.io/g/applescript/post>
> Change Your Subscription
> <https://apple-dev.groups.io/g/applescript/editsub/342665>
> Group Home <https://apple-dev.groups.io/g/applescript>
> Contact Group Owner <mailto:email@hidden>
> Terms Of Service <https://groups.io/static/tos>
> Unsubscribe From This Group
> <https://apple-dev.groups.io/g/applescript/leave/666713/7354977/xyzzy>
> _._,_._,_
_______________________________________________
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