473,405 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Capture data from Screen, Copy to Form

NK
Hi,
We have a webpage that has a form available on the intranet.
A user will have a window open that runs a different application open.

When the user accesses the webpage and clicks a button we should
capture the data from the application window and populate the form.

Is it possible to access text inside another opened window on the client
pc, using javascript?

Any ideas on how to do this?

Thanks
Jul 23 '05 #1
5 5698
NK wrote:
Hi,
We have a webpage that has a form available on the intranet.
A user will have a window open that runs a different application open.

When the user accesses the webpage and clicks a button we should
capture the data from the application window and populate the form.
You want to capture information from another application
from a web page? You work for Microsoft? :-)

Is it possible to access text inside another opened window on the client
pc, using javascript?

*Absolutely not*, and anyone that made a browser that could
do it would be hung, drawn and quartered and then killed in
a really nasty fashion (assuming you mean a window opened by
another application as per above).
Any ideas on how to do this?


Get the user to copy & paste from the other application.
You could automatically copy from the other app to the
clipboard maybe, then the user just has to click in a text
box or area in your page and pres Ctrl+V or select edit ->
paste.

Cheers, Rob.
Jul 23 '05 #2
On Tue, 28 Sep 2004 01:38:39 GMT, RobG <rg***@iinet.net.auau> wrote:
NK wrote:
Hi,
We have a webpage that has a form available on the intranet.
A user will have a window open that runs a different application open.

When the user accesses the webpage and clicks a button we should
capture the data from the application window and populate the form.


You want to capture information from another application
from a web page? You work for Microsoft? :-)

Is it possible to access text inside another opened window on the client
pc, using javascript?


*Absolutely not*, and anyone that made a browser that could
do it would be hung, drawn and quartered and then killed in
a really nasty fashion (assuming you mean a window opened by
another application as per above).


Can he use a browser plugin to do this (to copy the data from the user
application? Otherwise could the data be exported to a structured form
(XML?) and then be copied in?

ie. Can one copy data from a XML file into javascript? Surely.

Jul 23 '05 #3
NK
> You want to capture information from another application
from a web page? You work for Microsoft? :-) Nope :)
The web page is hosted on the intranet, and the other app is a
mainframe green terminal.
*Absolutely not*, and anyone that made a browser that could
do it would be hung, drawn and quartered and then killed in
a really nasty fashion (assuming you mean a window opened by
another application as per above).

I guess I have to look at VBScript and activeX for doing that

Thanks
Jul 23 '05 #4
NK wrote:
The web page is hosted on the intranet, and the other app is a
mainframe green terminal.
[snip] I guess I have to look at VBScript and activeX for doing that


Not sure that will help you either. If it's running in a terminal, you
may be able to screen-scrape, but if anyone changes anything in the
screen layout you are in trouble. In any case, I don't think ActiveX
will help. More likely you'll be back to C or FORTRAN.

This stuff was pretty standard fare 10 years ago... look for a
pony-tailed 50 something, you may be surprised at what they dredge up
from the past.
Jul 23 '05 #5
NK wrote:
I guess I have to look at VBScript and activeX for doing that


ActiveX perhaps; VBScript -- not necessarily. What many don't
understand is that ActiveX is the technology providing an object
model and VBScript is but one possible interface language to it.
JScript can do exactly the same.
PointedEars
Jul 23 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Me Mine | last post by:
i, I have trying to code a small console app that will allow a user to select a window and then create a screen capture of the window. I haven't been able to figure out how to do the screen...
1
by: Jim Quast | last post by:
I have an ASP page and a CREGReports002.vbs file coded to export data to excel. I do this by building variables in a stored procedure. The ASP page has text boxes, list boxes, and radio buttons. ...
3
by: Marcob | last post by:
Is there any component out there to capture screen text from a specific region on any active external application form. Thanks Marco
3
by: Uma sakshi | last post by:
Hi I have one VB.NET application,in that application i have one datagrid control.The datagrid control contains somedata.I want to copy the data in a particular cell and paste it into my C#.NET...
2
by: Eddie Dunn | last post by:
I have one here that I cannot find anything on in my searching. I am implementing a screen capture functionality into my Visual Basic ..NET application. The code I am using calls the bitblt...
5
Atran
by: Atran | last post by:
Hello Everyone. In this article: You will know to capture the screen in 2 ways: 1)- Capture full screen. 2)- Capture region. Let's Begin: First make a new Windows Application project. And...
6
by: trbjr | last post by:
Hello experts, I want to describe a project design and then ask some questions at the end. There is no code in this discussion, just symbols to illustrate an idea. Let S stand for a screen...
0
by: JB | last post by:
On 8 Apr, 10:03, "DSK Chakravarthy" <dskch...@msn.comwrote: Thanks for the reply. So the first part is looking easy enough. As for the next part: Well I have a winform which has a few text...
2
by: raylopez99 | last post by:
Beware newbies: I spent a day before I figured this out: copying a bitmap (image) file to file is not quite like copying a text file--you have to do some tricks (see below), like using a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.