I can't figure out how to combine those two scripts

Get help with using AutoHotkey and its commands and hotkeys
MarkSilva
Posts: 9
Joined: 20 Mar 2017, 05:17
Google: ali abd
GitHub: ali

I can't figure out how to combine those two scripts

20 Mar 2017, 05:21

Run, notepad kk.txt
Winset, Alwaysontop, , A

first one is to open notepad named kk , second is to set a window always on top but my problem is

I want one key to open the kk notepad, and also set it alwaysontop at same time, i would really really appreciate if someone knows how shares with me!

Thanks
User avatar
boiler
Posts: 1622
Joined: 21 Dec 2014, 02:44

Re: I can't figure out how to combine those two scripts

20 Mar 2017, 08:21

Code: [Select all] [Download] GeSHi © Codebox Plus

F5:: ; change to your desired hotkey
Run, notepad kk.txt
WinWait, kk.txt - Notepad
WinSet, AlwaysOnTop, , kk.txt - Notepad
return

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], Capn Odin, dumbo, Spawnova, Yahoo [Bot] and 27 guests