IZArc UDC help

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
jsc572
Posts: 67
Joined: 16 Feb 2007 01:31

IZArc UDC help

Post 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

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: IZArc UDC help

Post 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?

jsc572
Posts: 67
Joined: 16 Feb 2007 01:31

Re: IZArc UDC help

Post 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>

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: IZArc UDC help

Post 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>"

jsc572
Posts: 67
Joined: 16 Feb 2007 01:31

Re: IZArc UDC help

Post 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.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: IZArc UDC help

Post 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";

jsc572
Posts: 67
Joined: 16 Feb 2007 01:31

Re: IZArc UDC help

Post 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?

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: IZArc UDC help

Post 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>

jsc572
Posts: 67
Joined: 16 Feb 2007 01:31

Re: IZArc UDC help

Post 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?

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: IZArc UDC help

Post 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";

jsc572
Posts: 67
Joined: 16 Feb 2007 01:31

Re: IZArc UDC help

Post 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.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: IZArc UDC help

Post 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
To see the attached files, you need to log into the forum.

jsc572
Posts: 67
Joined: 16 Feb 2007 01:31

Re: IZArc UDC help

Post 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

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: IZArc UDC help

Post 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.

jsc572
Posts: 67
Joined: 16 Feb 2007 01:31

Re: IZArc UDC help

Post 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.

Post Reply