

I guess I might be able to hide the icon button from the third party app with a DLL call or something, but I'm not sure if I can make it show the thumbnail of the app on it. I'm doing this cause the script is used to open files on this app, and if you try to run a second instance, it will ask you if you're sure about it or if you want to do something else. So pinned script button must run the app, and if possible, combine the launched app button into the one from the script, so the script button should give focus to the third party app, and if possible also show the app thumbnail preview when hovered, to make it seems like the script is actually the program. So, yeah, I mean the taskbar buttons, the ones you can pin, the ones that appear once any program with a gui runs. You can see the effect it has with this test hotkey: F1::WinSet, Style, -0xC00000, A And you can remove a programs button by removing its WS_CAPTION styling. Just like if the app was a child window of the script And if your script has a GUI or something it'll make one. There is no quicklaunch icon that launches when an app lanuches. Script runs something like run, c:\path\prog.exe Or do you mean pins? Those are the things that replaced quicklaunch icons. Well, quick launch has been disabled since like vista and you have to manually edit your taskbar to show the quicklaunch bar (which I still do to this day). You say "I mean the quick launch taskbar icons". They are in C# but it should be possible to translate this COM magic to AHK, but it might not be possible to change Application User Model ID stuff of AHK scripts.
#RUN 8 V2 SINGLE PLAYER HOW TO#
Here are a few stackoverflow posts which show how to manipulate these things. So if your third party app uses an auto generated ID this might not be possible. If the window does not have an explicit AppUserModelID, this property is ignored and the window is grouped and pinned as if it were part of the process that owns it. This property is used only if a window has an explicit Application User Model ID (AppUserModelID) (, set through SHGetPropertyStoreForWindow). While also changing the AppUserModel.RelaunchCommand to point to your script. It might be possible if you create an app which uses the same Application User Model ID that your third party app is using. Grouping taskbar stuff is done via Application User Model IDs. Main Stickied Post (Has solutions to common issues).

It covers most of the basic concepts of AutoHotkey. WebIRC (Browser Based) The IRC is currently closed for maintenance.Ĭheck out the AHK beginners tutorial. If you'd prefer trying to get help from a live person, check out the IRC or Discord channels. Link to AutoHotkey's Command and Syntax Documentation Live Chat (IRC / Discord) Make sure you keep your version of AHK up to date. If your post has been resolved please flair it "Solved!".
#RUN 8 V2 SINGLE PLAYER CODE#
