Search found 1167 matches

by JoeWinograd
05 May 2019, 19:38
Forum: Ask For Help
Topic: Is it possible to right-click on a tray context menu item to get a context menu for that item?
Replies: 2
Views: 111

Re: Is it possible to right-click on a tray context menu item to get a context menu for that item?

Hi jeeswg, Thanks for the reply...and the code...much appreciated! Some of it is beyond me, but I'll study it and play with it. However, I must be able to call it from the same program. If that's not doable, I'll just make another right-click option at the root level of the context menu that does wh...
by JoeWinograd
04 May 2019, 15:15
Forum: Ask For Help
Topic: Is it possible to right-click on a tray context menu item to get a context menu for that item?
Replies: 2
Views: 111

Is it possible to right-click on a tray context menu item to get a context menu for that item?

Hi Folks, Here's a working script that has three items in the tray context menu: #Persistent Menu,Tray,NoStandard Menu,Tray,Add,&Hello,ContextMenu Menu,Tray,Add,&World,ContextMenu Menu,Tray,Add,E&xit,ContextMenu Return ContextMenu: If (A_ThisMenuItem="&Hello") { MsgBox Hello Return } If (A_ThisMenuI...
by JoeWinograd
04 May 2019, 02:58
Forum: Ask For Help
Topic: How to put an indicator in the title bar of the compiler to know if it is 32-bit or 64-bit Topic is solved
Replies: 3
Views: 93

Re: How to put an indicator in the title bar of the compiler to know if it is 32-bit or 64-bit Topic is solved

Hi TAC109, Thanks for the reply. Yes, I understand that. What I'm looking for is a visual way to know which .bin file that it will be using. Of course, it's always AutoHotkeySC.bin , but I'd like to know if that is Unicode 32-bit.bin or Unicode 64-bit.bin (or ANSI 32-bit.bin , although I never use t...
by JoeWinograd
03 May 2019, 15:58
Forum: Ask For Help
Topic: How to put an indicator in the title bar of the compiler to know if it is 32-bit or 64-bit Topic is solved
Replies: 3
Views: 93

How to put an indicator in the title bar of the compiler to know if it is 32-bit or 64-bit Topic is solved

When using the 32-bit and 64-bit compilers, they have identical dialogs — same exact title bar, same exact contents in the dialog box. I'd like to have an immediate visual indicator to know whether it's the 32-bit or 64-bit one, such as a different title bar — the icon and/or the text. Any thoughts ...
by JoeWinograd
02 May 2019, 14:07
Forum: Ask For Help
Topic: how select a radio button
Replies: 5
Views: 161

Re: how select a radio button

Wow! Hard to believe that you can't get focus to the radio buttons. Make sure that the dialog Window is active via a WinActivate command before you send the arrow key. Forgetting AutoHotkey for a moment, what happens when you click the title bar and then the arrow keys — does the radio button select...
by JoeWinograd
29 Apr 2019, 16:34
Forum: Ask For Help
Topic: how select a radio button
Replies: 5
Views: 161

Re: how select a radio button

It depends on that particular form, as it is possible to build forms that behave however you want, but in most cases, the arrow keys (Left, Right, Up, Down) will do it. With just two radio buttons, I suspect any of these will work: Send {Left} Send {Right} Send {Up} Send {Down} After expermenting an...
by JoeWinograd
27 Apr 2019, 16:26
Forum: Ask For Help
Topic: How to intercept the tray menu?
Replies: 3
Views: 111

Re: How to intercept the tray menu?

You're welcome. Glad to hear that's what you need. Regards, Joe
by JoeWinograd
27 Apr 2019, 11:44
Forum: Ask For Help
Topic: How to intercept the tray menu?
Replies: 3
Views: 111

Re: How to intercept the tray menu?

I like to give credit where credit is due, but I don't know who wrote this code. I do know that it's from this group...that I didn't write it...and that it works perfectly: Menu,Tray,NoStandard OnMessage(0x404,"AHK_NOTIFYICON") AHK_NOTIFYICON(wParam,lParam) { If (lParam=0x201) ; WM_LBUTTONDOWN { ; l...
by JoeWinograd
25 Apr 2019, 14:03
Forum: Announcements
Topic: Test build - InputHook, long paths, switch-case
Replies: 24
Views: 1432

