Search found 151 matches
- 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 ;------------------------------...
- 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 :=...
- 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...
- 29 Dec 2021, 21:42
- 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
Oh great, I found the answer here: https://www.autohotkey.com/board/topic/117379-link-a-radio-button-to-an-editbox/#entry674717
... by separating edit and radio.
... by separating edit and radio.
- 29 Dec 2021, 21:12
- Forum: Ask for Help (v1)
- Topic: GUI: edit as radio group item? Topic is solved
- Replies: 7
- Views: 742
- 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...
- 16 Dec 2021, 06:40
- Forum: Ask for Help (v1)
- Topic: variable in GUI, really a variable? Topic is solved
- Replies: 2
- Views: 458
- 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...
- 24 Aug 2021, 23:23
- Forum: Ask for Help (v1)
- Topic: msgbox buttons? Topic is solved
- Replies: 2
- Views: 219
- 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...
- 28 Dec 2020, 08:07
- Forum: Ask for Help (v1)
- Topic: run %comspec% problem Topic is solved
- Replies: 4
- Views: 262
- 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...
- 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
Any idea?
- 25 Dec 2020, 22:05
- Forum: 脚本函数
- Topic: 多线程系统代理下载tube1080p视频
- Replies: 4
- Views: 4542
Re: 多线程系统代理下载tube1080p视频
@garry
Marvellous! Thanks a lot.
Marvellous! Thanks a lot.
- 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, "...
- 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...
- 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...
- 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.
- 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...
- 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