Jump to content
Sign in to follow this  
avlife

How to make Autoit scripting running without appear in taskbar?

Recommended Posts

avlife

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!

Share this post


Link to post
Share on other sites
TehWhale

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

Share this post


Link to post
Share on other sites
avlife

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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.