Questions on approach
Questions on approach
- Subject: Questions on approach
- From: Alex Zavatone <email@hidden>
- Date: Mon, 15 Nov 2010 19:41:33 -0600
I'm using System Events to get access to the UI Elements of a table in a scrolling field in an app. There are 4 columns in the table. I'm able to access it just fine, but performance starts to crater as some time between one and one thousand rows in it.
So, I'm wondering about approaches here in accessing the data structure. I've already tried duplicating it and accessing the duplicate but that doesn't seem to help.
Anyway, I'm wondering about anyone's approaches in speeding up data access in these cases.
This is what I'm trying:
set myWindow to window 1 copy table 1 of scroll area 1 of myWindow to myTable set myRows to the number of rows of myTable set myList to {} repeat with myIndex from 1 to myRows set myRow to entire contents of row myIndex of myTable set myValue to the value of item 4 of myRow
It's taking about 2 to 3 seconds to get myValue. Does anyone have any approaches that might speed this up a tad? Thaaaanks,
- Alex Zavatone |
_______________________________________________
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