Hello, XYplorer forum!
The situation is as follows:
1. I search for something using Info Panel and see the results in the Search Results tab.
2. Now I run a script to sort search results by the content of the comment column.
The problem is to retrieve the content of "Name:" of the Info Panel and put it into the script.
For now after the step 1. and before step 2. I copy the content of "Name:" from Info Panel manually
into the script dialog but I want to automatize this step by a script command or commands.
Is there a way for such automatic retrieval?
Solved - A script command to retrieve content from Info Panel
Solved - A script command to retrieve content from Info Panel
Last edited by zakhar on 18 Apr 2018 19:51, edited 1 time in total.
Re: A script command to retrieve content from Info Panel
Code: Select all
$search = trim(gettoken(trim(regexmatches(get("find_queryparsed"), "parsed: name:.*"), <crlf>), 3, ":"), '"');
text $search;
One of my scripts helped you out? Please donate via Paypal
Re: A script command to retrieve content from Info Panel
Thank you, highend!Code: Select all
get("find_queryparsed")