Search found 19 matches

by SkyLife
28 Sep 2018, 11:54
Forum: Ask for Help (v1)
Topic: question about array Topic is solved
Replies: 3
Views: 761

Re: question about array Topic is solved

thank for your helping!
it works perfect!
by SkyLife
28 Sep 2018, 11:26
Forum: Ask for Help (v1)
Topic: question about array Topic is solved
Replies: 3
Views: 761

question about array Topic is solved

I have a text file(XXX.txt), and it`s content : {"A":{},"B":{},"C":{"a":["a1","a2","a3","a4"],"b":[],"c":[],"d":[],"e":[]}}

this is a string,but i need to convert it into a array.

when I use "fileread" , it always store as value, not an object.
by SkyLife
05 Apr 2018, 02:21
Forum: Gaming Scripts (v1)
Topic: Changing keybinds
Replies: 1
Views: 1749

Re: Changing keybinds

While, GetKeyState("a","P")

While, GetKeyState("Xbutton2","P")
by SkyLife
07 Jan 2018, 03:33
Forum: 请求帮助
Topic: GUI Tab3 不起作用
Replies: 0
Views: 2017

GUI Tab3 不起作用

Tab Tab2创建出来的控制項都会超过Tab,Tab2的滚轮完全没作用。Tab3可以但是滚轮不起作用 希望有人能帮忙 #SingleInstance, force #NoEnv #InstallKeybdHook #InstallMouseHook DetectHiddenWindows, On Process, Priority, , High SetBatchLines, -1 SetWinDelay, -1 Gui, Color, white Gui, Font, bold cBlack Gui, Add, Tab2, +VScroll h560 w770 vMyTab, Tab Lo...
by SkyLife
07 Jan 2018, 00:09
Forum: Ask for Help (v1)
Topic: About detecting a key Topic is solved
Replies: 4
Views: 1234

Re: About detecting a key Topic is solved

Well I think this question can only be solved by this method.
by SkyLife
06 Jan 2018, 06:17
Forum: Ask for Help (v1)
Topic: GUI Tab can't limit the controls.
Replies: 2
Views: 592

Re: GUI Tab can't limit the controls.

Thanks for your answer.
But, what I want is to use Scroll within Tab instead of GUI.
I hope to find a way to limit the inserted Controls to the height of the Tab I want.
Your code will change the height of Tab, and can't work Smoothly.
by SkyLife
06 Jan 2018, 05:01
Forum: Ask for Help (v1)
Topic: GUI Tab can't limit the controls.
Replies: 2
Views: 592

GUI Tab can't limit the controls.

The scroll can't work. Controls inside the Tab are always out of it's height limit. #SingleInstance, force #NoEnv #InstallKeybdHook #InstallMouseHook DetectHiddenWindows, On Process, Priority, , High SetBatchLines, -1 SetWinDelay, -1 Gui, Color, white Gui, Font, bold cBlack Gui, Add, Tab2, +VScroll ...
by SkyLife
23 Dec 2017, 21:43
Forum: 请求帮助
Topic: 關於偵測按鍵 Topic is solved
Replies: 4
Views: 9406

Re: 關於偵測按鍵 Topic is solved

謝謝你的回覆,我已經找到更好的方法了
by SkyLife
23 Dec 2017, 20:23
Forum: Ask for Help (v1)
Topic: About detecting a key Topic is solved
Replies: 4
Views: 1234

Re: About detecting a key Topic is solved

Thanks of your answer. This code help me a lot.
Althought it work well , there is a problem about this code.
Hotkey "DELETE", "END", and "PGDN"...are bound, but it can`t detect.
by SkyLife
23 Dec 2017, 06:37
Forum: Ask for Help (v1)
Topic: About detecting a key Topic is solved
Replies: 4
Views: 1234

About detecting a key Topic is solved

I want to detect what key I pressed and execute the command when pressed, as listed below, but putting all the keys in it would require too many columns UCR released by evilC has such a feature https://autohotkey.com/boards/viewtopic.php?t=12249 I hope someone can help Detecting all the keys on the ...
by SkyLife
23 Dec 2017, 05:52
Forum: 请求帮助
Topic: 關於偵測按鍵 Topic is solved
Replies: 4
Views: 9406

Re: 關於偵測按鍵 Topic is solved

你給的例子並不能解決我的問題
這只能知道次數,而且我需要創建無數個熱鍵
by SkyLife
23 Dec 2017, 01:03
Forum: 请求帮助
Topic: 關於偵測按鍵 Topic is solved
Replies: 4
Views: 9406

關於偵測按鍵 Topic is solved

我希望能偵測到我按下了什麼鍵且能在按下的時候執行命令,像是下面所列的,但是要把所有的按鍵都列進去會需要太多列 evilC發布的UCR有這樣的功能 https://autohotkey.com/boards/viewtopic.php?t=12249 希望有人能幫忙 能偵測鍵盤上的所有按鍵是最好的 Gui, new Gui +ToolWindow -Border Gui, Font, S15 Gui, Add, Text, Center, 按下想要替換的按鍵 Gui, Show Loop { if getkeystate("A", "P" ) { MsgBox 你按下了A ExitApp } i...
by SkyLife
14 Jul 2017, 00:15
Forum: Gaming Help (v1)
Topic: some problem with if
Replies: 3
Views: 826

Re: some problem with if

Before I use % %, (OutputVar1_ = OutputVar1) is not work.
by SkyLife
13 Jul 2017, 22:16
Forum: Gaming Help (v1)
Topic: some problem with if
Replies: 3
Views: 826

some problem with if

SetDefaultMouseSpeed, 0 CoordMode, Pixel, window *MButton:: SoundBeep, 2000, 500 PixelGetColor, OutputVar1, 836, 521, slow PixelGetColor, OutputVar2, 836, 529, slow PixelGetColor, OutputVar3, 844, 521, slow PixelGetColor, OutputVar4, 844, 529, slow Loop { if not GetKeyState("MButton","P") break Pix...
by SkyLife
20 May 2017, 20:03
Forum: Ask for Help (v1)
Topic: if getkeystate Topic is solved
Replies: 3
Views: 1217

Re: if getkeystate Topic is solved

OK, I got it.
Thanks!
by SkyLife
20 May 2017, 05:51
Forum: Ask for Help (v1)
Topic: if getkeystate Topic is solved
Replies: 3
Views: 1217

if getkeystate Topic is solved

Code: Select all

a::
if GetKeyState("a", "P")
{	
	MsgBox 1
}
return
this code can work, but I don`t want this.

Code: Select all

if GetKeyState("a", "P")
{	
	MsgBox 1
}
return
why the code above cannot work?
by SkyLife
19 May 2017, 02:13
Forum: 请求帮助
Topic: 关于Checkbox Topic is solved
Replies: 2
Views: 6293

Re: 关于Checkbox Topic is solved

谢谢
by SkyLife
18 May 2017, 21:16
Forum: 请求帮助
Topic: 关于Checkbox Topic is solved
Replies: 2
Views: 6293

关于Checkbox Topic is solved

Code: Select all

Gui, Show, w100 h100
Gui, add, checkbox, gStart x20 y40 , Start
Gui, add, checkbox, Disabled vA1 x20 y60 , A1 ;一开始就使不能是用的状态

Start:
{
	GuiControl, -Disabled , A1, ;选取Start后,让A1能使用
}
如何让Start取消选取时,A1变成不能使用

Go to advanced search