Open folder by macro / command line
Posted: 18 Sep 2012 09:55
Hi,
I have the following scenario. Let's say XYplorer runs as a non-active window. I'm in another application where I have a list of say 100 or 200 frequently used folders, say one is "d:\2\", and many more. I have a macro program that allows for running applications and running files, in the form "run path\xyplorer.exe" and in the form "run abcde" when "abcde" is a file that by Windows, is automatically opened by a given program.
Now back to my question, how to open a folder in XYplorer, with such a macro system, without open XYplorer first, by the macro, and then have to manually do things in XYplorer in order to open the folder.
Let us assume I want to open the folder in the currently opened tab in XYplorer, which means I want to replace the currently shown folder there by the "new" one (it's not new, I just want it now to be shown). Or, alternatively, how to display the "new" folder in a new tab, if that is possible. Or, alternatively, how to displday the "new" folder in any other way within XYplorer, perhaps in pane 1 of 2 visible panes, or in pane 2 of 2 visible panes, the tree being visible, too, or without the tree being visible.
Are there any "command lines" in order to do this, or any scriptlets to launch within XYplorer? If it cannot be done with command lines as above, in the form "run path\xyplorer / attributes or options", how can I run such scriptlets from my macro program to work within XY: where is the interface between external launching XYplorer scripts and those internal XYplorer programming scriptlets?
I cannot program within XYplorer, so I would be thankful to have examples of such XYplorer scriptlets in order to do what I want, to be launched by external macro.
Thank you very much in advance. I hope I made clear what I want. I know how to do scripting in my external macro program, but I cannot learn XYplorer macro language in full, in order to just view a given folder.
Which one of my 3-digit number of folders would be shown, would be determined by a variable, which means my macro program would read the line in my main application, put the line into a variable, then would do the command "run %variable%" or "run path\XYplorer %variable% options" if possible. If that is not possible, the variable would to be transferred from my macro program to the XYplorer scriptlet, which would constitute an additional problem, but perhaps that problem can be overcome.
Probably, what I want to realize is a task that other users would be happy to realize too but don't know to?
Off-topic question: Those smilies here on the left, if I click on one, then click ^c, then click ^v in the text, nothing happens. If I try to dragdrop one into my text with the mouse, nothing happens. How to put one into your text? ("Disable smilies" is not checked.)
I have the following scenario. Let's say XYplorer runs as a non-active window. I'm in another application where I have a list of say 100 or 200 frequently used folders, say one is "d:\2\", and many more. I have a macro program that allows for running applications and running files, in the form "run path\xyplorer.exe" and in the form "run abcde" when "abcde" is a file that by Windows, is automatically opened by a given program.
Now back to my question, how to open a folder in XYplorer, with such a macro system, without open XYplorer first, by the macro, and then have to manually do things in XYplorer in order to open the folder.
Let us assume I want to open the folder in the currently opened tab in XYplorer, which means I want to replace the currently shown folder there by the "new" one (it's not new, I just want it now to be shown). Or, alternatively, how to display the "new" folder in a new tab, if that is possible. Or, alternatively, how to displday the "new" folder in any other way within XYplorer, perhaps in pane 1 of 2 visible panes, or in pane 2 of 2 visible panes, the tree being visible, too, or without the tree being visible.
Are there any "command lines" in order to do this, or any scriptlets to launch within XYplorer? If it cannot be done with command lines as above, in the form "run path\xyplorer / attributes or options", how can I run such scriptlets from my macro program to work within XY: where is the interface between external launching XYplorer scripts and those internal XYplorer programming scriptlets?
I cannot program within XYplorer, so I would be thankful to have examples of such XYplorer scriptlets in order to do what I want, to be launched by external macro.
Thank you very much in advance. I hope I made clear what I want. I know how to do scripting in my external macro program, but I cannot learn XYplorer macro language in full, in order to just view a given folder.
Which one of my 3-digit number of folders would be shown, would be determined by a variable, which means my macro program would read the line in my main application, put the line into a variable, then would do the command "run %variable%" or "run path\XYplorer %variable% options" if possible. If that is not possible, the variable would to be transferred from my macro program to the XYplorer scriptlet, which would constitute an additional problem, but perhaps that problem can be overcome.
Probably, what I want to realize is a task that other users would be happy to realize too but don't know to?
Off-topic question: Those smilies here on the left, if I click on one, then click ^c, then click ^v in the text, nothing happens. If I try to dragdrop one into my text with the mouse, nothing happens. How to put one into your text? ("Disable smilies" is not checked.)