Search found 151 matches

by joshatt
04 Jan 2022, 21:39
Forum: Ask for Help (v1)
Topic: GUI: edit as radio group item? Topic is solved
Replies: 7
Views: 742

Re: GUI: edit as radio group item? Topic is solved

@joshatt thank you , small modified for better input ;-------------------------------------------------------- ;- when start see last settings ;- saves 3 states from Checkbox which is a RadioButton ;- saves 3 inputs from EDIT to a csv-file ;- run selected RadioButton ;------------------------------...
by joshatt
03 Jan 2022, 09:04
Forum: Scripts and Functions (v1)
Topic: simplest regex multi files renamer
Replies: 4
Views: 954

simplest regex multi files renamer

I know this renamer code is way too simple, but it's the easiness of drag&drop files with ahk that makes me happy. #singleinstance,force gui,new,,Regex Multi Files Renamer gui,add,button,w250 h100,drag&&drop files here gui,show Return guidropfiles: Loop, Parse, A_GuiEvent, `n { thiscount := 0 new :=...
by joshatt
03 Jan 2022, 08:02
Forum: Ask for Help (v1)
Topic: GUI: edit as radio group item? Topic is solved
Replies: 7
Views: 742

Re: GUI: edit as radio group item? Topic is solved

also an example with edit, radiobox, iniread/write EDIT = modified ;- when start see last settings ;- saves 3 states from Checkbox which is a RadioButton ;- saves 3 inputs from EDIT ;- run selected RadioButton ;-------------------------------------------------------- ;- when start see last settings...
by joshatt
29 Dec 2021, 21:12
Forum: Ask for Help (v1)
Topic: GUI: edit as radio group item? Topic is solved
Replies: 7
Views: 742

Re: GUI: edit as radio group item? Topic is solved

boiler wrote:
29 Dec 2021, 21:09
Your plan sounds right on. Go ahead and get started and post your code if you get stuck. Good luck!
Thank you.
by joshatt
29 Dec 2021, 20:52
Forum: Ask for Help (v1)
Topic: GUI: edit as radio group item? Topic is solved
Replies: 7
Views: 742

GUI: edit as radio group item? Topic is solved

Hi, Recently I begin to learn GUI. I have this plan in a code: something like a radio group - selecting one item will turn off others; some items are edit boxes; when GUI closed, write items and active item to ini file, and read from ini file when GUI is ran next time......I guess this one is feasib...
by joshatt
16 Dec 2021, 06:40
Forum: Ask for Help (v1)
Topic: variable in GUI, really a variable? Topic is solved
Replies: 2
Views: 458

Re: variable in GUI, really a variable? Topic is solved

mikeyww wrote:
16 Dec 2021, 06:26
It worked when I tried it.

To capture the variable later, submit the GUI. Example
Spot on! Thanks a lot!
by joshatt
16 Dec 2021, 06:18
Forum: Ask for Help (v1)
Topic: variable in GUI, really a variable? Topic is solved
Replies: 2
Views: 458

variable in GUI, really a variable? Topic is solved

#Persistent gui, add, edit ,w600 vVarGUI gui, add, button,,good gui, show Return Buttongood: MsgBox,1-%cb%___2-%VarGUI% Return OnClipboardChange: cb:=Clipboard Sleep,100 GuiControl,,VarGUI,%cb% return With the above experiment, (run it, then copy any text, it will capture the clipboard), VarGUI pro...
by joshatt
24 Aug 2021, 23:23
Forum: Ask for Help (v1)
Topic: msgbox buttons? Topic is solved
Replies: 2
Views: 219

Re: msgbox buttons? Topic is solved

gregster wrote:
24 Aug 2021, 20:54
Thanks, you saved my day!
by joshatt
24 Aug 2021, 20:41
Forum: Ask for Help (v1)
Topic: msgbox buttons? Topic is solved
Replies: 2
Views: 219

msgbox buttons? Topic is solved

Following documentation about msgbox, I did a simple test, the result is confusing. First with 2 buttons: msgbox,4,,sometext ifmsgbox yes do A else return it works. But then with 3 buttons: msgbox,3,,sometext ifmsgbox yes do A ifmsgbox no do B else return This time no matter what I choose, it return...
by joshatt
28 Dec 2020, 08:07
Forum: Ask for Help (v1)
Topic: run %comspec% problem Topic is solved
Replies: 4
Views: 262

