Hey everyone,
I have some experience in Java, C++, and some lesser known scripting languages but i can't seem to figure this problem out.
To make things simple, i would like to know how to use Javascript (with Jquery preferrably) to get the screen coordinates of radio buttons, drop down box, search fields, Ect from a webpage in an iframe on that same page. I would need to save that information in a variable and must be able to use those variables in my C++ program.
A little more information....
At work, i input information into a webpage all day. I made a Macro with C++ that works with the coordinates i input into the program. It works fine until i move to another computer or something in the webpage moves all the links down a few pixels. I want to still use the same C++ program but instead of coordinates that i input, i want to make a script in Java that will find the elements in the webpage and give the coordinates to my C++ program via variables.
I'm thinking the solution would involve a webpage i run off my desktop that has 2 frames.
Top frame being my Javascript code with controls such as start, stop, ect...
Bottom frame being the Website that i will be using my C++ program to fill in the information.
Any advise on sending variables through Java --> C++ or how to get coordinates with Java on a website in an iframe would be greatly appriciated.
Thanks in advance,
Adam
Javascript help. (Coordinates of an Element, IFrames, integration with C++)
Started by Asull, May 21 2010 01:42 PM
2 replies to this topic
#1
Posted 21 May 2010 - 01:42 PM
|
|
|
#2
Posted 22 May 2010 - 01:01 AM
#3
Posted 25 May 2010 - 12:08 PM
Yes, i was asking if anyone knew a way to use jQuery to obtain the screen coordinates of an element in a webpage.
Most importantly, any information on using Javascript variables in C++?
Thanks for the reply.
Most importantly, any information on using Javascript variables in C++?
Thanks for the reply.


Sign In
Create Account

Back to top









