Solved - A script command to retrieve content from Info Panel

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

Solved - A script command to retrieve content from Info Panel

Postby zakhar » 18 Apr 2018 17:29

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: 7217
Joined: 06 Feb 2011 00:33

Re: A script command to retrieve content from Info Panel

Postby highend » 18 Apr 2018 17:42

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 or highend (at) web (dot) de

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

Re: A script command to retrieve content from Info Panel

Postby zakhar » 18 Apr 2018 19:50

Code: Select all

get("find_queryparsed")

Thank you, highend!


Return to “Tips & Tricks, Questions & Answers”



Who is online

Users browsing this forum: No registered users and 4 guests