Search found 1406 matches

by JoeWinograd
22 Jan 2020, 21:28
Forum: Forum Issues
Topic: ahkscript.org down?
Replies: 10
Views: 1340

Re: ahkscript.org down?

do you have a specific example? When I go here: http://ahkscript.org I get this: http ahkscript.png When I go here: https://ahkscript.org I get this: https ahkscript.png Seems that it started happening a few days ago. I found out about it because I had numerous ahkscript.org links in an article tha...
by JoeWinograd
21 Jan 2020, 15:14
Forum: Ask For Help
Topic: Output Each Element in an Array Onto Its Own Line in 1 MessageBox Topic is solved
Replies: 5
Views: 249

Re: Output Each Element in an Array Onto Its Own Line in 1 MessageBox Topic is solved

> that did the trick for me Happy to hear that! > I believe I'm able to understand what's going on in your code as well. Even happier to hear that! It's an explicit goal of mine, as I much prefer clarity over brevity in my code. I use long variable names, avoid language shortcuts (such as += , .= , ...
by JoeWinograd
21 Jan 2020, 14:04
Forum: Ask For Help
Topic: Output Each Element in an Array Onto Its Own Line in 1 MessageBox Topic is solved
Replies: 5
Views: 249

Re: Output Each Element in an Array Onto Its Own Line in 1 MessageBox Topic is solved

Here you go:

Code: Select all

obj:=["thing1","thing2","thing3","thing4"]
AllElements:=""
NumElements:=ObjLength(obj)
Loop,%NumElements%
  AllElements:=AllElements . obj[A_Index] . "`n"
MsgBox,4160,All Elements,The Objects in the array are:`n`n%AllElements%
Regards, Joe
by JoeWinograd
18 Jan 2020, 11:10
Forum: Ask For Help
Topic: Excel COM - How to use CountA method in AHK Topic is solved
Replies: 2
Views: 302

Re: Excel COM - How to use CountA method in AHK Topic is solved

Hi flyingDman,
Thank you very much...works perfectly! Regards, Joe
by JoeWinograd
18 Jan 2020, 00:03
Forum: Ask For Help
Topic: Excel COM - How to use CountA method in AHK Topic is solved
Replies: 2
Views: 302

Excel COM - How to use CountA method in AHK Topic is solved

Hi Folks, I'm trying to convert the following Excel VBA to AHK: lastRow = ActiveSheet.Cells.SpecialCells(xlCellTypeLastCell).Row col = ActiveCell.Column Range(ActiveCell, Cells(lastRow, col)).Select n = Application.CountA(Selection) 'Non-Blank cells in the selection That code works fine in Excel VBA...
by JoeWinograd
17 Jan 2020, 15:03
Forum: Tutorials
Topic: MS Office COM Basics
Replies: 111
Views: 108363

Re: MS Office COM Basics

Hi kon, Hard to believe that it's been more than three years since our last exchange here...amazing how time flies! I posted this question earlier today at a tmplinshi thread, but in case he's out of pocket, decided to post here, too. I'm trying to convert the following Excel VBA to AHK: lastRow = A...
by JoeWinograd
17 Jan 2020, 14:13
Forum: Ask For Help
Topic: Proper Capitalization of a Tile, Not Just Upper Case of All Words. Topic is solved
Replies: 10
Views: 554

Re: Proper Capitalization of a Tile, Not Just Upper Case of All Words. Topic is solved

You're welcome, BannerStore, I'm glad the article was helpful for you. Regards, Joe
by JoeWinograd
17 Jan 2020, 13:30
Forum: Scripts and Functions
Topic: xlFindLastCell() - Find last non-empty cell in Excel
Replies: 7
Views: 3250

Re: xlFindLastCell() - Find last non-empty cell in Excel

Hi tmplinshi, I'm trying to convert the following VBA to AHK: lastRow = ActiveSheet.Cells.SpecialCells(xlCellTypeLastCell).Row col = ActiveCell.Column Range(ActiveCell, Cells(lastRow, col)).Select n = Application.CountA(Selection) 'Non-Blank cells in the selection The use of xlCellTypeLastCell resul...
by JoeWinograd
15 Jan 2020, 13:53
Forum: Tutorials
Topic: New Switch/Case Command for Alternative Conditions
Replies: 4
Views: 974

Re: New Switch/Case Command for Alternative Conditions

Delta Pythagorean wrote:
15 Jan 2020, 12:46
Case and Switch was added in 1.1.31.00, relatively new.
Yes, but there were a couple of serious bugs in it that were fixed in v1.1.31.01, as I mentioned in the 13-Oct-2019 update to my 2-Oct-2019 article:
AutoHotkey Switch-Case

It's working very well now in v1.1.32.00! Regards, Joe
by JoeWinograd
13 Jan 2020, 16:46
Forum: Ask For Help
Topic: Proper Capitalization of a Tile, Not Just Upper Case of All Words. Topic is solved
Replies: 10
Views: 554

Re: Proper Capitalization of a Tile, Not Just Upper Case of All Words. Topic is solved

Hi BannerStore,

I haven't studied your script, but based on your question's title and body, you may (or may not) find this article that I wrote to be helpful:

