avlife Posted November 5, 2008 Share Posted November 5, 2008 Anybody could teach me how to make Autoit script running without appear in taskbar? The reason is I wish the script will occupy a space on task bar. Thanks for your help! Link to comment Share on other sites More sharing options...
TehWhale Posted November 5, 2008 Share Posted November 5, 2008 (edited) Use this UDF. After you display your GUI, use _TabControl($GUIHandle, 0). That will delete your GUI's tab from the taskbar. EDIT: Or if you mean without a taskbar icon, use #NoTrayIcon at the top of your script.TabControl.au3 Edited November 5, 2008 by TehWhale Link to comment Share on other sites More sharing options...
avlife Posted November 5, 2008 Author Share Posted November 5, 2008 (edited) Use this UDF. After you display your GUI, use _TabControl($GUIHandle, 0). That will delete your GUI's tab from the taskbar. I am sorry for my stupid. I follow your instruction to use your script, but I can't run it, please teach me what is the correct value of $GUIhandle? my error message is as below: D:\AUTOIT\test\MENU.au3 (514) : ==> Variable used without being declared.: Local $HookPtr = DllCall("kernel32.dll", "ptr", "GetProcAddress", "ptr", $KernelHandle[0], "str", $_MFHookApi) Local $HookPtr = DllCall("kernel32.dll", "ptr", "GetProcAddress", "ptr", $KernelHandle[0], "str", ^ ERROR >Exit code: 1 Time: 0.652 Finally I find my problem, I didn't put variable declaration on the top of script. Thank you very much. You are my hero!! Edited November 5, 2008 by avlife 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