ControlGetText, OutputVar, Edit1, Untitled With Wildcard
-
- Posts: 25
- Joined: 12 Nov 2019, 16:32
ControlGetText, OutputVar, Edit1, Untitled With Wildcard
I want to use the "ControlGetText, OutputVar, Edit1, Untitled" function, but implement a filename.filetype wildcard eg. *.doc. What is the accurate convention for performing this task?
Re: ControlGetText, OutputVar, Edit1, Untitled With Wildcard
You can use ahk_class ahk_id ahk_exe ahk_id instead the window title. Use the Window Spy to get those values.
Or you could use SetTitleMatchMode.
https://www.autohotkey.com/docs/commands/SetTitleMatchMode.htm
Or you could use SetTitleMatchMode.
https://www.autohotkey.com/docs/commands/SetTitleMatchMode.htm
-
- Posts: 25
- Joined: 12 Nov 2019, 16:32
Re: ControlGetText, OutputVar, Edit1, Untitled With Wildcard
Is this for generic filenames and filetypes -- wildcards eg. filename.* or *.filetype for reading data nested in a file and text, not necessitating to open a filetype or executable host application? Because having to assign values or setting titles appears to be a "uninvisible" convention to scan or pull data.w0z wrote: ↑05 Feb 2020, 21:46You can use ahk_class ahk_id ahk_exe ahk_id instead the window title. Use the Window Spy to get those values.
Or you could use SetTitleMatchMode.
https://www.autohotkey.com/docs/commands/SetTitleMatchMode.htm
Say the getcontext convention is untenable when using wildcard operators, what ahk expression do I use as a header to match multiple strings across multiple files located in 1 folder?
Who is online
Users browsing this forum: fertalizer, Google [Bot], Pianist, pond_pop and 184 guests