Open Avastgard opened 7 months ago
Short answer is no, but you could easily deconstruct the code that the "s"-type makes and use it in a blank-type cell (arbitrary code). But I don't think that's what you want here. The "s"-type cells are meant for simple one-liners with replacing text (think URLs or single commands for the command line).
What you should do is put all that code into a function that takes one arg and use a "n"-type cell with lngui_enable_query("TitleToAppear", YourFunc)
. YourFunc
would use REPLACEME as an argument.
You can put your custom functions in their own file or add on to LNCHR-Funcs.ahk
lngui_enable_query
changes the GUI mode so that the next thing you type into the texbox is the input to YourFunc
. A unique title should be used, and this title is shown on the GUI window as well as it being used to store memory.
I am trying to run a script with the REPLACEME feature inside of it (type s - search). The script basically performs a VLookup in an Excel spreadsheet, saves the value in the clipboard and pastes it.
The problem is I keep running into the following error message:
Looking at the specified code lines in
LNCHR-Commands.ahk,
it shows like this:Any idea how I can fix it?