I think I didn't quite understand:
VEE is controlling a scope, Jitter3 is acquiring data, and they're on
different PCs. You're generating a screen shot of something off the PC
running Jitter3 and it keeps putting itself on top of whatever you're trying
to screen shoot. Is that it?
What is it that's generating the screen shot? Presumably some kind of
programming facility. A batch file run at intervals by the scheduler? Or
some other kind of script? If it's a human, Detlef has got it - Alt-Tab and
screen shoot.
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
VEE is controlling a scope, Jitter3 is acquiring data, and they're on
different PCs. You're generating a screen shot of something off the PC
running Jitter3 and it keeps putting itself on top of whatever you're trying
to screen shoot. Is that it?
What is it that's generating the screen shot? Presumably some kind of
programming facility. A batch file run at intervals by the scheduler? Or
some other kind of script? If it's a human, Detlef has got it - Alt-Tab and
screen shoot.
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Yes M'am. The difficulty is in finding the destination window the click
should be sent to. It's much less verbose in C:
VOID LeftClick(hWnd)
{
// Use array of 4 Int32 in VEE, left = [0], top = [1], right = [2], bottom =
[3].
RECT rc;
// Use array of 2 Int32 in VEE, x = [0], y = [2].
POINT pt;
// We'll need a phoney cursor location.
GetClientRect(hWnd, &rc); //User32.dll
pt.x = rc.right - ((rc.right - rc.left) / 2);
pt.y = rc.bottom - ((rc.bottom - rc.top) / 2);
// Post l-button down and up messages.
// 0x0201 LSW MSW
PostMessage(hWnd, WM_LBUTTONDOWN, 0, MAKELONG(pt.x, pt.y));
//User32.dll
PostMessage(hWnd, WM_LBUTTONUP, MK_LBUTTON, MAKELONG(pt.x, pt.y));
// 0x0202 0x0001
}
The hard part is figuring out the window handle. This clicks the left button
once at the center of the target window. If you're clicking a VEE 5.x
Confirmation button, I have a way to find the hWnd of the button. Other VEE
objects are more tricky.
There are other ways to do this that are more "correct", depending on your
circumstances. Specifically, the Win32 function SendInput supercedes all
previous methods of simulating input events to various windows.
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@it.lists.it.agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Yes M'am. The difficulty is in finding the destination window the click
should be sent to. It's much less verbose in C:
VOID LeftClick(hWnd)
{
// Use array of 4 Int32 in VEE, left = [0], top = [1], right = [2], bottom =
[3].
RECT rc;
// Use array of 2 Int32 in VEE, x = [0], y = [2].
POINT pt;
// We'll need a phoney cursor location.
GetClientRect(hWnd, &rc); //User32.dll
pt.x = rc.right - ((rc.right - rc.left) / 2);
pt.y = rc.bottom - ((rc.bottom - rc.top) / 2);
// Post l-button down and up messages.
// 0x0201 LSW MSW
PostMessage(hWnd, WM_LBUTTONDOWN, 0, MAKELONG(pt.x, pt.y));
//User32.dll
PostMessage(hWnd, WM_LBUTTONUP, MK_LBUTTON, MAKELONG(pt.x, pt.y));
// 0x0202 0x0001
}
The hard part is figuring out the window handle. This clicks the left button
once at the center of the target window. If you're clicking a VEE 5.x
Confirmation button, I have a way to find the hWnd of the button. Other VEE
objects are more tricky.
There are other ways to do this that are more "correct", depending on your
circumstances. Specifically, the Win32 function SendInput supercedes all
previous methods of simulating input events to various windows.
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@it.lists.it.agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
I have XP and Vee6.03 (not 6.01), and never had a problem. I agree with
Mike that the programs execute faster, maybe because my XP machine has a
faster processor
Regards,
Paco
-----Original Message-----
From: Mike Groves [mailto:mikegroves@pacbell.net]
Sent: Wednesday, November 26, 2003 5:11 AM
To: VRF
Subject: [vrf] RE: XP compatibility
Hi Bill,
I have found XP to work very well with VEE. In my last job, I
migrated some older VEE 3 programs (never time to upgrade them),
some VEE 5, and some VEE 6 programs all to newer XP machines and
aside from executing faster, they had no problems at all. I've
not heard of anyone having problems, as long as any GPIB, or DAQ
cards installed are compatible and using the latest drivers. Has
anyone else on the VRF heard of any incompatibilities with XP? I
think a lot of us would be interested to hear about them.
My personal preference (especially for production stations) is to
remove all the "fluff" from the XP desktop. When you get rid of
the new menu and all that goes with it, you end up with a desktop
remarkably similar to Windows 2000. You'll also finds it performs
a little better without all that stuff too.
Cheers!
Mike Groves
-----Original Message-----
From: bill.ossmann@philips.com [mailto:bill.ossmann@philips.com]
Sent: Tuesday, November 25, 2003 12:02 PM
To: VRF
Subject: [vrf] XP compatibility
Hi all,
We are gradually replacing older computers with newer ones running Windows
XP.
Agilent is at least skeptical of running VEE 6.01 on XP. Does anyone have
any
experience with this? Should we just bite the bullet and upgrade our VEE
versions?
Thanks,
--
Bill Ossmann
Philips Ultrasound
e-mail: bill.ossmann@philips.com
---
You are currently subscribed to vrf as: paco.lopez@hp.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Shawn, your not a character in a Warner Brothers cartoon! We just
don't know what you are, except a good friend.
Now as to your problem regarding broken MTA setups, and your Zip
files. Don't worry about it. Yes make a plea for space on your company
website, surely they will see the logic for something as important as
this. Of course you could take the ultimate trip.... Setup a domain
name just for the purpose of distributing these items.
-------------------
Gregg C Levine hansolofalcon@worldnet.att.net
------------------------------------------------------------
"The Force will be with you...Always." Obi-Wan Kenobi
"Use the Force, Luke." Obi-Wan Kenobi
(This company dedicates this E-Mail to General Obi-Wan Kenobi )
(This company dedicates this E-Mail to Master Yoda )
> -----Original Message-----
> From: Shawn Fessenden [mailto:shawn@testech-ltd.com]
> Sent: Wednesday, November 26, 2003 11:50 PM
> To: VRF
> Subject: [AgilentVEE] [vrf] RE: simulate Mouse click
>
> > Again, apologies for the ridiculous installer, but open in VEE and
> > click the Start button in the user function WriteAndReg.
>
> What a maroon! I see I forgot to include WriteBytes - so WriteAndReg
won't
> work. Sorry about that. I also see several mail handlers are now
rejecting
> zips entirely. Sorry about that also. I'll see if I can beg some
space on
> the Testech-ltd web site and post this stuff there.
> -SHAWN-
>
> ------------------------ Yahoo! Groups Sponsor
---------------------~-->
> Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or
Lexmark
> Printer at MyInks.com. Free s/h on orders $50 or more to the US &
Canada.
> http://www.c1tracking.com/l.asp?cid=5511
> http://us.click.yahoo.com/mOAaAA/3exGAA ... /saFolB/TM
>
---------------------------------------------------------------------~
->
>
> To unsubscribe from this group, send an email to:
> AgilentVEE-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".