How 3rd party application get info from XYplorer?
-
binocular222
- Posts: 1423
- Joined: 04 Nov 2008 05:35
- Location: Win11, Win10, 100% Scaling
How 3rd party application get info from XYplorer?
I want to develop 3rd party software that can get info from <curitem>; <curfolder>... but how?
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
-
Stefan
- Posts: 1360
- Joined: 18 Nov 2008 21:47
- Location: Europe
Re: How 3rd party application get info from XYplorer?
Can't you get this by using AHK?
A sledgehammer method (german slang "Holzhammer Methode", can i say this in english too?
)
would be to write the info to a temporary file or to the clipboard, then launch your 3rd party tool
which would read this information out.
A sledgehammer method (german slang "Holzhammer Methode", can i say this in english too?
would be to write the info to a temporary file or to the clipboard, then launch your 3rd party tool
which would read this information out.
-
binocular222
- Posts: 1423
- Joined: 04 Nov 2008 05:35
- Location: Win11, Win10, 100% Scaling
Re: How 3rd party application get info from XYplorer?
Oh, yes, I thought of let XYplorer write info to an INI file then read from 3rd party software, but that's not quite a sleek way to go. Obtain info directly from XYplorer.exe is much better. Seems Listary (an folder launcher) did so, but I don't know how
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
-
admin
- Site Admin
- Posts: 66372
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: How 3rd party application get info from XYplorer?
This might help:
http://www.xyplorer.com/release_11.80.htm#RemoteControl
From change log:
http://www.xyplorer.com/release_11.80.htm#RemoteControl
From change log:
Code: Select all
+ DEVELOPERS: Now you can run an XYplorer script from an external
program using the WM_COPYDATA command with XYplorer's hWnd.
- cds.dwData: 4194305 (0x00400001)
- cds.lpData: The syntax is identical to the one of the command
line switch /script=<script resource>, so you can either pass
the path to a script file (commonly called *.xys), or pass the
script directly (must be preceded by ::).
Note that this feature is not available in the Home Edition
(because it does not support scripting).
FAQ | XY News RSS | XY X
-
highend
- Posts: 14956
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: How 3rd party application get info from XYplorer?
I hope I didn't misunderstood anything but he was asking for a method to get something OUT of XYplorer, not something into it. Interprocess communication is probably the right keyword for it.
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 66372
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: How 3rd party application get info from XYplorer?
Right. Well, he could use the clipboard as channel.highend wrote:I hope I didn't misunderstood anything but he was asking for a method to get something OUT of XYplorer, not something into it. Interprocess communication is probably the right keyword for it.
FAQ | XY News RSS | XY X
-
Enternal
- Posts: 1175
- Joined: 10 Jan 2012 18:26
Re: How 3rd party application get info from XYplorer?
Talking about clipboard, perhaps you should have some functions that allows XYplorer to also read clipboard information. Using that together with external application would allow interesting things you can do with both sides. As of now, XYplorer can only copy things to the clipboard but not out of it.admin wrote:Right. Well, he could use the clipboard as channel.highend wrote:I hope I didn't misunderstood anything but he was asking for a method to get something OUT of XYplorer, not something into it. Interprocess communication is probably the right keyword for it.
-
admin
- Site Admin
- Posts: 66372
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
Enternal
- Posts: 1175
- Joined: 10 Jan 2012 18:26
Re: How 3rd party application get info from XYplorer?
admin wrote:<clipboard>
*looks through Scripting under Help but found nothing.
*looks at Variables under Help...
-
highend
- Posts: 14956
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: How 3rd party application get info from XYplorer?
Clipboard as a way to exchange information between different applications -> Not really a good way...
It's just unpredictable of what's actually inside of it (you're working with a text editor while it's in use for exchanging data and want to copy / paste something...)
It's better to use one / two tempfile(s) and let both applications read / write from the other one.
It's just unpredictable of what's actually inside of it (you're working with a text editor while it's in use for exchanging data and want to copy / paste something...)
It's better to use one / two tempfile(s) and let both applications read / write from the other one.
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 66372
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: How 3rd party application get info from XYplorer?
I'm thinking about adding a command CopyData() that can be used to copy data from XY to some other window.
FAQ | XY News RSS | XY X
-
binocular222
- Posts: 1423
- Joined: 04 Nov 2008 05:35
- Location: Win11, Win10, 100% Scaling
Re: How 3rd party application get info from XYplorer?
<clipboard>! Quite creative. But I still hope for CopyData() to come soon.
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488
XYplorer Beta Club