Exclude words when converting to "Title Case" - AutoHotkey Script

Regards, Joe
by JoeWinograd
31 Dec 2019, 00:24
Forum: Ask For Help
Topic: How to change the names of monitors
Replies: 0
Views: 178

How to change the names of monitors

Hi Folks, Here's a script that displays the monitor number and monitor name of all monitors: SysGet,NumMons,MonitorCount ; get number of monitors MonNames:="" Loop,%NumMons% ; process all monitors { SysGet,MonName,MonitorName,%A_Index% ; get name of this monitor MonNames:=MonNames . A_Index . "=" . ...
by JoeWinograd
19 Dec 2019, 16:09
Forum: Ask For Help
Topic: Can an AutoHotkey script be notified of volume changing and muting/unmuting?
Replies: 27
Views: 2389

Re: Can an AutoHotkey script be notified of volume changing and muting/unmuting?

> after the process is closed, all its resources are released

Great news! Excellent!
by JoeWinograd
19 Dec 2019, 15:03
Forum: Ask For Help
Topic: Can an AutoHotkey script be notified of volume changing and muting/unmuting?
Replies: 27
Views: 2389

Re: Can an AutoHotkey script be notified of volume changing and muting/unmuting?

Hi teadrinker, Following up on my last post, I integrated your new code into my horizontal volume slider script...tested on W7 and W10...works great! :bravo: A question for you. I'm not very knowledgeable with call-backs or DLLs, both of which you use heavily. I'm wondering if anything in your code ...
by JoeWinograd
18 Dec 2019, 12:09
Forum: Ask For Help
Topic: Can an AutoHotkey script be notified of volume changing and muting/unmuting?
Replies: 27
Views: 2389

Re: Can an AutoHotkey script be notified of volume changing and muting/unmuting?

Hi teadrinker,
A quick note to let you know that your new code is working perfectly here on a W10/64-bit system with 1.1.32.00/U64...no crashes...no freezes. Next task is to integrate your code into mine. Will let you know how that goes. Thanks for your ongoing help, Joe
by JoeWinograd
14 Dec 2019, 10:25
Forum: Ask For Help
Topic: Can an AutoHotkey script be notified of volume changing and muting/unmuting?
Replies: 27
Views: 2389

Re: Can an AutoHotkey script be notified of volume changing and muting/unmuting?

Hi teadrinker,
Thank you for your continuing efforts on this...very much appreciated! I'll give the new code a spin this weekend and will let you know how it goes. Regards, Joe
by JoeWinograd
11 Dec 2019, 18:41
Forum: AutoHotkey v2 Development
Topic: W7 MSE detection on latest V2
Replies: 6
Views: 1094

Re: W7 MSE detection on latest V2

SOTE wrote:AHK members have to keep vigilant in reporting false-positives
Agreed! I submit my programs often...Setup.exe files (installers) created by NSIS with the EXE files created by the AHK compiler. But this is the AHK compiler itself...who should be submitting that? Regards, Joe
by JoeWinograd
11 Dec 2019, 17:12
Forum: Ask For Help
Topic: Can an AutoHotkey script be notified of volume changing and muting/unmuting?
Replies: 27
Views: 2389

Re: Can an AutoHotkey script be notified of volume changing and muting/unmuting?

Hi teadrinker, Sorry for the delay in getting back to you. I tried it on W7 and am getting more frequent crashes with it than with your first code, although the crashes occur only when my horizontal slider is on the screen while the volume is changed elsewhere, such as via the system tray speaker ic...
by JoeWinograd
08 Dec 2019, 16:35
Forum: AutoHotkey v2 Development
Topic: W7 MSE detection on latest V2
Replies: 6
Views: 1094

Re: W7 MSE detection on latest V2

> aint much lexikos can do about that Maybe, maybe not...curious that it never happened before. I figured it was worth letting him know. > report false positives there Yes, I do that often. > delete it if ure paranoid and u dont need it I'm not paranoid about it...in fact, I told MSE to allow it. > ...
by JoeWinograd
08 Dec 2019, 12:43
Forum: AutoHotkey v2 Development
Topic: W7 MSE detection on latest V2
Replies: 6
Views: 1094

W7 MSE detection on latest V2

Hi lexikos,
Just installed V2.0-a108-a2fa0498 on a W7 system running MSE...got the (presumably false positive) detection below. This has never happened before on any V2 install. Regards, Joe

MSE-detection-AutoHotkey_V2.0-a108-a2fa0498.png
MSE-detection-AutoHotkey_V2.0-a108-a2fa0498.png (55.18 KiB) Viewed 1094 times
by JoeWinograd
06 Dec 2019, 21:05
Forum: Ask For Help
Topic: Can an AutoHotkey script be notified of volume changing and muting/unmuting?
Replies: 27
Views: 2389

Re: Can an AutoHotkey script be notified of volume changing and muting/unmuting?

Ah, thanks for that...a quick test shows that it solves the nonexistent-function-call problem. Will test it thoroughly during the weekend on W7 and W10, and let you know how it goes. Thanks very much for your help. Regards, Joe

Go to advanced search