Getting Text from another open application window

Bob Sneidar bobs at twft.com
Mon Jan 23 17:40:58 EST 2012


I don't believe any program can unless there is a way to do it built into the source app. QuicKeys for instance will intercept menus, buttons etc. because something is actually happening in the OS when the user interacts with those objects. Assuming that the developer followed the guidelines of the OS when creating and interacting with those objects, QuicKeys can intercept what the system is doing. But if the developer did something custom, say with the menus, and they are not built by the OS API the QuicKeys is as blind as any other app. The old Procedural Foxpro is a good example of that. 

But what interaction with the OS is there when a window is displaying data? If you find the answer to that, then you would be well on your way to finding a means to do this. Did you check to see if there is any logging going on? It may be possible to get data from the log if so. See if the app has any kind of verbose logging option. 

Bob


On Jan 23, 2012, at 12:06 PM, Camm wrote:

> It a Windows based app.
> The machine is standalone and has no external data connections.
> It could be possible via the SDK , but that would mean writing externals.
> Are we saying that livecode cannot get text from other displayed window ?
> 
> Best Regards
> Camm  
> 
> 
> -----Original Message-----
> From: use-livecode-bounces at lists.runrev.com
> [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of stephen barncard
> Sent: 23 January 2012 18:12
> To: How to use LiveCode
> Subject: Re: Getting Text from another open application window
> 
> Most professional test instruments have some kind of interface - does the
> test device have any serial or IEEE interface?    Livecode really can't
> grok the data space of another application. The application must provide an
> API or some kind of hardware interface.
> 
> If it's a Macintosh application, check and see if it has an Applescript
> dictionary. You can use the Applescript script editor to examine the app in
> question. If there is one, you will see the definitions and can do a  "Do as
> Applescript".
> 
> For instance, I built a mute button in Livecode to control Skype and iTunes
> at the same time.
> 
> On 23 January 2012 09:28, Camm <camm29 at tesco.net> wrote:
> 
>> 
>> 
>> Hi ,
>> 
>> 
>> 
>> I have a windows (non-livecode) application that displays text data 
>> from a test instrument , is it possible for livecode to import the 
>> displayed data realtime for decoding etc.
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Regards
>> 
>> Camm
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> 
> -- 
> 
> 
> 
> Stephen Barncard
> San Francisco Ca. USA
> 
> more about sqb  <http://www.google.com/profiles/sbarncar>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.1901 / Virus Database: 2109/4761 - Release Date: 01/23/12
> 
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.1901 / Virus Database: 2109/4761 - Release Date: 01/23/12
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.1901 / Virus Database: 2109/4761 - Release Date: 01/23/12
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.1901 / Virus Database: 2109/4761 - Release Date: 01/23/12
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list