ileandros Posted February 21, 2012 Share Posted February 21, 2012 Hello, I got this error can u please try it and tell me what's wrong. I want to disable the scroll arrows #include <GUIConstantsEx.au3> #include <IE.au3> #include <GuiScrollBars.au3> #include <ScrollBarConstants.au3> $hGUI2 = GUICreate("test", 330, 110, 476, 230) $oIE = _IECreateEmbedded() GUICtrlCreateObj($oIE,0,0,330,110) _IENavigate($oIE, "[url="http://www.autoitscript.com/forum/index.php?app=forums&module=post§ion=post&do=new_post&f=2"]http://www.autoitscript.com/forum/index.php?app=forums&module=post§ion=post&do=new_post&f=2[/url]") GUISetState() _GUIScrollBars_Init($oIE) _GUIScrollBars_EnableScrollBar($oIE, $SB_VERT, $ESB_DISABLE_DOWN)) _GUIScrollBars_EnableScrollBar($oIE, $SB_VERT, $ESB_DISABLE_UP)) While 1 $GUIMsg = GUIGetMsg() Switch $GUIMsg Case $GUI_EVENT_CLOSE;, $nExititem ExitLoop EndSwitch WEnd I feel nothing.It feels great. Link to comment Share on other sites More sharing options...
martin Posted February 21, 2012 Share Posted February 21, 2012 for _IENavigate place the url in inverted commas like this _IENavigate($oIE, "http://www.autoitscript.com/forum/index.php?app=forums&module=post§ion=post&do=new_post&f=2") Then you have extra brackets at the end of the 2 lines before the while line. It's generally better to quote the exact error rather than expect people to find out themselves, and reading the error would have shown you what was wrong with reference to the help file and examples. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
ileandros Posted February 21, 2012 Author Share Posted February 21, 2012 (edited) for _IENavigate place the url in inverted commas like this _IENavigate($oIE, "http://www.autoitscript.com/forum/index.php?app=forums&module=post§ion=post&do=new_post&f=2") Then you have extra brackets at the end of the 2 lines before the while line. It's generally better to quote the exact error rather than expect people to find out themselves, and reading the error would have shown you what was wrong with reference to the help file and examples. yes you are right but that was missclick and forgot to correct it here. This doesn't solves the problem though. Anyway thank you. Edited February 21, 2012 by ileandros I feel nothing.It feels great. Link to comment Share on other sites More sharing options...
ileandros Posted February 21, 2012 Author Share Posted February 21, 2012 (edited) The only problem is that it seems not to work for the $oIE object it works only for the program. I tried making the object like this $objcreate = GUICtrlCreateObj($oIE,295,35,330,110) just to try if i could take the controlid of the GUICtrlCreateObj($oIE,295,35,330,110) so the _GUIScrollBars_EnableScrollBar() could accept it but nothing. I'm missing something... Edited February 21, 2012 by ileandros I feel nothing.It feels great. 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