cyanidemonkey Posted January 16, 2006 Share Posted January 16, 2006 (edited) Is it possible to remove the greyed out vertical scroll bar in an IE.au3 ? $oIE = ObjCreate("Shell.Explorer.2") $GUIActiveX = GUICtrlCreateObj($oIE, 0, 0, 930,705) $oIE.navigate("@ScriptDir@\test.html") $oIE = 0 I have a page that does not require scrolling, yet a scroll bar is present. Edited January 16, 2006 by cyanidemonkey My AutoIt Scripts.- AutoHost and Password Enabler for Delta Force 2 Demo.| Caffine for Winamp 2.9x and WRS 2.0 | mp3 directory cleaner | CRAP DJ | A:B:J Radio Automation Software | FFMPEG batch conversion automator Link to comment Share on other sites More sharing options...
SvenP Posted January 17, 2006 Share Posted January 17, 2006 Is it possible to remove the greyed out vertical scroll bar in an IE.au3 ? $oIE = ObjCreate("Shell.Explorer.2") $GUIActiveX = GUICtrlCreateObj($oIE, 0, 0, 930,705) $oIE.navigate("@ScriptDir@\test.html") $oIE = 0 I have a page that does not require scrolling, yet a scroll bar is present. Hello, The only thing I currently can think of is by modifing your HTML file and insert the <body scroll=no> tag. e.g. <html> <body scroll=no> test. </body> </html> -Sven Link to comment Share on other sites More sharing options...
cyanidemonkey Posted January 18, 2006 Author Share Posted January 18, 2006 nice one SvenP, that works a treat, thanks! My AutoIt Scripts.- AutoHost and Password Enabler for Delta Force 2 Demo.| Caffine for Winamp 2.9x and WRS 2.0 | mp3 directory cleaner | CRAP DJ | A:B:J Radio Automation Software | FFMPEG batch conversion automator Link to comment Share on other sites More sharing options...
DaleHohm Posted January 18, 2006 Share Posted January 18, 2006 Is it possible to remove the greyed out vertical scroll bar in an IE.au3 ? $oIE = ObjCreate("Shell.Explorer.2") $GUIActiveX = GUICtrlCreateObj($oIE, 0, 0, 930,705) $oIE.navigate("@ScriptDir@\test.html") $oIE = 0 I have a page that does not require scrolling, yet a scroll bar is present.The following should work as well without modifying the HTML:$oIE.document.body.scroll = "no" Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
SvenP Posted January 18, 2006 Share Posted January 18, 2006 The following should work as well without modifying the HTML:$oIE.document.body.scroll = "no" Dale That's even better Dale ! I should have known better: YOU are the IE-Master. Sorry I pushed forward answering this question, I should have waited for you first.. :-) -Sven Link to comment Share on other sites More sharing options...
DaleHohm Posted January 18, 2006 Share Posted January 18, 2006 That's even better Dale ! I should have known better: YOU are the IE-Master. Sorry I pushed forward answering this question, I should have waited for you first.. :-)-SvenNah, come on in, the water's fine.Welcome back to the party Sven.Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
Skorm Posted April 21, 2013 Share Posted April 21, 2013 I've seen this piece of code alot on the forums, However, It only hides/deletes the scrollbars when my cursor get's over them. Any sollution to that? Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 22, 2013 Moderators Share Posted April 22, 2013 Skorm, please don't necro 7 year old threads. If you have a question, open a new thread. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! 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