Is there any api to get variables in XYPlorer?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
627992512
Posts: 6
Joined: 19 Jun 2022 12:39

Is there any api to get variables in XYPlorer?

Post by 627992512 »

For example,getting all abspath of files and dirs selected in XYPlorer by using C++ or Python or other programming language.
Thanks for help.

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

Re: Is there any api to get variables in XYPlorer?

Post by highend »

Send / receive WM_COPYDATA. Nothing more nothing less
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 66102
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Is there any api to get variables in XYPlorer?

Post by admin »

Get some ideas here: viewtopic.php?t=25802

Apart from
eCPSXYLoadScript = 4194305 '(&H00400001) load a remote script via WM_COPYDATA
there is also
eCPSXYResolveVars = 4194306 '(&H00400002) resolve variables in data and return to sender immediately

627992512
Posts: 6
Joined: 19 Jun 2022 12:39

Re: Is there any api to get variables in XYPlorer?

Post by 627992512 »

admin wrote: 14 Mar 2023 14:48 Get some ideas here: viewtopic.php?t=25802

Apart from
eCPSXYLoadScript = 4194305 '(&H00400001) load a remote script via WM_COPYDATA
there is also
eCPSXYResolveVars = 4194306 '(&H00400002) resolve variables in data and return to sender immediately
Thanks a lot.

admin
Site Admin
Posts: 66102
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Is there any api to get variables in XYPlorer?

Post by admin »

BTW, these variables are XYplorer native variables like <curpath> etc

627992512
Posts: 6
Joined: 19 Jun 2022 12:39

Re: Is there any api to get variables in XYPlorer?

Post by 627992512 »

admin wrote: 14 Mar 2023 14:57 BTW, these variables are XYplorer native variables like <curpath> etc
Thanks, I think I've found them in the help document.

Post Reply