Jump to content

Recommended Posts

Posted

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!

Posted (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 by TehWhale
Posted (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 by avlife

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...