Search found 15 matches

by Hatsuko
23 Dec 2018, 20:05
Forum: Ask for Help (v1)
Topic: Sublime Text code folding broken
Replies: 1
Views: 663

Re: Sublime Text code folding broken

I tried adding indents

Code: Select all

MyFunction() {
    CoordMode, Pixel, Screen
    ToolTip, myFunction() ,0,920
    functionName = SearchHashtag()
}
and place my caret inside the function, and then I can use ctrl+shift+[ to fold the function.
by Hatsuko
23 Dec 2018, 07:08
Forum: Scripts and Functions (v1)
Topic: [CLASS] CtlColors - color your controls (2017-10-30)
Replies: 67
Views: 38372

Re: [CLASS] CtlColors - color your controls (2017-10-30)

Does it actually log calls of OnKeyDown/OnKeyUp() after it stopped working ? Yes, it actually logs calls of OnKeyDown/OnKeyUp() after it stops working . I just tried it again and I found something even stranger. I added a ToolTip, % "OnKeyDown(" . keyName . ")" inside OnKeyDown/OnKeyUp() and I kept...
by Hatsuko
19 Dec 2018, 14:38
Forum: Ask for Help (v1)
Topic: How do I send a text Hotkey to a Notepad++ window
Replies: 4
Views: 1338

Re: How do I send a text Hotkey to a Notepad++ window

Not sure if this is what you want, but take a look at SendLevel. It has an example that triggers a hotstring via Send.
by Hatsuko
19 Dec 2018, 13:26
Forum: 请求帮助
Topic: 请问 Capslock改成BackSpace以后不能连续删除如何解决
Replies: 1
Views: 3300

Re: 请问 Capslock改成BackSpace以后不能连续删除如何解决

刚刚试了一下,我这边用 CapsLock::Send,{BackSpace} 可以连续删除耶

试试看用 Remapping Keys 行不行

Code: Select all

CapsLock::BackSpace
by Hatsuko
19 Dec 2018, 13:01
Forum: Ask for Help (v1)
Topic: Question about AutoHotkey storing hex and decimal numbers
Replies: 3
Views: 2388

Re: Question about AutoHotkey storing hex and decimal numbers

Thanks for the helpful replies!
Sometimes I just feel there are strange things in the AHK language. I haven't used AHK v2 yet, may try it in the future. By now I'll consider using jeeswg's way :)
by Hatsuko
19 Dec 2018, 00:44
Forum: 请求帮助
Topic: 求助:每隔三秒重新设置重映射如何实现?
Replies: 1
Views: 4005

Re: 求助:每隔三秒重新设置重映射如何实现?

从按下space起,每隔三秒,将space轮流重映射为3和4 只要space按下,每隔三秒,发送一次shift+click 这两行是要同时实现吗?如果是的话,不太明白确切什么意思。space 每隔三秒轮流映射成 3 和 4,而且每隔三秒发送 shift+click,所以是希望合并起来,每隔三秒轮流发送 shift+click+3/shift+click+4 吗?总之试着写了一下。 Space:: SendShiftClick3Or4() SetTimer, SendShiftClick3Or4, 3000 KeyWait, Space ; Waits for Space to be rele...
by Hatsuko
18 Dec 2018, 22:59
Forum: Ask for Help (v1)
Topic: Question about AutoHotkey storing hex and decimal numbers
Replies: 3
Views: 2388

Question about AutoHotkey storing hex and decimal numbers

foo := 15 bar := 0xF baz := 0xf MsgBox, , Title, %foo% ; (A) shows 15 MsgBox, , Title, %bar% ; (B) shows 0xF MsgBox, , Title, %baz% ; (C) shows 0xf foo += 0x0 bar += 0x0 baz += 0x0 MsgBox, , Title, %foo% ; (D) shows 15 MsgBox, , Title, %bar% ; (E) shows 15 MsgBox, , Title, %baz% ; (F) shows 15 Hell...
by Hatsuko
18 Dec 2018, 22:09
Forum: Ask for Help (v1)
Topic: URL with a # anchor
Replies: 2
Views: 738

Re: URL with a # anchor

I believe the AutoHotkey Run command is essential to using Win+R. I just tried using Win+R to run a file:/// url with anchor, and yes it brings up my browser and in the url bar there is no anchor.
by Hatsuko
18 Dec 2018, 19:41
Forum: 请求帮助
Topic: 请问如何实现在不同的窗口发送不同的命令?
Replies: 1
Views: 3570

Re: 请问如何实现在不同的窗口发送不同的命令?

Code: Select all

#IfWinActive, ADSL
	NumpadAdd::
		Send {SHIFTDOWN}9{SHIFTUP}
		Sleep, 100
		Send {CTRLDOWN}v{CTRLUP}
	Return
#If

#IfWinActive, Memo
	NumpadAdd::
		Send {SHIFTDOWN}9{SHIFTUP}
		Sleep, 100
		Send {CTRLDOWN}v{CTRLUP}
		Sleep, 100
		Send {SHIFTDOWN}0{SHIFTUP}
	Return
#If
这样是你想要的吗?
by Hatsuko
15 Dec 2018, 20:50
Forum: Scripts and Functions (v1)
Topic: [CLASS] CtlColors - color your controls (2017-10-30)
Replies: 67
Views: 38372

Re: [CLASS] CtlColors - color your controls (2017-10-30)

Does it actually log calls of OnKeyDown/OnKeyUp() after it stopped working ? Yes, it actually logs calls of OnKeyDown/OnKeyUp() after it stops working . I just tried it again and I found something even stranger. I added a ToolTip, % "OnKeyDown(" . keyName . ")" inside OnKeyDown/OnKeyUp() and I kept...
by Hatsuko
14 Dec 2018, 21:43
Forum: Scripts and Functions (v1)
Topic: [CLASS] CtlColors - color your controls (2017-10-30)
Replies: 67
Views: 38372

Re: [CLASS] CtlColors - color your controls (2017-10-30)

And i failed miserably.. I cannot understand how to do it.. Can you throw a bone a little further? :D I've got a program that changes the Gui controls based on a verification and then changes the value of the GUI Control accordingly. Gui, Add, Edit, x20 h19 y40 w40 hwndHTX1 +Center vHeaderStatus Gu...
by Hatsuko
14 Dec 2018, 20:38
Forum: Scripts and Functions (v1)
Topic: [CLASS] CtlColors - color your controls (2017-10-30)
Replies: 67
Views: 38372

Re: [CLASS] CtlColors - color your controls (2017-10-30)

Hello just me, First of all, thank you for this awesome class :D I have made a little input viewer with the help of Class_CtlColors . It looks like this: https://lh3.googleusercontent.com/1j_nS9SNXlSMMt3O7Wt3pE3ZExwaCwqwwX4fK-T-DXYRjLwUa3Ofo40J3pjkJyJa8BvdSXpofsTzBys3dGUKkHTMrhGw97np8XW7PaQxQW8apMK3...
by Hatsuko
13 Dec 2018, 02:59
Forum: Ask for Help (v1)
Topic: easier way
Replies: 6
Views: 1176

Re: easier way

I just recall that string can also be written in multiple lines . See if this works for you. #SingleInstance,force Your_List = ( .b Brewer 4361 .b Grinder 4449 .b Shelving 3908 .b Wifi 3708 .b Ice-Machine 2599 .b Blender 2178 .b Table 1286 .b Dishwasher 896 .b Seat 50 .b Espresso 44 .b Boiler 52 .b ...
by Hatsuko
13 Dec 2018, 02:27
Forum: Ask for Help (v1)
Topic: easier way
Replies: 6
Views: 1176

Re: easier way

Array can be written in multiple lines... is this easier to edit? #SingleInstance,force Your_List:= [".b Brewer 4361" ,".b Grinder 4449" ,".b Shelving 3908" ,".b Wifi 3708" ,".b Ice-Machine 2599" ,".b Blender 2178" ,".b Table 1286" ,".b Dishwasher 896" ,".b Seat 50" ,".b Espresso 44" ,".b Boiler 52"...
by Hatsuko
13 Dec 2018, 01:57
Forum: Ask for Help (v1)
Topic: Is there a way to customize the color of disabled GUI controls?
Replies: 0
Views: 574

Is there a way to customize the color of disabled GUI controls?

Hello everyone, I would like to know that is there a way to customize the color of disabled GUI controls, so that if I use GuiControl, Disable, ControlID to disable a control, it changes to a certain color (for example, black background color and white text color), and then if I use GuiControl, Enab...

Go to advanced search