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

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
MarkSilva
Posts: 9
Joined: 20 Mar 2017, 05:17
Contact:

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: 16931
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

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 (v1)”

Who is online

Users browsing this forum: Google [Bot], scriptor2016 and 380 guests