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.
Search found 926 matches
- 47 minutes ago
- Forum: Ask for Help (v2)
- Topic: String Manipulation between ^ and /
- Replies: 21
- Views: 875
- 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...
- 12 May 2024, 09:32
- Forum: AutoHotkey Development
- Topic: 2.1 development put on hold?
- Replies: 4
- Views: 674
- 11 May 2024, 22:49
- Forum: Ask for Help (v1)
- Topic: Need Advice on Finding My Missing { bracket
- Replies: 10
- Views: 721
- 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. ...
- 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...
- 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)
- 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...
- 08 May 2024, 18:05
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 136
- Views: 14481
- 08 May 2024, 12:11
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 136
- Views: 14481
- 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>[^:...
- 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...
- 07 May 2024, 18:21
- Forum: Scripts and Functions (v2)
- Topic: AutoCorrect for v2
- Replies: 136
- Views: 14481
- 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...
- 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...
- 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...
- 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 ...
- 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...
- 02 May 2024, 19:08
- Forum: Forum Issues
- Topic: Slow forum
- Replies: 111
- Views: 11704
- 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...