It is exactly what I am looking for. I am actually using a Windows connection to do web scripting and was looking for a way to get the first section(9 or so places) and then from there I know the exact placement of checkboxes on the webpage.
Thank you again Thom. Garrett From: [email protected] [mailto:[email protected]] Sent: Monday, July 02, 2012 11:38 AM To: [email protected] Subject: RE: [talkbws] Programmatically determine Smart Sequence Hi, I am not sure I understand what you're asking. But I'll take a swing at it. Let's say on a given screen you have an Ok button. It's Smart find string is likely to be OK<Push Button> If you were on that screen and connected and also executed Smart.First If Smart.Find("OK<Push Button>") then Debug.print smart.Sequence End if That would print out the sequence for that button. That's a long way of explaining that Smart.Sequence property returns the sequence for whatever Smart represents. Something you didn't ask, but worth pointing out. Sequences (Smart or cGetWindow) are not unique identifiers for a given control. They simply are a string representation of a parent child relationship within the application: T- top 2 - second child of the top 1 - it's first child 3 - it's third child Etc.... This means a sequence is a valid way to locate the control only if you are on the screen that the desired control is on when it is used. Thom C. Blackwell VP, Technical Services Boston Software Systems, Inc. Phone: 866.653.5105 x807 Mobile: 508.423.8463 Fax: 508.319.3015 www.bostonsoftwaresystems.com<http://www.bostonsoftwaresystems.com/> The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. From: [email protected]<mailto:[email protected]> [mailto:[email protected]] Sent: Monday, July 02, 2012 2:28 PM To: Talk Subject: [talkbws] Programmatically determine Smart Sequence I was trying to see if it was possible to get the "T|...." Sequence from doing a text search. Thanks, Garrett S. O'Sullivan Production Coordinator - Financial Systems Team Regional Business Office Phone: 503.215.4462 Fax: 503.215.4343 Pager: 503.920.4560 Email: [email protected][email protected]<mailto:[email protected][email protected]>> [cid:[email protected]] ________________________________ This message is intended for the sole use of the addressee, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the addressee you are hereby notified that you may not use, copy, disclose, or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete this message. --- To post a message to this list, send mail to: [email protected]<mailto:[email protected]> You are currently subscribed as: [email protected]<mailto:[email protected]> Unsubscribe in the customer center on our website: http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx --- To post a message to this list, send mail to: [email protected]<mailto:[email protected]> You are currently subscribed as: [email protected]<mailto:[email protected]> Unsubscribe in the customer center on our website: http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx ________________________________ This message is intended for the sole use of the addressee, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the addressee you are hereby notified that you may not use, copy, disclose, or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete this message. --- To post a message to this list, send mail to: [email protected] You are currently subscribed as: [email protected] Unsubscribe in the customer center on our website: http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx
<<inline: image001.png>>
