Page 1 of 2

IZArc UDC help

Posted: 28 Jan 2009 03:48
by jsc572
Hello,
how do I setup a udc commend that replicates izarc's context menu items as shown below? I've tried -a and -ad command switches with no luck. any help? thx.

Image

Re: IZArc UDC help

Posted: 28 Jan 2009 04:06
by serendipity
jsc572 wrote:Hello,
how do I setup a udc commend that replicates izarc's context menu items as shown below? I've tried -a and -ad command switches with no luck. any help? thx.

Image
You mean you have installed izarc and dont get those menus by default?

Re: IZArc UDC help

Posted: 28 Jan 2009 04:17
by jsc572
serendipity wrote: You mean you have installed izarc and dont get those menus by default?
I do have izarc installed , but I only have xpy default items in the context menu to cut down the clutter and xp default junk, I want to use udc commands with ks for izarc items. below is one I tried, but no dice.

"C:\programs\izarc\izarc.exe" -a test.zip-<curfolder> <items>

Re: IZArc UDC help

Posted: 28 Jan 2009 04:28
by serendipity
jsc572 wrote:
serendipity wrote: You mean you have installed izarc and dont get those menus by default?
I do have izarc installed , but I only have xpy default items in the context menu to cut down the clutter and xp default junk, I want to use udc commands with ks for izarc items. below is one I tried, but no dice.

"C:\programs\izarc\izarc.exe" -a test.zip-<curfolder> <items>
Oh ok, does this work?
openwith """C:\programs\izarc\izarc.exe"" -a test.zip-<curfolder> <items>"

Re: IZArc UDC help

Posted: 28 Jan 2009 04:41
by jsc572
serendipity wrote:
jsc572 wrote:
serendipity wrote: You mean you have installed izarc and dont get those menus by default?
I do have izarc installed , but I only have xpy default items in the context menu to cut down the clutter and xp default junk, I want to use udc commands with ks for izarc items. below is one I tried, but no dice.

"C:\programs\izarc\izarc.exe" -a test.zip-<curfolder> <items>
Oh ok, does this work?
openwith """C:\programs\izarc\izarc.exe"" -a test.zip-<curfolder> <items>"
unfortunately, no. izarc doesn't recognize anything after the -a.

Re: IZArc UDC help

Posted: 28 Jan 2009 05:27
by serendipity
jsc572 wrote:
serendipity wrote:
jsc572 wrote:
serendipity wrote: You mean you have installed izarc and dont get those menus by default?
I do have izarc installed , but I only have xpy default items in the context menu to cut down the clutter and xp default junk, I want to use udc commands with ks for izarc items. below is one I tried, but no dice.

"C:\programs\izarc\izarc.exe" -a test.zip-<curfolder> <items>
Oh ok, does this work?
openwith """C:\programs\izarc\izarc.exe"" -a test.zip-<curfolder> <items>"
unfortunately, no. izarc doesn't recognize anything after the -a.
I get the IZArc window with options to choose location etc, but when i click OK nothing happens. Are you sure IZArc command line works? btw try this yourself:

Code: Select all

//IZArc code
   focus;
   $items= getinfo ("SelectedItemsPathNames",";");
   run """C:\programs\izarc\izarc.exe"" -a $items";

Re: IZArc UDC help

Posted: 29 Jan 2009 01:03
by jsc572
//IZArc code
focus;
$items= getinfo ("SelectedItemsPathNames",";");
run """C:\programs\izarc\izarc.exe"" -a $items";
yes, the code works. thx alot! how can I set the file name to automatically to the current date and time with -ad (silent mode) switch?

Re: IZArc UDC help

Posted: 29 Jan 2009 03:22
by serendipity
jsc572 wrote:
//IZArc code
focus;
$items= getinfo ("SelectedItemsPathNames",";");
run """C:\programs\izarc\izarc.exe"" -a $items";
yes, the code works. thx alot! how can I set the file name to automatically to the current date and time with -ad (silent mode) switch?
Use <date>

