bmozdemir Posted March 27, 2012 Share Posted March 27, 2012 arkadaşlar ben buton1'e tıkladığımda siteyi iexplorer ile açmak istiyorum fakat açılan sayfanın görüntüsü resimde olduğu gibi nasıl yapabilirim. Bir yolu varmı acaba. [img]http://f1203.hizliresim.com/v/v/3vkum.jpg[/img] Quote Link to comment Share on other sites More sharing options...
blue_life Posted March 27, 2012 Share Posted March 27, 2012 @bmozdemir Kodların nerde? Siteyi açmak için ne kullanıyorsun? [b]ShellExecute("https://www.google.com.tr/")[/b] Quote Link to comment Share on other sites More sharing options...
Mehmet Posted March 27, 2012 Share Posted March 27, 2012 (edited) burada bir çok örnek var hangisi işine yararsa onu kullanırsın [codebox] Opt("GUIResizeMode", 768) Global $MY_OIE = ObjCreate("Shell.Explorer.2") Global $MY_GUI = GUICreate("MİNİ EXPLORER", 640, 480, -1, -1, 0x00040000 + 0x00020000 + 0x00010000) $IE_OBJECT = GUICtrlCreateObj($MY_OIE, 0, 0, 640, 456) GUICtrlSetResizing(-1, 102) GUISetState(@SW_SHOW) $MY_OIE.navigate("www.google.com") DllCall("psapi.dll", "int", "EmptyWorkingSet", "long", -1) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case -3 Exit EndSwitch WEnd [/codebox] butona basınca googleye gitsin [codebox] #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("Form1", 279, 195, 192, 124) $Button1 = GUICtrlCreateButton("Button1", 80, 72, 75, 25) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 ShellExecute("https://www.google.com.tr/") EndSwitch WEnd [/codebox] [codebox] #include<IE.au3> _IECreate("https://www.google.com.tr/") WinSetState ( "Google - Windows Internet Explorer", "", @SW_MAXIMIZE ) [/codebox] @SW_MAXIMIZE ;tam ekran @SW_MINIMIZE ;simge durumuna @SW_HIDE ;arkaplanda çalışır ile pencerenin o anki konumu değiştirebilirsin Edited March 27, 2012 by MeHMeTBeN Quote Link to comment Share on other sites More sharing options...
bmozdemir Posted March 27, 2012 Author Share Posted March 27, 2012 (edited) yok elimde html kod var ama onları buraya nasıl editleyebilirim bilmiyorum. [codebox] <HEAD> <script LANGUAGE="JavaScript"> function popUp(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=800,height=620,left = 0,top = 0');"); } </script> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css"> body { margin-left: 0px; margin-top: 0px; background-color: #EEF0EF; } </style> <a href="javascript:popUp('http://www.google.com')"><img src="Resimler/SGK.png" width="48" height="48" border="1" /></a> <body oncontextmenu="return false" onselectstart="return false" ondragstart="return false"> [/codebox] Edited March 27, 2012 by bmozdemir Quote Link to comment Share on other sites More sharing options...
bmozdemir Posted March 27, 2012 Author Share Posted March 27, 2012 Şu alttaki kod güzel ama iexplorer olmasını istememdeki sebep iexplorer içerisine otomatik çalışan eklentiler mevcut o yüzden pop-up olması benim açımdan daha büyük bir avantaj aslında. [codebox] Opt("GUIResizeMode", 768) Global $MY_OIE = ObjCreate("Shell.Explorer.2") Global $MY_GUI = GUICreate("MİNİ EXPLORER", 640, 480, -1, -1, 0x00040000 + 0x00020000 + 0x00010000) $IE_OBJECT = GUICtrlCreateObj($MY_OIE, 0, 0, 640, 456) GUICtrlSetResizing(-1, 102) GUISetState(@SW_SHOW) $MY_OIE.navigate("www.google.com") DllCall("psapi.dll", "int", "EmptyWorkingSet", "long", -1) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case -3 Exit EndSwitch WEnd [/codebox] Quote Link to comment Share on other sites More sharing options...
Mehmet Posted March 27, 2012 Share Posted March 27, 2012 bu adresle ne yapıyorsun tam olarak https://medeczane.sgk.gov.tr/eczane/login.jsp Quote Link to comment Share on other sites More sharing options...
bmozdemir Posted March 27, 2012 Author Share Posted March 27, 2012 yaa o bi örnek loginsayfaya önemli değil önemli olan adres bar filan olmadan açmak yani popup örneğiyle. Quote Link to comment Share on other sites More sharing options...
blackman12 Posted March 27, 2012 Share Posted March 27, 2012 _IEPropertySet komutunu iyice incelemeni tavsiye ederim...Örneğin addressbarı görmek istemiyorsan: [code]_IEPropertySet($oIE, "addressbar", False)[/code] komutunu kullanabilirsin. Diğer seçenekleri yardım dosyasında bulabilirsin. Quote Link to comment Share on other sites More sharing options...
bmozdemir Posted March 27, 2012 Author Share Posted March 27, 2012 sağol gerçekten aradığım buydu. Çok işime yaradı. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.