Search found 524 matches
- 19 May 2022, 02:07
- Forum: SciTE4AutoHotkey
- Topic: SciTE4AutoHotkey v3.1.0
- Replies: 78
- Views: 29350
Re: SciTE4AutoHotkey v3.1.0
Think I found another bug that was introduced with the update. I cannot set break points for the debugger with this update. Had a friend try as well and he was unable to set them either. It also happened to me in the ZIP version, but I closed the application and when I started it again it worked Th...
- 05 May 2022, 01:47
- Forum: Ask for Help (v1)
- Topic: RegExMatch Percentages Topic is solved
- Replies: 5
- Views: 745
- 04 May 2022, 09:17
- Forum: Ask for Help (v1)
- Topic: RegExMatch Percentages Topic is solved
- Replies: 5
- Views: 745
Re: RegExMatch Percentages Topic is solved
Another way
Code: Select all
For K, V In Data {
RegExMatch(V,"^\w+\s(?<e1>\d+%\s\w+)\s(?<e2>\d+%\s\w+)",p)
Msgbox 0x40000,, % pe1 " " pe2
}
- 02 May 2022, 05:45
- Forum: Ask for Help (v1)
- Topic: Accessing & Changing variables from inside afunction
- Replies: 3
- Views: 412
Re: Accessing & Changing variables from inside afunction
you can define a variable for global use in the main section or in the function Method 1 Global x := 1 ^t::test() Return test() { if (x == 1) { msgBox, %x% ; should give 1 x := 0 } else { msgBox, %x% ; should give 0 x := 1 } } Method 2 x := 1 ^t::test() Return test() { Global x if (x == 1) { msgBox,...
- 02 May 2022, 04:14
- Forum: Ask for Help (v1)
- Topic: Accessing & Changing variables from inside afunction
- Replies: 3
- Views: 412
Re: Accessing & Changing variables from inside afunction
Use GLOBAL in the function
- 21 Apr 2022, 08:44
- Forum: Ask for Help (v1)
- Topic: ComboBox Search
- Replies: 4
- Views: 1027
Re: ComboBox Search
Thanks for the suggestion! I like how quick it is. However I need it to search the entire line and not just the first word. Example, if I type "Pike" it would need to present me a list of strings anywhere with the word Pike. Anyway to alter it to search the entire string? Sorry I can't get the DRoc...
- 21 Apr 2022, 01:58
- Forum: Ask for Help (v1)
- Topic: ComboBox Search
- Replies: 4
- Views: 1027
Re: ComboBox Search
Hi cjsmile999 Try this function from Pulover it works very well and is very fast #SingleInstance Force #include %A_Scriptdir% #Include CbAutoComplete.ahk Loop, read, List.txt List .= A_LoopReadLine "`n" Gui, % "+Delimiter" . "`n" Gui, Add, Combobox, W300 gAutoComplete, %List% Gui, Show,, CbAutoCompl...
- 20 Apr 2022, 07:36
- Forum: General Discussion
- Topic: Where is Lexikos?
- Replies: 7
- Views: 3018
Re: Where is Lexikos?
Lexikos is back!!!
welcome master
welcome master
- 20 Apr 2022, 07:29
- Forum: Ask for Help (v1)
- Topic: Letters disappearing after using Script!
- Replies: 7
- Views: 656
Re: Letters disappearing after using Script!
very well seenRohwedder wrote: ↑20 Apr 2022, 04:41Then the mail address starts with j
Another variant acceptable for me would be:Code: Select all
~j & x::Send, {Bs}[email protected] j:: Send, j KeyWait, j Return
- 20 Apr 2022, 04:25
- Forum: Ask for Help (v1)
- Topic: Letters disappearing after using Script!
- Replies: 7
- Views: 656
Re: Letters disappearing after using Script!
Another way
Code: Select all
~j & x::
Send [email protected]
Return
- 20 Apr 2022, 01:37
- Forum: Ask for Help (v1)
- Topic: Windows Task Manager Topic is solved
- Replies: 6
- Views: 974
Re: Windows Task Manager Topic is solved
Another way #NoEnv #SingleInstance force Gui, Font, s12, Verdana Bold Gui, Add, ListView, r20 w850 BackgroundBlack cWhite vLV grid altsubmit, Name|Parameters|ID for Item in ComObjGet( "winmgmts:" ).ExecQuery("Select * from Win32_Process WHERE Name = 'AUTOHOTKEY.exe'") { ToolTip % Item.Name " " Item....
- 06 Apr 2022, 03:57
- Forum: Ask for Help (v1)
- Topic: Date calculation - help!
- Replies: 1
- Views: 350
Re: Date calculation - help!
Hi Ednomine and Welcome to AHK Surely there is another more elegant way but..... try this. ClipBoard := "02-Gen-2000" Years := 15 Months := 0 Days := -1 RegExMatch(ClipBoard,"i)(?<DAY>^\d+)-(?>[a-zA-Z]+(?CChangeMonth))-(?<YEAR>\d+$)",p) NewDate := DateCalc(pYEAR month pDAY,Years,Months,Days) Msgbox ...
- 18 Mar 2022, 03:38
- Forum: Ask for Help (v1)
- Topic: How to get the status of the mute button Topic is solved
- Replies: 4
- Views: 766
Re: How to get the status of the mute button Topic is solved
This alternate toogle state on/off
For example:
Code: Select all
Send {Volume_Mute}
For example:
Code: Select all
#If MouseIsOver("ahk_class Shell_TrayWnd")
WheelDown::Volume_DOWN
WheelUp::Volume_UP
MButton::
Send {Volume_Mute}
Return
#if
MouseIsOver(WinTitle) {
MouseGetPos,,, Win
Return WinExist(WinTitle . " ahk_id " . Win)
}
- 11 Feb 2022, 02:45
- Forum: Ask for Help (v1)
- Topic: help with feature for gui Topic is solved
- Replies: 5
- Views: 1331
Re: help with feature for gui Topic is solved
Hi ibieel, another way #SingleInstance, Force OnMessage(0x200,"MouseHover") Gui, Add, Picture , HwndIdIMAGE x15 y15 w50 h50, ERROR.jpg Gui, Show, w200 h200, Test return MouseHover(wParam, lParam, msg, hwnd) { Global IdIMAGE MouseGetPos, , , , CurrControl ,2 If (CurrControl=IdIMAGE) { ToolTip, Descri...
- 07 Jan 2022, 01:55
- Forum: Ask for Help (v1)
- Topic: Please help me auto paste into Notepad++. Topic is solved
- Replies: 20
- Views: 2100
Re: Please help me auto paste into Notepad++. Topic is solved
In case the above version is used, I just wanted to note that it can lead to bad results depending on what may follow it in the script. Always use return at the end of a hotkey subroutine: You're right Boiler, thanks for keeping an eye on me🤦♀️🤦♀️ I always forget the RETURN, it is a mistake of mi...
- 07 Jan 2022, 01:48
- Forum: Ask for Help (v1)
- Topic: array format using ALoopReadLine Topic is solved
- Replies: 3
- Views: 675
Re: array format using ALoopReadLine Topic is solved
Causes an Always-on-top of the message.msgBox 0x4000
On my laptop at work and with my script launcher, IDM's UEStudio, sometimes some MSGBOX get in the background.
- 05 Jan 2022, 04:20
- Forum: Ask for Help (v1)
- Topic: GUI text auto width wrap? Topic is solved
- Replies: 14
- Views: 2598
Re: GUI text auto width wrap? Topic is solved
I don't know if I understand it well gui,2: add,edit,w300 gui,2: add,text,-wrap vInfotext ,if you pushed something wrong,manually delete it in ini file,notice they're in pair. gui,2: show Loop 3 ; example repeated three times { GuiControlGet, Size, 2:Pos, Edit1 SizeW += 10 * A_Index ; a little breat...
- 05 Jan 2022, 04:08
- Forum: Ask for Help (v1)
- Topic: Please help me auto paste into Notepad++. Topic is solved
- Replies: 20
- Views: 2100
Re: Please help me auto paste into Notepad++. Topic is solved
Sorry my English is horrible and I don't know what "dress it up" means
This sends Ctrl + V only to Notepad ++. Exe by function key <F1>
This sends Ctrl + V only to Notepad ++. Exe by function key <F1>
Code: Select all
#If WinActive("ahk_exe Notepad++.exe")
F1::
ControlSend, Scintilla1, ^v, ahk_exe Notepad++.exe
#If
- 05 Jan 2022, 03:52
- Forum: Ask for Help (v1)
- Topic: array format using ALoopReadLine Topic is solved
- Replies: 3
- Views: 675
Re: array format using ALoopReadLine Topic is solved
Hi neewwhe and welcome. Try this SetWorkingDir % A_Temp Var = (Join`r`n "Okex": "wallet_0x01415e36ce36d07229abf8b0435669088319f667" "MXC": "wallet_0x660f01a47efd305862bc598cad43d1966b376d54" "kucoin USDT": "wallet_TGCcJe7X5GcQTuZwdyAyW7NzvTAKJ865Jk" ) oFile := "address.txt" FileDelete , % oFIle File...
- 29 Nov 2021, 10:08
- Forum: Ask for Help (v1)
- Topic: WinMove not working
- Replies: 3
- Views: 868
Re: WinMove not working
The MSGBOX statement stops the process until the OK button is pressed. To move an MSGBOX window you must do it with a timer in an independent thread, try this: title := "DOS-Name-BD" DOS := "11/29/21" PtName := "John Doe" BD := "08/22/82" test_move := Func("WinMoveMsgBox").bind(title) SetTimer, % te...