![]() |
![]() |
Guest_Al Savage_* |
![]()
Post
#1
|
Guests ![]() |
QUOTE Conversion Scripts: When using a relative path in a conversion script, the path is resolved with reference to the current directory of the command line. While this works as expected when running PMView scripts from the command line, the behavior may seem odd and confusing to users launching the script directly from the main menu or from the FOC popup menu. This version changes the behavior so that relative paths are resolved relative to the FOC directory. When running scripts from the command line, the behavior remains unchanged. I just had an opportunity to try to use this. In the screenshot below of an error dialog that popped in the FOC, the dir K:\ftp\Biodiesel does exist, and is the what the FOC is showing. I selected five files, RMB and selected Convert, and for the Output Directory I typed "work" by itself (w/o quotes). (Earlier, I'd tried ".\work" which failed oddly, you may want to test for yourself. It should resolve but doesn't, and PMV then shows the faulty path as K:\ftp\Biodiesel\.\work\etc which clearly isn't what is intended.) Screenshot: ftp://asavage.dyndns.org/hosting/PMView/PMV2000_25.png Freespace on K: is 27GiB, and it's not write-protected. Regards, Al S. |
|
|
![]() ![]() |
Lo-Fi Version | Time is now: 30th April 2025 - 08:59 AM |