Search found 2791 matches

by flyingDman
25 Mar 2024, 23:55
Forum: Ask for Help (v2)
Topic: How to separate a string with vary length of spaces in between. Topic is solved
Replies: 4
Views: 102

Re: How to separate a string with vary length of spaces in between. Topic is solved

Code: Select all

text := "aaaaa      bbbbb"
msgbox strsplit(text," "," ",2)[1]
msgbox strsplit(text," "," ",2)[2]
by flyingDman
24 Mar 2024, 15:04
Forum: Ask for Help (v2)
Topic: copy on one machine, paste on another machine...
Replies: 5
Views: 125

Re: copy on one machine, paste on another machine...

Google Drive ? OneDrive? Those are the easiest. Save with fileappend and retrieve with fileread.
by flyingDman
23 Mar 2024, 00:07
Forum: Forum Issues
Topic: AutoHotkey start page is broken
Replies: 10
Views: 170

Re: AutoHotkey start page is broken

It's still fine here (West Coast of the USA).
by flyingDman
22 Mar 2024, 20:41
Forum: Forum Issues
Topic: AutoHotkey start page is broken
Replies: 10
Views: 170

Re: AutoHotkey start page is broken

It's fine here.
image.png
image.png (191.35 KiB) Viewed 162 times
by flyingDman
22 Mar 2024, 18:44
Forum: Ask for Help (v1)
Topic: Print Gui
Replies: 14
Views: 235

Re: Print Gui

Maybe when you pick this up again, you can give additional information on what you really want to do. You said that you wanted to print a few pages from a cookbook but then you show the code for a gui with an edit box with the word Pasta. No further information (?). It's no surprise that you did not...
by flyingDman
22 Mar 2024, 15:39
Forum: Ask for Help (v2)
Topic: How to make a symbol selector Topic is solved
Replies: 12
Views: 218

Re: How to make a symbol selector Topic is solved

@jinok I like the open and closing brackets with 2 spaces!
Note: if you include the +E0x08000000 in the gui options you can remove the MyGui.hide and MyGui.restore and the gui will not flicker. +E0x08000000 allows you send to the window below the script's window.
by flyingDman
22 Mar 2024, 11:02
Forum: Ask for Help (v2)
Topic: How to make a symbol selector Topic is solved
Replies: 12
Views: 218

Re: How to make a symbol selector Topic is solved

andymbody wrote:
22 Mar 2024, 09:35
Might be a Win7 thing.
... I am afraid it is. (it also works fine on an older Win 10 PC and no DPI adjustments were needed)
by flyingDman
22 Mar 2024, 09:15
Forum: Ask for Help (v2)
Topic: How to make a symbol selector Topic is solved
Replies: 12
Views: 218

Re: How to make a symbol selector Topic is solved

They all show up on my Win11 PC.
20240322_071354.jpg
20240322_071354.jpg (16.42 KiB) Viewed 103 times
by flyingDman
21 Mar 2024, 11:53
Forum: Ask for Help (v2)
Topic: How to make a symbol selector Topic is solved
Replies: 12
Views: 218

Re: How to make a symbol selector Topic is solved

kunkel321 wrote:
21 Mar 2024, 11:50
This is my new favorite thing!!! ↑
Glad you like it! :thumbup:
by flyingDman
21 Mar 2024, 10:09
Forum: Ask for Help (v1)
Topic: Msgbox Display and Understanding Topic is solved
Replies: 4
Views: 73

Re: Msgbox Display and Understanding Topic is solved

The fonts on the forum are a bit tricky when it comes to distinguishing between l and 1. I typically name a list (a series of strings separated by linefeeds or other delimiter) "lst".
by flyingDman
20 Mar 2024, 22:36
Forum: Ask for Help (v2)
Topic: How to make a symbol selector Topic is solved
Replies: 12
Views: 218

Re: How to make a symbol selector Topic is solved

