mmikeww / AHK-v2-script-converter

AHK v1 -> v2 script converter
https://autohotkey.com/boards/viewtopic.php?f=6&t=25100
The Unlicense
555 stars 43 forks source link

WinSetAlwaysOnTop missing parameter #308

Closed boardtc closed 1 hour ago

boardtc commented 3 hours ago

V1:

+SPACE::  Winset, Alwaysontop, , A

V2 (Converted):

+SPACE::[WinSetAlwaysontop](https://www.autohotkey.com/docs/v2/lib/WinSetAlwaysOnTop.htm)(, "A")

V2 (Expected):

+SPACE::[WinSetAlwaysontop](https://www.autohotkey.com/docs/v2/lib/WinSetAlwaysOnTop.htm)(-1, "A")

Note: Difference between WinSet AlwaysOnTop (v1) and WinSetAlwaysOnTop (v2) when omitting the setting parameter: : The former toggles, the latter turns on.

Source: https://www.autohotkey.com/boards/viewtopic.php?f=82&t=134000&p=588883#p588883

Banaanae commented 1 hour ago

Duplicate of #307