Search found 117 matches

by woshichuanqilz72
23 Nov 2015, 02:42
Forum: Ask for Help (v1)
Topic: How to Make hotkey thread restart
Replies: 2
Views: 902

How to Make hotkey thread restart

for example , !p:: { step A step B step C } When I press !p for the first time, and when the script is reach the step B , I press !p again, and here I want to terminal the current thread, and rerun the !p from step A, How can I make it? I read the help file and can't find the corresponding info, loo...
by woshichuanqilz72
23 Nov 2015, 02:41
Forum: Ask for Help (v1)
Topic: How to Make hotkey thread restart
Replies: 0
Views: 529

How to Make hotkey thread restart

for example , !p:: { step A step B step C } When I press !p for the first time, and when the script is reach the step B , I press !p again, and here I want to terminal the current thread, and rerun the !p from step A, How can I make it? I read the help file and can't find the corresponding info, loo...
by woshichuanqilz72
21 Nov 2015, 03:47
Forum: Ask for Help (v1)
Topic: How can I change screen resolution in win10
Replies: 7
Views: 5022

How can I change screen resolution in win10

The below code works fine in winxp and win7 But it can't work in win10, how can I fix it? F12:: ;改变显示分辨率为1024*768 winxp,win7正常工作,求改为win10可用 w=1280 h=1024 VarSetCapacity(dM,156,0) NumPut(156,dM,36) NumPut(0x5c0000,dM,40) NumPut(w,dM,108) NumPut(h,dM,112) DllCall( "ChangeDisplaySettingsA", UInt,&dM, U...
by woshichuanqilz72
10 Nov 2015, 04:39
Forum: Ask for Help (v1)
Topic: Question about the process in the quoted statement in the filepath
Replies: 1
Views: 642

Re: Question about the process in the quoted statement in the filepath

Oh, I get it

