Search found 49 matches

by dmatch
21 Aug 2021, 10:21
Forum: Ask for Help (v2)
Topic: V2: Error "Variable not found"
Replies: 12
Views: 2827

Re: V2: Error "Variable not found"

OUCH! The use of undeclared dynamic variables is one thing that makes AutoHotkey v1.1 unique and very useful to me. I guess stuff like this will have to be accomplished thru use of dictionaries in v2 similar to the way it can be done in python.
by dmatch
21 Aug 2021, 09:41
Forum: Ask for Help (v2)
Topic: V2: Error "Variable not found"
Replies: 12
Views: 2827

Re: V2: Error "Variable not found"

u cant dynamically declare variables anymore. u may only dynamically reference them if they had been declared beforehand ... snip ... Does that mean something like this is not allowed in v2? n=integer input unknown to the programmer at time of script creation. loop, %n% { thing%A_Index%=something }
by dmatch
27 Jun 2021, 10:52
Forum: Off-topic Discussion
Topic: « What's on your mind? » Topic is solved
Replies: 4893
Views: 1392281

Re: « What's on your mind? » Topic is solved

Thanks jballi for the article. Sobering!
by dmatch
20 Jun 2021, 12:12
Forum: Visual Studio Code
Topic: What am I missing? VSCode newbie
Replies: 2
Views: 3505

Re: What am I missing? VSCode newbie

When I don't use a configuration, assuming you mean a launch.json I am greeted with " you don't have and extension for debugging autohotkey". Thank you for the reply.
by dmatch
20 Jun 2021, 10:44
Forum: Visual Studio Code
Topic: What am I missing? VSCode newbie
Replies: 2
Views: 3505

What am I missing? VSCode newbie

I have used VSCode with Python for a while now. It just worked. When I tried using an AHK extension to debug autohotkey scripts I am not so lucky. When I start the debugger it does nothing. Just opens the debug controls with only pause, reload and stop available. It doesn't go to first breakpoint or...
by dmatch
16 Feb 2021, 14:09
Forum: Ask for Help (v1)
Topic: GroupBox Based on dynamic content
Replies: 1
Views: 270

Re: GroupBox Based on dynamic content

Try this for x positioning of the buttons: Gui, Add, Button, Section vAccButton%A_Index% x+10, Delete You might also want to change font sizes to help lineup button with the text left of it like this: Gui, font, s12 Gui, Add, Text, Section vAccLabel%A_Index% xMargin y+%SVal% , #%A_Index%: %Account% ...
by dmatch
09 May 2018, 09:23
Forum: SciTE4AutoHotkey
Topic: Turn off Autocomplete? Topic is solved
Replies: 2
Views: 4090

Re: Turn off Autocomplete? Topic is solved

Guess my solution will be considered an adequate resolution. Solved.
by dmatch
18 Apr 2018, 14:27
Forum: SciTE4AutoHotkey
Topic: Turn off Autocomplete? Topic is solved
Replies: 2
Views: 4090

Re: Turn off Autocomplete? Topic is solved

Okay, I got the autocomplete listbox to stop popping up. Don't care for this workaround but I commented these 2 lines out in the ahk.properties file in the SciTe subfolder of AutoHotkey folder: #autocomplete.ahk1.start.characters=$(chars.alpha)$(chars.numeric)$(chars.accented)$_@#. #word.characters....
by dmatch
18 Apr 2018, 12:24
Forum: SciTE4AutoHotkey
Topic: Turn off Autocomplete? Topic is solved
Replies: 2
Views: 4090

Turn off Autocomplete? Topic is solved

Is there a setting to turn off autocomplete? Thought I looked everywhere but...maybe not. I mostly ignore the autocomplete listbox but it tends to get in my way.
by dmatch
10 Nov 2017, 11:42
Forum: Ask for Help (v1)
Topic: Need help (could be ahk bug) Topic is solved
Replies: 2
Views: 950

Re: Need help (could be ahk bug) Topic is solved

loop { if (a%x% = 1) { sendinput %x% break } x -= 1 if (x > 5) { x = 1 } } Appears there is nothing in this loop to stop x from becoming negative (-1). So you tried to create a variable named "a-1" and "-" is an illegal character in a variable name.
by dmatch
17 Oct 2017, 12:38
Forum: Ask for Help (v1)
Topic: Use AutoHotKey to send Email via Gmail
Replies: 7
Views: 3543

Re: Use AutoHotKey to send Email via Gmail

