Ask for Value in External Tool [FIXED]

Questions, glitches, bugs and crashes
Locked
MrZigi
Posts: 6
Joined: Sun Mar 21, 2021 1:54 pm

Ask for Value in External Tool [FIXED]

Post by MrZigi » Sun Jun 27, 2021 4:30 pm

Hello Fellow NC Fans,

anybody to explain how "Ask for Value" is supposed to be used?
I try the following for RAR in "Parameters":

Code: Select all

a %? %F
which is supposed to ask for archive name if my understanding of "Ask for Value" is correct. Instead I get the unknown exception:

Unexpected exception was caught:
Unknown exception

When I simply use "archive.rar" in place of %? it works just fine.

Thinking it's RAR's fault I did little test with command echo using "%F > %?" in parameters. Same exception.

Thanks and regards,
Zigi

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Ask for Value in External Tool

Post by mike » Tue Jun 29, 2021 10:03 pm

Hi,
I've just checked it and indeed there's a problem in the UI code...
That's frankly surprising given that this part wasn't changed in years.
I'll fix the issue, thank you for reporting it.

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Ask for Value in External Tool

Post by mike » Sun Jul 04, 2021 10:22 pm

Fixed, next preview should work as expected.
Also made the dialog a bit friendlier:
ext_tool_args.png
ext_tool_args.png (183.7 KiB) Viewed 3401 times

MrZigi
Posts: 6
Joined: Sun Mar 21, 2021 1:54 pm

Re: Ask for Value in External Tool [FIXED]

Post by MrZigi » Sun Aug 01, 2021 9:02 am

Hello Mike,

works as a charm!

Thanks a lot and best regards,
Zigi

Locked