Re: IZArc UDC help

Posted: 29 Jan 2009 05:04
by jsc572
jsc572 wrote:

//IZArc code
focus;
$items= getinfo ("SelectedItemsPathNames",";");
run """C:\programs\izarc\izarc.exe"" -a $items";



yes, the code works. thx alot! how can I set the file name to automatically to the current date and time with -ad (silent mode) switch?


Use <date>
not sure I understand, where do I put <date> variable?

Re: IZArc UDC help

Posted: 29 Jan 2009 05:28
by serendipity
jsc572 wrote:
jsc572 wrote:

//IZArc code
focus;
$items= getinfo ("SelectedItemsPathNames",";");
run """C:\programs\izarc\izarc.exe"" -a $items";



yes, the code works. thx alot! how can I set the file name to automatically to the current date and time with -ad (silent mode) switch?
Use <date>
not sure I understand, where do I put <date> variable?
I dont know the syntax, where do you normally put it? If its like in your original syntax:

Code: Select all

"C:\programs\izarc\izarc.exe" -a test.zip-<curfolder> <items>
then it maybe:

Code: Select all

//IZArc
        focus;
        $items= getinfo ("SelectedItemsPathNames",";");
        run """C:\programs\izarc\izarc.exe"" -a test_<date yymmdd>.zip $items";

Re: IZArc UDC help

Posted: 31 Jan 2009 05:30
by jsc572
Hi, thanks for your help on izarc, I tried out 7zip last night and found it to be more intuitive, especially with the 7zip script you posted on the other thread, my questions though, is how can I modify that script to open 7zip archive window with all the options? since I usually compress multiple files, it's not really practical to set the zip file name to <curbase>, I want to be able to choose a different name to use. thx.

Re: IZArc UDC help

Posted: 31 Jan 2009 07:02
by serendipity
jsc572 wrote:Hi, thanks for your help on izarc, I tried out 7zip last night and found it to be more intuitive, especially with the 7zip script you posted on the other thread, my questions though, is how can I modify that script to open 7zip archive window with all the options? since I usually compress multiple files, it's not really practical to set the zip file name to <curbase>, I want to be able to choose a different name to use. thx.
With the below modified script you can name your archive whatever you want:
7zip_v2.xys

Re: IZArc UDC help

Posted: 31 Jan 2009 16:31
by jsc572
you rock!

one more request though, I assume your script all zip/7z files with normal compression right? how about a script to call the native 7zip "add to archive..." window with all the options to change compression methods and etc...

:D

Re: IZArc UDC help

Posted: 01 Feb 2009 06:07
by serendipity
jsc572 wrote:you rock!

one more request though, I assume your script all zip/7z files with normal compression right? how about a script to call the native 7zip "add to archive..." window with all the options to change compression methods and etc...

:D
Thanks for confirming that you bought a XY lifetime license (and quit DO). Here is the code:

Code: Select all

  input $Archive, "Enter archive name", archive;
  openwith """C:\Program files\7-Zip\7zG.exe"" a -ad $Archive"
I am glad you are enjoying XY.

Re: IZArc UDC help

Posted: 01 Feb 2009 06:45
by jsc572
serendipity wrote:
jsc572 wrote:you rock!

one more request though, I assume your script all zip/7z files with normal compression right? how about a script to call the native 7zip "add to archive..." window with all the options to change compression methods and etc...

:D
Thanks for confirming that you bought a XY lifetime license (and quit DO). Here is the code:

Code: Select all

  input $Archive, "Enter archive name", archive;
  openwith """C:\Program files\7-Zip\7zG.exe"" a -ad $Archive"
I am glad you are enjoying XY.
oh yeh, I don't think I will look back to DO anytime soon :) DO's tab interface is just not as intuitive to use as xyp, although I do miss the one-click imageshack upload feature, but I think that's something I can manage to getby without it.