GEOSoft Posted December 13, 2011 Share Posted December 13, 2011 JohnOne GUISwitch() maybe? George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
ileandros Posted December 13, 2011 Author Share Posted December 13, 2011 There was no trouble buddy.EDIT:And as a matter of fact, I just came to this thread to get the link for wiki, since I am having a similarissue where the second gui (Which has its own loop) does not seem to be processing messagesfrom its controls, with the first GUI disabled or otherwise.I'll have a lot of fun getting to the bottom of it anyway I finaly made it thanks to you.My programms' second gui seem to be processing messages fine.I'm having a web browser at the second gui and a button and they work fine :/ I feel nothing.It feels great. Link to comment Share on other sites More sharing options...
JohnOne Posted December 13, 2011 Share Posted December 13, 2011 (edited) Good Shout GEOSoft, I had not thought to try that, but alas, I'm still baffled. My main script is set to On Event Mode, so first I tried Option On Event Mode 0 upon entering function for extra gui and turn it back on upon exit Then I tried making own events for $GUI_EVENT_CLOSE and the gui's single button And finally GUISwitch. Also along the way GuiSetState(@SW_DISABLE,$wnd) and enable. I'm hitting a brick wall, the second gui definitely stays in its own loop I'm certain of that but although the second gui will respond to minimize, it will not respond to button, or close and if I set an event for minimize that too is ignored and the default behaviour is performed. I'm at the point now where I think it must be something else in script, as all the examples I try stand alone work fine, and reproducing how I think my own script should behave works fine too, if I just have a couple of functions. I'm like a pig in shit to be honest EDIT: The script is just a project I keep all my useful personal tools wrapped in and is over a bakers dozen k lines so its not worth posting it. Also, nine times out of ten it turns out to be something really fundamental I've overlooked. Edited December 13, 2011 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
GEOSoft Posted December 13, 2011 Share Posted December 13, 2011 (edited) That sounds more like an event handler problem since you are using Event Mode. Have you used separate event handlers for the close function for each GUI? EDIT: That's one of the reasons I prefer to just show/hide GUI windows rather than delete them BTW. Edited December 13, 2011 by GEOSoft George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
JohnOne Posted December 13, 2011 Share Posted December 13, 2011 I had a loop where I shouldn't have But still my problem remains , but I moved it to a Thank you very gladly for help and suggestions. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
ileandros Posted December 14, 2011 Author Share Posted December 14, 2011 (edited) I made this _IENavigate($oIE," ") $obj = _IEGetObjById($oIE,"id") $obj.ScrollIntoView() Is there a way how can i Lock the browser scrolls??? Edited December 14, 2011 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