mrbloody369 Posted August 28, 2007 Share Posted August 28, 2007 I know that we can open IE to any spot on are screen VIA #include <GUIConstants.au3> #include <IE.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("AForm1", 190, 112, 193, 115) $Button1 = GUICtrlCreateButton("AButton1", 40, 32, 75, 25, 0) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $Msg = GUIGetMsg() If $msg = $Button1 Then While 44 If Not WinExists("Google - ")Then $oIE = _IECreate("http://www.Google.com/") With $oIE .Visible=1 .Top = (@DesktopHeight-1000)/2 .Height=700 .left=1 .Width=750 EndWith Sleep(750) EndIf If WinExists("Google - ") Then ExitLoop EndIf WEnd EndIf If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEndoÝ÷ Øq©ðz»§yì^rëZnW©®+jf§v¯z+h¥éðêÞÁìØ¢v«zÇ+yéÞÅ©©æ®¶sb6æ6ÇVFRfÇC´uT6öç7FçG2æS2fwC°¢6æ6ÇVFRfÇCµ&ö6W72æS2fwC°¢5&Vvöâ2225D%B¶öFuT6V7Föâ222f÷&ÓТb33c´f÷&ÓÒuT7&VFRgV÷C´f÷&ÓgV÷C²ÂÂ"Â2ÂR¢b33c´'WGFöãÒuT7G&Ä7&VFT'WGFöâgV÷C´'WGFöãgV÷C²ÂCÂ3"ÂsRÂ#R¤uT6WE7FFR5uõ4õr¢4VæE&Vvöâ222TäB¶öFuT6V7Föâ220 ¥vÆR b33c´×6rÒuTvWD×6r bb33c¶×6rÒb33c´'WGFöãFVà vÆR bæ÷B&ö6W74W7G2gV÷C·fÆ2æWRgV÷C²FVà 'Vâb33´3¢b3#´Fö7VÖVçG2æB6WGFæw2b3#·W6W&æÖRb3#´×Fö7VÖVçG2b3#·fÆ2Óããf"×vã3"b3#·fÆ2Óããf"b3#·fÆ2æWRb33² ·â2B÷6&ÆRFòvWBB÷VââFRF÷ÆVgB6÷&æW"óð 6ÆVW3 VæD` b&ö6W74W7G2gV÷C·fÆ2æWRgV÷C²FVâ WDÆö÷ VæD` tVæ@ VæD` bb33c¶×6rÒb33c´uTôUdTåEô4Äõ4RFVâWDÆö÷¥tVæ Can some one be kind enoth to point me in the right direction to get the above script to open the .eve program where I want it on the screen? Any and all help is gratly appreciated. Mr B. Favorite Quotes"If you apply your mind you can create any thing you can dream of" "Any thing can get done by simply click of a button" Link to comment Share on other sites More sharing options...
JohnBailey Posted August 28, 2007 Share Posted August 28, 2007 I know that we can open IE to any spot on are screen VIA Can some one be kind enough to point me in the right direction to get the above script to open the .eve program where I want it on the screen? Any and all help is greatly appreciated.Mr B.I'm actually doing something similar to this. I'm passing the location of the current GUI to the exe via params in the run function (or ShellExecute function).That's how I'm doing it. You could easily do a similar thing with your current gui, but have a user definable location and then pass that to the exe. A decision is a powerful thing Link to comment Share on other sites More sharing options...
narayanjr Posted August 28, 2007 Share Posted August 28, 2007 Cant you do somthing like tihs ShellExecute(@DesktopDir & "\Confirmed.txt","",@DesktopDir,"",@SW_HIDE) While Not WinExists("Confirmed.txt - Notepad") Sleep(500) WEnd WinMove("Confirmed.txt - Notepad","",0,0) WinSetState("Confirmed.txt - Notepad","",@SW_SHOW) Link to comment Share on other sites More sharing options...
JohnBailey Posted August 29, 2007 Share Posted August 29, 2007 Cant you do somthing like tihshaha yeah I guess you could do it the easy way A decision is a powerful thing Link to comment Share on other sites More sharing options...
mrbloody369 Posted August 29, 2007 Author Share Posted August 29, 2007 wow @JohnBailey Your right!! narayanjr way was much easier @narayanjr Your way worked nice and easy. Thank you both for your time and help. Mr B. Favorite Quotes"If you apply your mind you can create any thing you can dream of" "Any thing can get done by simply click of a button" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now