Re: Test build - InputHook, long paths, switch-case

Hi lexikos, A quick note to let you know that I tested the switch-case statement on a large set of if-else-if statements in one of my programs. The original code has 27 if-else statements, plus a fall-through else . The replacement 27 case statements and fall-through default worked perfectly! Much c...
by JoeWinograd
23 Apr 2019, 13:09
Forum: Announcements
Topic: Upcoming Ahk2Exe changes
Replies: 134
Views: 67992

Re: Upcoming Ahk2Exe changes

Hi guest3456, Thanks for the tips on Git! google "version control" and learn about why its so essential. Don't need to google it to know that. :) have you ever fixed a bug before, only to later realize that you've now broken something else Yep! but the old code is gone and you can no longer restore ...
by JoeWinograd
23 Apr 2019, 11:37
Forum: Announcements
Topic: Upcoming Ahk2Exe changes
Replies: 134
Views: 67992

Re: Upcoming Ahk2Exe changes

Hi Peter, When I want to use the directives which are described in the first posting - which version should I use? I think that joedf misunderstood your question. You do not want to "use the version that is accompanied with your current AHK installation." In order to use those directives, you want t...
by JoeWinograd
22 Apr 2019, 09:04
Forum: Announcements
Topic: Test build - InputHook, long paths, switch-case
Replies: 24
Views: 1432

Re: Test build - InputHook, long paths, switch-case

> Experimental switch-case statement.

Very nice! :thumbup:
by JoeWinograd
18 Apr 2019, 18:51
Forum: Ask For Help
Topic: Getting folderpath from filepath. ( or run exe in its own folder) Topic is solved
Replies: 2
Views: 166

Re: Getting folderpath from filepath. ( or run exe in its own folder) Topic is solved

Since your FileSelectFile,Var_FileRun command has no params beyond the OutputVar , Var_FileRun will contain the full file path, as stated in the FileSelectFile doc. If you want to split Var_FileRun into its components, read the SplitPath doc, which shows that you can do this: SplitPath,Var_FileRun,O...
by JoeWinograd
15 Apr 2019, 13:04
Forum: Ask For Help
Topic: Putting characters before and after text Topic is solved
Replies: 16
Views: 424

Re: Putting characters before and after text Topic is solved

Our messages just crossed. See the update to my previous post.
by JoeWinograd
15 Apr 2019, 12:56
Forum: Ask For Help
Topic: Putting characters before and after text Topic is solved
Replies: 16
Views: 424

Re: Putting characters before and after text Topic is solved

Not sure I understand...do you mean that you want this: / Hello / If so, then simply put a new line character - `n - before and after CurrentText . In other words, change the assignment statement in the Enter hotkey to this: CurrentText:=BeforeTextChar . "`n" . CurrentText . "`n" . AfterTextChar If ...
by JoeWinograd
15 Apr 2019, 12:16
Forum: Ask For Help
Topic: Putting characters before and after text Topic is solved
Replies: 16
Views: 424

Re: Putting characters before and after text Topic is solved

Works perfectly here...I tested it well before posting. Please post the full script that you're using.
by JoeWinograd
15 Apr 2019, 11:02
Forum: Ask For Help
Topic: Putting characters before and after text Topic is solved
Replies: 16
Views: 424

Re: Putting characters before and after text Topic is solved

> is there way to return the string as you press enter, so that when you sent a message it would send it as /Hello/ That's what my script does. When you press Enter , it executes this command: Send %CurrentText%{Enter} The CurrentText variable has the text that you entered, prefixed by the BeforeTex...
by JoeWinograd
14 Apr 2019, 16:59
Forum: Ask For Help
Topic: Putting characters before and after text Topic is solved
Replies: 16
Views: 424

Re: Putting characters before and after text Topic is solved

> creates hotkeys for each key programatically

Great idea, Osprey! Regards, Joe

Go to advanced search