Search found 1047 matches

by rommmcek
03 Aug 2020, 11:33
Forum: Gaming
Topic: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off
Replies: 163
Views: 22922

Re: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off

Now explain what in my last script doesn't work as expected. You've been talking about calling up the console. How do you this manually? What is console? Is this a Cmd window or some game Interface. You should give me some screen shots! I'm blindfolded! So the tilde ~ calls the consol, but form wher...
by rommmcek
03 Aug 2020, 07:39
Forum: Gaming
Topic: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off
Replies: 163
Views: 22922

Re: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off

Your feedback is vague (in general not just the last one)!
Does this script work if you run it and don't try to change the focus?
by rommmcek
01 Aug 2020, 05:12
Forum: Ask For Help
Topic: Help with script
Replies: 4
Views: 1626

Re: Help with script

Try:

Code: Select all

loop {
    ControlSend,, {F11}, Target App ; Title of Target App (case sensitive)
    Sleep 2000
    ControlSend,, ^{F11}, Target App ; Title of Target App (case sensitive)
    Sleep 120000
}

Esc:: ExitApp
by rommmcek
31 Jul 2020, 18:23
Forum: Ask For Help
Topic: simple script
Replies: 4
Views: 1535

Re: simple script

Your code line works for me. Try Numpad1::Send #{1} if it makes any difference!
by rommmcek
31 Jul 2020, 17:53
Forum: Gaming
Topic: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off
Replies: 163
Views: 22922

Re: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off

This should be identical to other script with the same feature as script above : #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior ...
by rommmcek
31 Jul 2020, 17:16
Forum: Ask For Help
Topic: Dark Theme for Controls?
Replies: 2
Views: 1121

Re: Dark Theme for Controls?

Take a look here. But note that other controls are difficult to customize and it would be hard to find someone to do that.
by rommmcek
31 Jul 2020, 15:44
Forum: Ask For Help
Topic: Help with script
Replies: 4
Views: 1626

Re: Help with script

Try:

Code: Select all

loop {
    Send {F11}
    Sleep 2000
    Send ^{F11}
    Sleep 120000
}

Esc:: ExitApp
by rommmcek
29 Jul 2020, 17:08
Forum: Scripts and Functions
Topic: Using Google Translate to automate text translation
Replies: 122
Views: 27947

Re: Using Google Translate to automate text translation

I was referring at oJSON array not Ahk array. Never mind, I did it for you. Please test script above . I edited it! [Edit]: I made a third (unfunctional) edit. P.s.: This has nothing to do with the knowledge it's pure logic. But obviously it was easier for me having some previous experience... P.p.s...
by rommmcek
29 Jul 2020, 16:26
Forum: Scripts and Functions
Topic: Using Google Translate to automate text translation
Replies: 122
Views: 27947

Re: Using Google Translate to automate text translation

O.k. json is: [[["英語","English",null,null,2] ,[null,null,"Eigo","ˈiNG(ɡ)liSH"] ] ,[["noun",["英語","英国人"] ,[["英語",["English","English language"] ,null,0.47980523] ,["英国人",["English","Englishman"] ] ] ,"English",1] ,["adjective",["英国の","英語の"] ,[["英国の",["English","British"] ] ,["英語の",["English"] ] ] ,"E...
by rommmcek
29 Jul 2020, 15:53
Forum: Scripts and Functions
Topic: Using Google Translate to automate text translation
Replies: 122
Views: 27947

Re: Using Google Translate to automate text translation

The image you posted is not visible/downloadable! Can you edit it? O.k. I see it now As for your question about learning, I'm probably not the right address. I don't know neither Java nor Json and very little COM including the terminology. What I've done is: MsgBox % json := SendRequest(JS, str, to,...
by rommmcek
29 Jul 2020, 07:59
Forum: Scripts and Functions
Topic: Using Google Translate to automate text translation
Replies: 122
Views: 27947

Re: Using Google Translate to automate text translation

@ kairushinjuu : Sure no problem! #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptD...
by rommmcek
27 Jul 2020, 13:41
Forum: Gaming
Topic: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off
Replies: 163
Views: 22922

Re: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off

Have no game, hence no dev console! …. Sleep, 30000 ; 30 sec. ; unclear!!! Send, {~} ; After tilde there is no Send, {Enter} !!!!!!!!! Look back on previous page! Should it be after all ????? Sleep, 300 ; some time betwixt the entries (may vary form 0 to 500 ms or more) Send, messagemode 1 …. …. Sen...
by rommmcek
26 Jul 2020, 16:05
Forum: Scripts and Functions
Topic: Using Google Translate to automate text translation
Replies: 122
Views: 27947

Re: Using Google Translate to automate text translation

@ kairushinjuu : Sorry for the ambiguous instruction, but obviously you figured it out alone! As for the transliteration try attached script if it suits you with your Click and drag main HotKey. Other Hotkeys: Esc : Hide Gui, F2 : Show Last Gui, !Left and XButton1 : History Back, !Right and XButton2...
by rommmcek
25 Jul 2020, 19:14
Forum: Scripts and Functions
Topic: Using Google Translate to automate text translation
Replies: 122
Views: 27947

Re: Using Google Translate to automate text translation

~LButton:: ;Loop, { clipboard := "" MouseGetPos, x, y KeyWait, LButton MouseGetPos, x0, y0 If (abs(x-x0) > 1 or abs(y-y0) > 1){ Send ^c ClipWait, 0 If (RegExmatch(clipboard, "[^\x00-\x7F]")) { ; WORKS Tooltip, % GoogleTranslate(clipboard) } Else { Tooltip, % GoogleTranslate(clipboard,, "ja") ;DOES ...
by rommmcek
22 Jul 2020, 13:05
Forum: Gaming
Topic: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off
Replies: 163
Views: 22922

Re: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off

This now uses the same method as the script you reported that works: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and re...
by rommmcek
19 Jul 2020, 17:12
Forum: Ask For Help
Topic: Get per-logical core CPU times? Topic is solved
Replies: 3
Views: 2003

Re: Get per-logical core CPU times? Topic is solved

Try this batch: rem Save this code into e.g. "Get number of Logical cores.bat" and run it @echo Off set /a c=0 :repeat rem for /f skip^=2^ tokens^=3^ delims^=^" %%p in ('typeperf "\Processor(0)\%% Processor Time" -sc 1') do @echo %%p for /f skip^=2^ tokens^=3^ delims^=^" %%p in ('typeperf "\Processo...
by rommmcek
19 Jul 2020, 00:46
Forum: Ask For Help
Topic: Get per-logical core CPU times? Topic is solved
Replies: 3
Views: 2003

Re: Get per-logical core CPU times? Topic is solved

The best I can help is this cmd command line: typeperf "\Processor(%logical_core%)\% Processor Time" -sc 1 where logical_core is 0 based number of total logical cores.
by rommmcek
18 Jul 2020, 13:57
Forum: Ask For Help
Topic: Two problems
Replies: 7
Views: 2341

Re: Two problems

@gregster: Thanks for the Text mode, I didn't used it for quite a while...

Go to advanced search