Re: run %comspec% problem Topic is solved

mikeyww wrote:
27 Dec 2020, 21:01
There are multiple issues here......
Thanks for detailed explanation. I've learned so much from you. Appreciate it.
by joshatt
27 Dec 2020, 20:28
Forum: Ask for Help (v1)
Topic: run %comspec% problem Topic is solved
Replies: 4
Views: 262

Re: run %comspec% problem Topic is solved

In Win batch commands, variables are not "seen" when & joins commands on the same line. They are seen on subsequent lines. Thanks for fast response. Sorry I did not follow you, could you explain on "subsequent line"? I tried adding more lines with simple echo, it works, just this line echoing varia...
by joshatt
27 Dec 2020, 19:18
Forum: Ask for Help (v1)
Topic: run %comspec% problem Topic is solved
Replies: 4
Views: 262

run %comspec% problem Topic is solved

Code: Select all

;-------- multi commands:
comms = echo 1
&& set c=23
&& echo:%c%

run, %comspec% /k %comms%,,,pid1
With this structure, c does not echo out, turns out to be a blank line. But then when I echo %c% manually, it's normal.
Any idea?
by joshatt
25 Dec 2020, 22:05
Forum: 脚本函数
Topic: 多线程系统代理下载tube1080p视频
Replies: 4
Views: 4542

Re: 多线程系统代理下载tube1080p视频

@garry
Marvellous! Thanks a lot.
by joshatt
24 Dec 2020, 22:07
Forum: 脚本函数
Topic: 多线程系统代理下载tube1080p视频
Replies: 4
Views: 4542

多线程系统代理下载tube1080p视频

EnvGet, ovx, WG_STARTPOINT_X EnvGet, ovy, WG_STARTPOINT_Y MouseMove,%ovx%,%ovy% clipboard = ; Empty the clipboard click,right sleep,100 send,e ClipWait, 2 if ErrorLevel { return } cb := Clipboard tooltip,% cb sleep,1000 tooltip SetWorkingDir, h:\youtube-dlc if(InStr(cb, "https://")>0 or InStr(cb, "...
by joshatt
24 Dec 2020, 09:13
Forum: Ask for Help (v1)
Topic: send text to cmd window,text will change Topic is solved
Replies: 2
Views: 425

Re: send text to cmd window,text will change Topic is solved

send2DOS example , maybe use > {text} #warn #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. wa:=a_sc...
by joshatt
24 Dec 2020, 03:26
Forum: Ask for Help (v1)
Topic: send text to cmd window,text will change Topic is solved
Replies: 2
Views: 425

send text to cmd window,text will change Topic is solved

SendMode Input SetWorkingDir, h:\youtube-dlc Run, cmd.exe,,,vid WinWaitActive, ahk_pid %vid% ControlSend, ahk_parent, set url=http://127.0.0.1:8889 {enter}, ahk_pid %vid% ControlSend, ahk_parent, echo `%url`% {Enter}, ahk_pid %vid% The result, I could see in lines of "set" and "echo" at the same ti...
by joshatt
08 Dec 2020, 07:22
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1087
Views: 567964

Re: FindText - Capture screen image into text and then find it Topic is solved

In addition to adjusting the fault tolerance threshold, I recommend using multiple similarity texts to search together, for example: Text:="|<abc_1>......" Text.="|<abc_2>......" Text.="|<abc_3>......" if (ok:=FindText(0, 0, A_ScreenWidth, A_ScreenHeight, 0.1, 0.1, Text)) Sounds great! I'll try.
by joshatt
06 Dec 2020, 00:20
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1087
Views: 567964

Re: FindText - Capture screen image into text and then find it Topic is solved

I think I nailed it - to grab the last one of some repeated text targets in a browser. Problem here is: these texts are created by the browser, and background is pure and blank without image, so the targets should be the same, but they are just not. For anyone who wants to know, here's my steps: fin...
by joshatt
02 Dec 2020, 06:43
Forum: Ask for Help (v1)
Topic: one hotkey call another hotkey only in this window Topic is solved
Replies: 2
Views: 237

Re: one hotkey call another hotkey only in this window Topic is solved

mikeyww wrote:
02 Dec 2020, 06:32
.....
Marvellous! Thanks for your help.

Go to advanced search