Thudo Posted September 8, 2010 Author Posted September 8, 2010 (edited) THANK YOU MELBA! Yes that covers about 90% of what I needed. THANK YOU FOR YOUR PATIENCE!! I've been tweaking your code here and there and the only outstanding issues are: 1) Invoking hotkey so the password GUI comes up: HotKeySet("^!{l}", "_AskPassword") ; Ctrl+Alt+L This works but when after invoking the HotKeySet to bring up the Password UI, if you hit CANCEL it doesn't go back to the screensaver like it would without using the HotKeySet. 2) Sometimes when you hit the CANCEL button the screen goes black and doesn't load an image if the time between transitions number is 15000ms. On the third try of hitting Cancel it usually loads the images. Its not a big deal but curious as to why this happens? 3) During the Login Box, hitting ESC, RETURN, or the Top-Right Red-X are disabled. With InputBox they are enabled. ESC and the Red-X should default back to the screensaver like clicking CANCEL. RETURN would be basically clicking OK. 4) I noticed you use the script GUISetBkColor(0x000000, $GUI) which brought up the black background during image transitions in my older script. Not sure why but in the current build its showing the desktop during transitions instead of a pure black screen. Odd as the code is the same as before. 5) Curious.. how do you lock a GUI box so that its immovable? _MouseTrap works well except if a user goes above in the blue area of the Login Box they can inadvertently hold left-mouse, drag, then they have broken free of the trap. I looked around and found no GUI style to lock the GUI box down so it cannot be moved. You are indeed a savior, Melba.. I'm almost there.. just some lingering bits missing from the original script. Edited September 8, 2010 by Thudo
Thudo Posted September 9, 2010 Author Posted September 9, 2010 (edited) Ok #5 is fixed thanks to this thread.Another question: can I _MouseTrap a MsgBox? When the "Access Denied" comes up it breaks the _MouseTrap then stays broken when the next Login box comes up afterwards. Edited September 9, 2010 by Thudo
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