Save with UTF-8 with BOM #Requires AutoHotkey v2.0 SetKeyDelay 0 OnMessage(0x200, WM_MOUSEMOVE) h:= 24, w := 26.5, v := 12 ; height & width for each symbol; v is number of symbols per row. MyArr := ["ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÑÒÓÔŒÕÖØÙÚÛÜßàáâãäåæçèéêëìíîïñòóôœõöøùúûüÿ" ,"≈∝≡≠≤≥×·÷∂′″∇‰°∴ø∈∩∪⊂⊃⊆⊇¬∧∨∃∀⇒⇔→↔↑ℵ∉°✓...
by flyingDman
20 Mar 2024, 14:01
Forum: Ask for Help (v1)
Topic: Help with String Manipulation is needed. Topic is solved
Replies: 3
Views: 65

Re: Help with String Manipulation is needed. Topic is solved

I would do it this way: startDate := "2024-03-09" endDate := "2024-03-08" startDate := strreplace(startDate,"-") endDate := strreplace(endDate,"-") endDate -= startDate , days msgbox % (endDate>0) ? "The end date is greater than the start date" :(endDate<0) ? "The end date is smaller than the start ...
by flyingDman
19 Mar 2024, 11:45
Forum: Ask for Help (v1)
Topic: How to sort the list properly?
Replies: 2
Views: 63

Re: How to sort the list properly?

try: List :="Class 2. Book 1|Class 1. Book 13|Class 1. Book 2|Class 1. Book 5|Class 1. Book 6|Class 2. Book 12|Class 1. Book 14|Class 1. Book 1|Class 2. Book 2|Class 1. Book 10" Sort, List, D| F logical_cmp List := StrReplace(List, "|", "`n") msgbox % List logical_cmp(a,b, o) { return dllcall("Shlwa...
by flyingDman
18 Mar 2024, 18:36
Forum: Ask for Help (v2)
Topic: syntax for map Topic is solved
Replies: 10
Views: 297

Re: syntax for map Topic is solved

I have been using variadic functions for years. Just not aware that is could be applied with a map like this. Thank you.
by flyingDman
18 Mar 2024, 16:42
Forum: Ask for Help (v2)
Topic: How to call a vlookup from AutoHotkey? Topic is solved
Replies: 18
Views: 419

Re: How to call a vlookup from AutoHotkey? Topic is solved

Inputbox with F12 as hotkey: f12:: { needle := InputBox("Lookup value?", "") needle := needle.value ;instead of needle := "matrix" xl := ComObject("Excel.Application") ;v1 ---> xl := ComObjCreate("Excel.Application") Workbook := xl.Workbooks.Open("C:\Users\xxxx\Documents\Spreadsheets\aaaa.xlsx") ran...
by flyingDman
18 Mar 2024, 12:08
Forum: Ask for Help (v2)
Topic: syntax for map Topic is solved
Replies: 10
Views: 297

Re: syntax for map Topic is solved

@teadrinker Was not aware of the use of * with maps. Thanks.
by flyingDman
18 Mar 2024, 11:57
Forum: Ask for Help (v2)
Topic: syntax for map Topic is solved
Replies: 10
Views: 297

Re: syntax for map Topic is solved

I agree that the use of msgbox item is possibly due to a poor understanding of what maps are. I suggest for the OP to review the documentation about objects and maps in particular. (see https://www.autohotkey.com/docs/v2/Objects.htm). Going out on a limb: if the intent is to create a map from the el...
by flyingDman
17 Mar 2024, 14:00
Forum: Ask for Help (v2)
Topic: How to format a paragraph of MS WORD document Topic is solved
Replies: 10
Views: 234

Re: How to format a paragraph of MS WORD document Topic is solved

if there're some blank paragraphs in between it won't work and got this error. These rogue blank paragraphs should probably be deleted for the script to work. "Previous" refers to the prior paragraph whether blank or not and there is no easy way to have it refer to "prior if not blank". This is a s...

Go to advanced search