Some Good News as well as Question on Getting Selected Popup Value Using AppleScript
Some Good News as well as Question on Getting Selected Popup Value Using AppleScript
- Subject: Some Good News as well as Question on Getting Selected Popup Value Using AppleScript
- From: Chi Kim <email@hidden>
- Date: Tue, 18 Oct 2016 19:08:47 +0000
- Thread-topic: Some Good News as well as Question on Getting Selected Popup Value Using AppleScript
Hi All,
This is an announcement as well as a question.
Here's an announcement first. Flo Tools, a project aimed to Enhance
Workflow for Pro Tools Users With Visual Impairments, is released. You
can check out the video below.
https://flotools.github.io/
It consists of about 120 macros for Keyboard Maestro, and most macros
are written in JXA scripts. And that leads to some of my questions.
1. I'm having a problem to identify which pop-up menu is selected using
JXA. Pro Tools has a lot of pop-up buttons, and I can't seem to get the
selected value. If someone knows how to do that using just regular
Applescript, I can probably translate to JXA.
2. Also, is there way to speed up the process of getting selected rows
from a large table with about 1000 rows? If I try to get selected rows
from the table using whose function (I believe "where" in Applescript),
it takes more than 30 seconds. Is there way to speed up the process?
Here's my code.
selected = table.rows.whose({selected:true})()
This will definitely improve some of the Flo Tools features!
Thank you very much for your help!
Chi
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden