finchy911852 Posted November 6, 2018 Share Posted November 6, 2018 Hi Everyone. Please excuse my terminologies and description. I'm fairly new to AutoIT and I need some help with a GUI of sorts I'm creating. Basically what i'm doing is creating a window that comes up when our users log in that will not allow them to close or tab out of the window (this is already done) for the purposes of getting them to either sign up to a service we provide or refuse the service using buttons that will then navigate you to the sign in page and then email once the sign up is complete and close the window or allow them to refuse and send an email that they have refused and then close the window (this is also done) the only trouble I'm having is that my buttons have to sit outside the browsers area of the window or they are hidden behind it. My question is, is it possible to layer my buttons on top of the IE shell.explorer part of the window so I can effectively make them look like "part of the website". I accept that this may not be possible, I've seen many posts use layering with labels and buttons or using labels as buttons but everything I try seems to be hidden behind the browsers section of the window meaning I cant see or click the buttons. Any help you all could give would be valuable. In case you cant visualize what I'm referring to I've provided a picture as an example showing the current position of the buttons (font style and size pending review) and their desired position. Thank you in advance for any information you can give me even if its that it cant be done. - Chris Link to comment Share on other sites More sharing options...
careca Posted November 6, 2018 Share Posted November 6, 2018 I think it's possible, but since we're talking about a webpage, why don't you integrate buttons in the html? Anyway, i think a layered window with the setontop flag 1 would work. finchy911852 1 Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe Link to comment Share on other sites More sharing options...
finchy911852 Posted November 7, 2018 Author Share Posted November 7, 2018 Hi Careca, I didn't integrate the buttons into the HTML because I only have creative control over one of the 3 web pages that I visit during the registration process and I need them to be present so the user can exit the GUI once they have registered as I set it up to not be allowed to be closed, minimized or moved until they had either registered or chosen not to register. Rather than just close it on auto pilot as I know they do to pretty much any message they aren't used to. Also I didn't know you can use the button presses of a HTML page to feed into Autoit, the more I use this program the more I'm astounded by the things it can do! I'm excited by the news that this might be possible, I don't suppose you have some example code I could use to get an understanding of the principal? Thank you for your help so far. - Chris Link to comment Share on other sites More sharing options...
careca Posted November 7, 2018 Share Posted November 7, 2018 Maybe this can give you some ideas, the thing to get from here is the overlay, how you implement is up to you, and i didn't test for a case like that, but i believe it's possible. The general idea is that the window will become transparent, when you paint it the "transparent color", then only whatever else shows up. Come back if you got any issues. Html is tricky, maybe i didn't think it through, you have IE functions and you can do a lot, but the browser must be IE, if it is, and from what i understood it is, i believe it's possible to inject buttons into the html, but im not sure, never done it. Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe 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