Has this worked for anyone?

Thanks

On Wednesday, April 21, 2010 at 12:01:16 AM UTC-4, sh.varma wrote:

> Hi, 
>
> Set NetwrkObj = CreateObject("WScript.Network") 
> ShowDesktop1 = "C:\Documents and Settings\" & NetwrkObj.UserName 
> ShowDesktop2 = "\Application Data\Microsoft\Internet Explorer\Quick 
> Launch\Show Desktop.scf" 
> SystemUtil.Run ShowDesktop1 & ShowDesktop2 
> Set ctlr = 
> DotNetFactory.CreateInstance("System.Windows.Forms.Control") 
> Do 
>         Flag = MsgBox("Have positioned mouse? If Yes, do not use mouse!", 
> vbYesNo) 
>         Offset_x = ctlr.MousePosition.X  : Offset_y = ctlr.MousePosition.Y 
>         If Flag = 6 Then 
>                 Exit Do 
>         End If 
> Loop 
> Set DevRpyObj = CreateObject("Mercury.DeviceReplay") 
> DevRpyObj.MouseClick Offset_x, Offset_y, 2 
> DevRpyObj.PressKey 19 
>
> Regards, 
> Varma 
>
> On Apr 14, 9:37 am, punj prakash <punjprak...@gmail.com> wrote: 
> > Hi all, 
> > I need to change the screen resolution of pc at the run time ,Say it is 
> > 1280*800 and now i want to change it to 1024*768 .How to do that? Any 
> > suggesion? 
> > 
> > Thanks 
> > punj 
>
> -- 
> You received this message because you are subscribed to the Google 
> "QTP - HP Quick Test Professional - Automated Software Testing" 
> group. 
> To post to this group, send email to mercu...@googlegroups.com 
> <javascript:> 
> To unsubscribe from this group, send email to 
> mercuryqtp+...@googlegroups.com <javascript:> 
> For more options, visit this group at 
> http://groups.google.com/group/MercuryQTP?hl=en

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to MercuryQTP@googlegroups.com
To unsubscribe from this group, send email to
mercuryqtp+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mercuryqtp+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to