FuZi0h Posted February 11, 2006 Share Posted February 11, 2006 Hi guys, can anyone see whats wrong here? expandcollapse popup#include<guiconstants.au3> #region;Hotkeys HotKeySet("{pgdn}", "Hide") HotKeySet("{pgup}", "Unhide") #endregion #region;Gui'en GUICreate("Hvilket Window?",200,200) GUISetState() Opt("wintitlematchmode", 2) $Window=GUICtrlCreateInput("",0,75,155,25) $Hvilket=GUICtrlCreateLabel("Hvilket vindue skal hides?",0,50) $Credit = GUICtrlCreateLabel("Created by Mathias Blohm",0,180) $go = GUICtrlCreateButton("Go!",155,72,30,30) while 1 $msg = GUIGetMsg() Select case $msg=$GUI_EVENT_CLOSE Exit Case $msg = $go Sleep(2500) Send("pgdn") sleep(1000) exit EndSelect WEnd #endregion #region;Funcs Func Hide() WinSetState($Window,"",@SW_HIDE) EndFunc Func Unhide() WinSetState($Window,"",@SW_SHOW) EndFunc #endregion [~FuZi0h~]ScriptRipping? = ┴¬┴¬┴┴¬ (My word for sucks.)'FuZi0h, Liope and Rambo3889 4-EvaHelp me by pressin This!all clicks appreciated :) Link to comment Share on other sites More sharing options...
Developers Jos Posted February 11, 2006 Developers Share Posted February 11, 2006 (edited) Are you going to share what your problem is with us ? Edited February 11, 2006 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
FuZi0h Posted February 11, 2006 Author Share Posted February 11, 2006 Are you going to share what your problem is with us ?Sure.. a loud Biip and closing.. [~FuZi0h~]ScriptRipping? = ┴¬┴¬┴┴¬ (My word for sucks.)'FuZi0h, Liope and Rambo3889 4-EvaHelp me by pressin This!all clicks appreciated :) Link to comment Share on other sites More sharing options...
Developers Jos Posted February 11, 2006 Developers Share Posted February 11, 2006 (edited) Sure.. a loud Biip and closing..you mean when pressing the GO button ? try this version: Case $msg = $go Sleep(2500) Send("{pgdn}") Sleep(1000) Exit Edited February 11, 2006 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
FuZi0h Posted February 11, 2006 Author Share Posted February 11, 2006 well now the Biip is gone.. but it aint hiding? [~FuZi0h~]ScriptRipping? = ┴¬┴¬┴┴¬ (My word for sucks.)'FuZi0h, Liope and Rambo3889 4-EvaHelp me by pressin This!all clicks appreciated :) Link to comment Share on other sites More sharing options...
Developers Jos Posted February 11, 2006 Developers Share Posted February 11, 2006 well now the Biip is gone.. but it aint hiding?Try:WinSetState(GUICtrlRead($Window),"",@SW_HIDE SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
FuZi0h Posted February 12, 2006 Author Share Posted February 12, 2006 Try:WinSetState(GUICtrlRead($Window),"",@SW_HIDEthanks man =) [~FuZi0h~]ScriptRipping? = ┴¬┴¬┴┴¬ (My word for sucks.)'FuZi0h, Liope and Rambo3889 4-EvaHelp me by pressin This!all clicks appreciated :) Link to comment Share on other sites More sharing options...
jaenster Posted February 12, 2006 Share Posted February 12, 2006 Send("pgdn") Not {pgdn} of Page Down ? -jaenster Link to comment Share on other sites More sharing options...
FuZi0h Posted February 12, 2006 Author Share Posted February 12, 2006 closed topic [~FuZi0h~]ScriptRipping? = ┴¬┴¬┴┴¬ (My word for sucks.)'FuZi0h, Liope and Rambo3889 4-EvaHelp me by pressin This!all clicks appreciated :) 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