Search found 858 matches
- 29 Mar 2024, 08:43
- Forum: Ask for Help (v2)
- Topic: (HELP) How to automate and execute all scripts into One Command
- Replies: 5
- Views: 197
Re: (HELP) How to automate and execute all scripts into One Command
Yeah why not, instead of using sleep(sleeptime), use the amount you want, like sleep(50)
- 21 Mar 2024, 13:18
- Forum: Ask for Help (v2)
- Topic: (HELP) How to automate and execute all scripts into One Command
- Replies: 5
- Views: 197
Re: (HELP) How to automate and execute all scripts into One Command
No more FX2 now. it is replaced with F7. (Updated the script above)
But regarding what you mentioned about the end key, I can't find any issue with sendinput('{alt down}{a down}s{alt up}{a up}'), I see it does exactly what you said.
But regarding what you mentioned about the end key, I can't find any issue with sendinput('{alt down}{a down}s{alt up}{a up}'), I see it does exactly what you said.
- 18 Mar 2024, 22:52
- Forum: Ask for Help (v2)
- Topic: How to checked/unchecked a row of a ListView by clicking on the text of that row
- Replies: 6
- Views: 195
Re: How to checked/unchecked a row of a ListView by clicking on the text of that row
Yeah good
In the end they are just examples, you can adjust them the way you like
What you need to know is how their events behave.
In the end they are just examples, you can adjust them the way you like
What you need to know is how their events behave.
- 18 Mar 2024, 04:39
- Forum: Ask for Help (v2)
- Topic: (HELP) How to automate and execute all scripts into One Command
- Replies: 5
- Views: 197
Re: (HELP) How to automate and execute all scripts into One Command
I see you want to combine all those keystrokes into FX2 right? And the addional keys, it is like you want to fire them not use them as names for hotkeys for other tasks If so Make sure you do a copy of your work before you test this #requires autohotkey v2.0 #singleinstance force processsetpriority(...
- 18 Mar 2024, 02:54
- Forum: Ask for Help (v2)
- Topic: How to checked/unchecked a row of a ListView by clicking on the text of that row
- Replies: 6
- Views: 195
Re: How to checked/unchecked a row of a ListView by clicking on the text of that row
Try this #Requires AutoHotkey v2.0 #SingleInstance Force ; Example 1 G := Gui() LV1 := G.AddListView('Checked Multi', ['Col 1']) Loop 5 { LV1.Add(, 'Row ' A_Index) } LV1.OnEvent('ItemSelect', ToggleCheck1) ToggleCheck1(GuiCtrlObj, Item, Selected) { If Selected { LV1.Modify(Item, 'Check') } Else { LV...
- 17 Mar 2024, 12:54
- Forum: Ask for Help (v2)
- Topic: How to provide a scroll bar to a CheckBox Group
- Replies: 4
- Views: 87
- 17 Mar 2024, 11:28
- Forum: Ask for Help (v2)
- Topic: GUI with scroll bars
- Replies: 1
- Views: 89
GUI with scroll bars
Hi everyone! I have found this class which does add a scroll bars to a gui, which is running perfect when I first tested it. But the issue appeared when I tried to apply the same on another GUI in same script which seems to have some conflicts between each other, it is like when I scroll the first G...
- 14 Mar 2024, 10:47
- Forum: Ask for Help (v2)
- Topic: how to make a script a .exe file
- Replies: 6
- Views: 118
- 10 Feb 2024, 16:15
- Forum: Ask for Help (v2)
- Topic: Combining the Run command with parameters and variables Topic is solved
- Replies: 7
- Views: 316
Re: Combining the Run command with parameters and variables Topic is solved
I have just tested the run command in this piece of code Loop Files, original_folder "\*.rar" RunWait 'winrar x ' . original_folder . "\*.rar" . " " . destination_folder It runs perfectly, but here using a wildcard you are going to extract all the rar files their number times in the original_folder ...
- 09 Feb 2024, 11:50
- Forum: Ask for Help (v2)
- Topic: huge request
- Replies: 6
- Views: 202
Re: huge request
I have tried 2 tools: Recuva EaseUS Data Recovery Wizard (Server seems to be down atm but there is plenty external sites I think) Recuva seems to get the job done, however I have to say that EaseUS Data Recovery Wizard is way more effective, I managed to restore like more than 100 GB of files (most ...
- 08 Feb 2024, 04:55
- Forum: Ask for Help (v2)
- Topic: Combining the Run command with parameters and variables Topic is solved
- Replies: 7
- Views: 316
Re: Combining the Run command with parameters and variables Topic is solved
Hi, I think this is just quotes issues assuming the winrar command line is correct. In short: At the last piece of code you posted, add a space after the x and remove the space before the \*.rar See Variables and Expressions . The last piece of code: Run 'winrar x' original_folder . " \*.rar" . " " ...
- 07 Feb 2024, 18:31
- Forum: Ask for Help (v2)
- Topic: huge request
- Replies: 6
- Views: 202
Re: huge request
If it is just a windows reinstalling, there are several recovery tools may get it back, who knows maybe you can get it back.
- 06 Jan 2024, 16:55
- Forum: Ask for Help (v2)
- Topic: Transparent background for a GUI
- Replies: 4
- Views: 402
Re: Transparent background for a GUI
For this task, you can try the following: Added events for buttons in the picture as well! (No animation on click) #Requires AutoHotkey v2.0 #SingleInstance Force OGui := Gui('-Caption') OGui.OnEvent('Close', (*) => ExitApp()) OGui.MarginX := OGui.MarginY := 0 Back := OGui.AddPicture(, 'Cheec.png') ...
- 29 Dec 2023, 03:47
- Forum: Ask for Help (v2)
- Topic: How I run another AHK script from another AHK script
- Replies: 9
- Views: 1847
Re: How I run another AHK script from another AHK script
That * asterik is not meant for a file name, it is meant to execute a given code as a new process without the need to create an ahk script.
If you like to run a new ahk script, you just use Run(Path/To/Your/New/Script) in the case that AutoHotkey is installed on your system.
If you like to run a new ahk script, you just use Run(Path/To/Your/New/Script) in the case that AutoHotkey is installed on your system.
- 25 Dec 2023, 15:16
- Forum: Ask for Help (v2)
- Topic: How I run another AHK script from another AHK script
- Replies: 9
- Views: 1847
Re: How I run another AHK script from another AHK script
? :arrow: Example 8 #Requires AutoHotkey v2 ExecScript('Msgbox("Hi")') ExecScript(' ( Msgbox("Hi again") Msgbox("and again Hi") )') ExecScript(Script, Wait := True) { shell := ComObject("WScript.Shell") exec := shell.Exec("AutoHotkey.exe /ErrorStdOut *") exec.StdIn.Write(Script) exec.StdIn.Close() i...
- 22 Dec 2023, 17:52
- Forum: Forum Issues
- Topic: Did some topics deleted?
- Replies: 2
- Views: 437
Re: Did some topics deleted?
Yup I think I will do
- 22 Dec 2023, 17:45
- Forum: Forum Issues
- Topic: Did some topics deleted?
- Replies: 2
- Views: 437
Did some topics deleted?
I did create a thread yesterday which I can't find today
Title say: Is this a correct conversion of C line into AHK?
Note, Notifications about it are deleted too!
[Mod edit: Moved from AHK v2 help.]
Title say: Is this a correct conversion of C line into AHK?
Note, Notifications about it are deleted too!
[Mod edit: Moved from AHK v2 help.]
- 10 Dec 2023, 01:35
- Forum: Ask for Help (v2)
- Topic: Draw border arround active window V2 ?
- Replies: 5
- Views: 375
Re: Draw border arround active window V2 ?
Well I think you got it ! see @asc answer.Do you know how to make this script draws border on specific window, because now, it draws border on any active window
- 09 Dec 2023, 16:12
- Forum: Ask for Help (v2)
- Topic: Draw border arround active window V2 ?
- Replies: 5
- Views: 375
Re: Draw border arround active window V2 ?
Tried to convert yours to v2 ; V1 ====================================== ;Gui, +Lastfound +AlwaysOnTop +Toolwindow border_thickness := 3 border_color := 'red' ; set the background for the GUI window G := Gui('+Lastfound +AlwaysOnTop -Caption') ; set the color of the border G.BackColor := border_colo...
- 05 Nov 2023, 14:45
- Forum: Ask for Help (v2)
- Topic: Color when hovering above button
- Replies: 2
- Views: 236