Hi,
Sitting here in front of XYplorer and spending hours fighting with TortoiseSVN, i thought about something that would be great.
I think it would really be great to be able to launch a catalog item in the current dir.
The best way to explain it is to give an example.
When i want to do a svn update, i have to go up one dir, select the dir i want to update, do a right click, wait a few earth cycles... then choose svn update.
What would really much simpler is add a svn update(command line) in the catalog and when i click on it, it s launched in the current dir...
WHat do you think?
EDIT: Just thought, may be i can do that with script?
catalog item: launch in current list directory
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: catalog item: launch in current list directory
This should do it for you (assuming you have svn in your path):carmenm wrote:EDIT: Just thought, may be i can do that with script?
Code: Select all
::Run('"svn" update');-
carmenm
Re: catalog item: launch in current list directory
I tried it with the try script. But the console opening close too quick and i dont know if it works.
any idea on how to have a better look at the output ?
any idea on how to have a better look at the output ?
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: catalog item: launch in current list directory
Well, you could execute the svn update in a command prompt and do something like:
Or a step further so that you can just hit a key to close that command prompt:
Code: Select all
::Run('"cmd" /K svn update');Code: Select all
::Run('"cmd" /K svn update && pause && exit');-
carmenm
Re: catalog item: launch in current list directory
It helps a lot, i know see that it works!.
Yet now i am looking at another approach. In a script is there a way to get the current dir path?
Thanks
Yet now i am looking at another approach. In a script is there a way to get the current dir path?
Thanks
-
Muroph
- Posts: 561
- Joined: 21 Aug 2007 16:13
Re: catalog item: launch in current list directory
<curpath>carmenm wrote:Yet now i am looking at another approach. In a script is there a way to get the current dir path?
My shared scripts:
TeraCopy Integration, Tag Manager, Comments Menu, Text Replacer, Image and Media Tools, Checksum Calculator, Video Calculator
only 5 URLs are allowed on the sig...
TeraCopy Integration, Tag Manager, Comments Menu, Text Replacer, Image and Media Tools, Checksum Calculator, Video Calculator
only 5 URLs are allowed on the sig...
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: catalog item: launch in current list directory
You may be interested in this script: http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=3801
Though from the sounds of it you may be well on your way to generating something similar on your own.
Though from the sounds of it you may be well on your way to generating something similar on your own.
-
carmenm
Re: catalog item: launch in current list directory
Thank you so much !
This is exactly what i need to start doing my script

This is exactly what i need to start doing my script
XYplorer Beta Club