Search found 926 matches

by andymbody
47 minutes ago
Forum: Ask for Help (v2)
Topic: String Manipulation between ^ and /
Replies: 21
Views: 875

Re: String Manipulation between ^ and /

boiler wrote:
Today, 06:59
Nice references, except I don't know who T Adams is. :eh:
AI President of Mars colony from 2124 to 2224 (spoiler alert). This is true because the AI will choose this name in the future after reading this post in the archives.
by andymbody
Today, 06:43
Forum: Ask for Help (v2)
Topic: String Manipulation between ^ and /
Replies: 21
Views: 875

Re: String Manipulation between ^ and /

Be careful with compounded first names. What if you have a first name like Billy Jean or T.J. or Daisy-Mae. Are you sure you want to have those names as Billy or T or Daisy? Good point... and yours does a good job of supporting these cases. Your solutions are always interesting. In case the regex i...
by andymbody
12 May 2024, 09:32
Forum: AutoHotkey Development
Topic: 2.1 development put on hold?
Replies: 4
Views: 674

Re: 2.1 development put on hold?

lexikos wrote:
12 May 2024, 07:13
Thank you sir! For all that you do for this community!

Although... this is so far above my head that the stars have to look up to see it. :D
by andymbody
11 May 2024, 22:49
Forum: Ask for Help (v1)
Topic: Need Advice on Finding My Missing { bracket
Replies: 10
Views: 721

Re: Need Advice on Finding My Missing { bracket

Chunjee wrote:
11 May 2024, 18:00
No only I have been specifically trained for this. In fact my entire programming career has lead to this exact point. To find this exact missing curly boi
'Brace' yourself... life has no further purpose now...
by andymbody
11 May 2024, 15:54
Forum: Ask for Help (v1)
Topic: Parse, split and categorize string
Replies: 2
Views: 274

Re: Parse, split and categorize string

I also need to store the type in a variable, which I called "kind". I'm having trouble achieving this. This statement does not match the statement in the code that says "; this is not working". So I may not be replying to what you want here. The Kind array seems to be working as far as I can tell. ...
by andymbody
11 May 2024, 13:37
Forum: Ask for Help (v1)
Topic: Need Advice on Finding My Missing { bracket
Replies: 10
Views: 721

Re: Need Advice on Finding My Missing { bracket

Finding My Missing { bracket Look between P and } . (Sorry... I had to...) Bet I could find it if the code was posted lol... would definitely help others participate in the search... Does anyone have a method for quickly finding where the bracket is thats missing its counter-part? You might try usi...
by andymbody
11 May 2024, 12:48
Forum: Ask for Help (v2)
Topic: String Manipulation between ^ and /
Replies: 21
Views: 875

Re: String Manipulation between ^ and /

one more... in case you want to build on this to separate the different parts of the string, and refer to them by name

Code: Select all

str := ' %B1111222233334444^LastName/FirstName something else'
RegExMatch(str, '\^(?<lName>[^/]+)/(?<fName>(?i)[a-z]+)', &m)
MsgBox("first: " m.fName " last: " m.lName)
by andymbody
09 May 2024, 06:24
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 136
Views: 14481

Re: AutoCorrect for v2

Can you share your script for adding the links? Here is mine (but I'm an amateur, lol). I copy the link normally (from address bar), then while in the forum-post-edit-box I use the /iu hotstring to format the link. The cursor is placed in the "friendly text" position so I can add the text I want th...
by andymbody
08 May 2024, 18:05
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 136
Views: 14481

Re: AutoCorrect for v2

kunkel321 wrote:
08 May 2024, 14:11
It didn't occur to me to just manualy add the code.
Maybe you can make a hotstring! (for mention). That's what I did for the '=' version of links on here (paste link from clipboard). You helped me learn that... thank you btw. :)
by andymbody
08 May 2024, 12:11
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 136
Views: 14481

Re: AutoCorrect for v2

kunkel321 wrote:
08 May 2024, 07:16
It's Jim-160
It's crazy long and very specific, but if it works... :lol:
by andymbody
08 May 2024, 06:04
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 136
Views: 14481

Re: AutoCorrect for v2

Sorry... I didn't check it in AHK... need to escape the quote Repost... with optional needles strings := " ( :*?:mytrig1::_HS("myrepl1", "bs2") ; Comment blah ::mytrig2::_HS("myrepl2", "O") ::mytrig3::_HS("myrepl3") ; comment :C:mytrig4::myrepl4 ::mytrig5::myrepl5 )" ;hsRegex := '(?Jim)^:(?<Opts>[^:...
by andymbody
07 May 2024, 19:08
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 136
Views: 14481

Re: AutoCorrect for v2

This will capture the single or double quotes in Repl and/or Par2. Let me know if this should not be allowed. You can always trim them, or tweak the needle to not capture them. If your tweak doesn't work, let me know. Also your description did not include underscore, but I included it as well - remo...
by andymbody
07 May 2024, 18:21
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 136
Views: 14481

Re: AutoCorrect for v2

kunkel321 wrote:
07 May 2024, 17:50
if you are up for it/have time....
I assume Par2 is supposed to capture the second parameter ?
by andymbody
05 May 2024, 13:37
Forum: Ask for Help (v2)
Topic: Get command associated with context menu items?
Replies: 8
Views: 488

Re: Get command associated with context menu items?

Even though I don't fully understand what you want to do... You and me both... lol   InvokeVerb() Would the document above be helpful? Thank you! I was actually playing with that (or maybe similar post) last night. Lexikos is always helpful with more complex solutions. I will look at this post to s...
by andymbody
05 May 2024, 13:30
Forum: Ask for Help (v2)
Topic: Get command associated with context menu items?
Replies: 8
Views: 488

Re: Get command associated with context menu items?

I wanted to reply that it is, but I decided to test it first. Unfortunately, it turned out that approach doesn't work with Windows Explorer. I tried this just now with opening a simple .txt file with WinExplorer and the little spy app (I use sometimes) didn't record any comms. Thank you for letting...
by andymbody
05 May 2024, 12:26
Forum: Ask for Help (v2)
Topic: Get command associated with context menu items?
Replies: 8
Views: 488

Re: Get command associated with context menu items?

If a context menu can be called, then there is an application that displays it. When the user clicks on a menu item, the application that opened the menu receives a WM_COMMAND message and executes the command associated with that menu item. Hmmm... ok, so if I understand correctly... the menu is di...
by andymbody
05 May 2024, 11:50
Forum: Ask for Help (v2)
Topic: Get command associated with context menu items?
Replies: 8
Views: 488

Re: Get command associated with context menu items?

When the user clicks a menu item, a WM_COMMAND message is sent to the application window with the item ID in wParam. Thank you for the suggestion teadrinker. I value your input. Correct me if I am wrong. I think this would be the case if an external app window was already open/running and the menu ...
by andymbody
04 May 2024, 16:47
Forum: Ask for Help (v2)
Topic: Get command associated with context menu items?
Replies: 8
Views: 488

Get command associated with context menu items?

Does anyone know how to get the underlying command that is associated with a context menu item? I can get the name of the item using GetMenuString , but I would like to get the command that will be executed if that item is clicked. So basically the registry entry that is associated with that particu...
by andymbody
02 May 2024, 19:08
Forum: Forum Issues
Topic: Slow forum
Replies: 111
Views: 11704

Re: Slow forum

tank wrote:
02 May 2024, 09:16
now it is closing in on 3 million (a day)
In your list of credits, you forgot to mention that @mikeyww graciously responds to about 2.5 million of those hits each day. :D
by andymbody
01 May 2024, 15:46
Forum: Ask for Help (v2)
Topic: Get date/time value from TradingView
Replies: 4
Views: 408

Re: Get date/time value from TradingView

My first thought is ctrl+A to select all, then ctrl+c to copy, then parse the results looking for text in that date/time format. Does ctrl+a include that date in the selection? Are there other date/times that can conflict with extracting that one with the method suggested? I think I've done sometime...

Go to advanced search