I just tried my implementation of it and it still works. Might be something in Win 10 settings causing different results or a win 10 update that I didn't get? Here is what I actually ran as a script. Personal info not included: pmsg := ComObjCreate("CDO.Message") pmsg.From := """Your From Name"" <Yo...
by dmatch
17 Oct 2017, 11:25
Forum: Ask for Help (v1)
Topic: Use AutoHotKey to send Email via Gmail
Replies: 7
Views: 3543

Re: Use AutoHotKey to send Email via Gmail

I successfully used this script on windows 10:

https://autohotkey.com/board/topic/6081 ... ery-ahk-l/

I had to go into Gmail->My Account->Sign-In & Security->Allow less secure apps: ON (way at bottom of page).
by dmatch
22 Sep 2017, 11:07
Forum: Ask for Help (v1)
Topic: display a number in notification/taskbar/clock area
Replies: 7
Views: 3089

Re: display a number in notification/taskbar/clock area

Probably not what you're looking for and is somewhat of a kludge, but you could create a blank Gui and change the title of the window as the price changes. That wouldn't be in the notification area but would be on taskbar button. Gui, Show, , *XX= ; Some unique name SetTimer, Update, 2000 ; 2 sec. o...
by dmatch
30 Aug 2017, 09:51
Forum: Other Utilities & Resources
Topic: [Win 10] Change Toast Notifications to Old Balloon Notifications
Replies: 13
Views: 7116

Re: [Win 10] Change Toast Notifications to Old Balloon Notifications

Hi Delta, FYI: The above method wont work in home versions of windows, as group policy editor is only available in pro (or higher) versions. Instead one would need to edit the registry by adding/changing the following: location: HKCU\Software\Policies\Microsoft\Windows\Explorer Key: EnableLegacyBal...
by dmatch
30 Jun 2017, 09:49
Forum: Ask for Help (v1)
Topic: No WM_MOUSEMOVE Message sent in Win 10 Gui w/ Transcolor set Topic is solved
Replies: 7
Views: 2366

Re: No WM_MOUSEMOVE Message sent in Win 10 Gui w/ Transcolor set Topic is solved

Good workaround. Thanks noname that works. I already had a 1 second timer in the FULL script so I put your idea into effect in that timer. So, if anything, it is more efficient that way. Interesting that Win 7 would send WM_MOUSEMOVE messages when using a transcolor in a Gui but XP and Win 10 don't....
by dmatch
29 Jun 2017, 17:36
Forum: Ask for Help (v1)
Topic: No WM_MOUSEMOVE Message sent in Win 10 Gui w/ Transcolor set Topic is solved
Replies: 7
Views: 2366

Re: No WM_MOUSEMOVE Message sent in Win 10 Gui w/ Transcolor set Topic is solved

Thanks for feedback, but that does the same thing. Only get WM_MOUSEMOVE when mouse is over text.

dmatch
by dmatch
29 Jun 2017, 15:36
Forum: Ask for Help (v1)
Topic: No WM_MOUSEMOVE Message sent in Win 10 Gui w/ Transcolor set Topic is solved
Replies: 7
Views: 2366

Re: No WM_MOUSEMOVE Message sent in Win 10 Gui w/ Transcolor set Topic is solved

Here is a reduced version of the script (functional) that demonstrates the behavior in Win 10: #NoEnv Hidden:=0 DetectHiddenWindows on CoordMode, Mouse, Screen WM_MOUSEMOVE=0x200 OnMessage(WM_MOUSEMOVE, "MOUSEMOVE") x:=5 y:=A_ScreenHeight-420 yi:=0 x2:=A_ScreenWidth-40 width:=30 height:=220 CustomCo...
by dmatch
29 Jun 2017, 15:10
Forum: Ask for Help (v1)
Topic: No WM_MOUSEMOVE Message sent in Win 10 Gui w/ Transcolor set Topic is solved
Replies: 7
Views: 2366

Re: No WM_MOUSEMOVE Message sent in Win 10 Gui w/ Transcolor set Topic is solved

That test does not use a TransColor (transparent window color). I didn't include that in my snippets, sorry.
Edit: Added Transcolor snippet to original post.

dmatch
by dmatch
29 Jun 2017, 14:39
Forum: Ask for Help (v1)
Topic: No WM_MOUSEMOVE Message sent in Win 10 Gui w/ Transcolor set Topic is solved
Replies: 7
Views: 2366

No WM_MOUSEMOVE Message sent in Win 10 Gui w/ Transcolor set Topic is solved

On Win 7 the following code received WM_MOUSEMOVE messages when the mouse entered the Gui when a TransColor was set. On Win 10 I see no messages UNLESS the mouse is over some text that is in the Gui. This was not the case in Win 7. Any ideas why this would be? Any ideas for a workaround or other sol...

Go to advanced search