Solved - A script command to retrieve content from Info Panel

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
zakhar
Posts: 150
Joined: 08 Sep 2010 21:13

Solved - A script command to retrieve content from Info Panel

Post by zakhar »

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?
Last edited by zakhar on 18 Apr 2018 19:51, edited 1 time in total.

highend
Posts: 13317
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: A script command to retrieve content from Info Panel

Post by highend »

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

zakhar
Posts: 150
Joined: 08 Sep 2010 21:13

Re: A script command to retrieve content from Info Panel

Post by zakhar »

Code: Select all

get("find_queryparsed")
Thank you, highend!

Post Reply