Cmdline := """" . """" . "D:\Progra~1\BeyondCompare\Beyond~1\BCompare.exe" . """" . " " . """" . "1.ini" . """" . " " . """" . "2.ini" . """" . """" ; this works , but why? use """" surround.
by woshichuanqilz72
10 Nov 2015, 04:33
Forum: Ask for Help (v1)
Topic: Question about the process in the quoted statement in the filepath
Replies: 1
Views: 642

Question about the process in the quoted statement in the filepath

Cmdline := """" . "D:\Program Files\BeyondCompare\Beyond Compare\BCompare.exe" . """" . " " . "1.ini" ; worked CmdlineWrong := """" . "D:\Program Files\BeyondCompare\Beyond Compare\BCompare.exe" . """" . " " . """" . "1.ini" """" ; doesn't worked. The error show in the command line is D:\Program is...
by woshichuanqilz72
07 Nov 2015, 04:08
Forum: Ask for Help (v1)
Topic: If you read Escape character from a file, the Escape character will be process seperately
Replies: 2
Views: 863

If you read Escape character from a file, the Escape character will be process seperately

How can I process this problem, make a judge ment every time I read the file.

for example that if you read `n in a file, I will be regard as a string with two character '`' and 'n', not a escape character.
by woshichuanqilz72
06 Nov 2015, 07:52
Forum: Ask for Help (v1)
Topic: Is SciTE get the symbol list window
Replies: 0
Views: 539

Is SciTE get the symbol list window

for example I get 3 func in the current ahk file named fooA(), fooB(), fooC()

the symbol list window list the 3 func out and when I click on the name of a certain func , the curor jump to the corresponding position.
by woshichuanqilz72
06 Nov 2015, 03:12
Forum: Ask for Help (v1)
Topic: how to dection the input of Chinese
Replies: 7
Views: 4282

Re: how to dection the input of Chinese

Supposing that one uses the Unicode version of Autohotkey; the format of the file that you have saved is in UTF-8 without BOM. Make sure that you're saving the file as UTF-8 _with BOM_ or as UTF-16LE _with BOM_. Or specify that the file is in UTF-8 through command line with /CP65001 . The character...
by woshichuanqilz72
06 Nov 2015, 03:12
Forum: Ask for Help (v1)
Topic: how to dection the input of Chinese
Replies: 7
Views: 4282

Re: how to dection the input of Chinese

I'd try a RegExMatch against the input. I found some reference material for the \P{Han} character parameter here: http://www.pcre.org/pcre.txt Test := "键" Test := RegExMatch(Test, "\P{Han}") MsgBox, 0x40000,, % Test, 2 ExitApp this is what I found on the web you post. Tnx a lot. \p{xx} a character ...
by woshichuanqilz72
21 Oct 2015, 23:07
Forum: Ask for Help (v1)
Topic: Google Translator as Tooltip - Script not working any more
Replies: 36
Views: 20019

Re: Google Translator as Tooltip - Script not working any more

How about http://www.bing.com/translator? mTranslate(str, tolang := "zh-CHS", switchLang := "en") { static appid ; -------- Get appId If !appid { url := "http://www.bing.com/translator/dynamic/223578/js/LandingPage.js?phenabled=&rttenabled=&v=223578" referer := "http://www.bing.com/translator/" Whi...
by woshichuanqilz72
21 Oct 2015, 04:17
Forum: Ask for Help (v1)
Topic: how to dection the input of Chinese
Replies: 7
Views: 4282

Re: how to dection the input of Chinese

I'd try a RegExMatch against the input. I found some reference material for the \P{Han} character parameter here: http://www.pcre.org/pcre.txt Test := "键" Test := RegExMatch(Test, "\P{Han}") MsgBox, 0x40000,, % Test, 2 ExitApp tnx for your reply. I use your test and get the result of test is "0", w...
by woshichuanqilz72
20 Oct 2015, 06:25
Forum: Ask for Help (v1)
Topic: how to dection the input of Chinese
Replies: 7
Views: 4282

how to dection the input of Chinese

I can use the func input to detect the input of the English user input, but I want to get the Chinese input in time , what should I do? http://static.zybuluo.com/woshichuanqilz/2t65tfw8n720kzf5zmy1agk9/11.png As you see the input will be hold by a input software panel first. What I want is to make t...
by woshichuanqilz72
08 Oct 2015, 08:59
Forum: Ask for Help (v1)
Topic: How to get the state of the control in the Dui Window
Replies: 0
Views: 745

How to get the state of the control in the Dui Window

As we know that the dui window just have one handle, so if you use the spy tool to detect window you can't get the specified info about certain window.

Now I want to focus on a control in a dui window, what should I do ?

controlfocus seems don't work.
by woshichuanqilz72
08 Oct 2015, 08:55
Forum: Ask for Help (v1)
Topic: Google Translator as Tooltip - Script not working any more
Replies: 36
Views: 20019

Re: Google Translator as Tooltip - Script not working any mo

if i copy the url in the firefox, I can get the text about the translate result. url := "https://translate.google.com/translate_a/single?client=t&sl=" sl "&tl=" tl . "&dt=bd&dt=ex&dt=ld&dt=md&dt=qca&dt=rw&dt=rm&dt=ss&dt=t&dt=at&ie=UTF-8&oe=UTF-8&otf=2&srcrom=0&ssel=0&tsel=3&q=" string But when I ru...
by woshichuanqilz72
08 Oct 2015, 03:38
Forum: Ask for Help (v1)
Topic: Google Translator as Tooltip - Script not working any more
Replies: 36
Views: 20019

Re: Google Translator as Tooltip - Script not working any mo

Try this: ~^C:: If isDoublePress() { ToolTip, Translating... ToolTip, % gTranslate(Clipboard, "ru") KeyWait, LButton, Down ToolTip } Return gTranslate(string, tl = "", sl = "") { static whr := ComObjCreate("WinHttp.WinHttpRequest.5.1") url := "https://translate.google.com/translate_a/single?client=...
by woshichuanqilz72
07 Oct 2015, 04:54
Forum: 相关工具
Topic: 炫彩界面库
Replies: 4
Views: 20259

Re: 炫彩界面库

wonderful~
by woshichuanqilz72
06 Oct 2015, 00:45
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 835
Views: 628497

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

I add a keyword into the ahk.api by ahk func 'fileapppend', how can I reload the ahk.api without reboot the SciTE .

I call the com oSciTE.ReloadProps(), and it doesn't work. Look forward to you reply.

Go to advanced search