Help - Search - Members - Calendar
Full Version: Waiting For Script To End
PMView Pro Forums > PMView Pro Discussion > PMView - General Discussion
Yuri Dario
Hi,

I need to execute a script to convert a lot of images in different directories.

I can use a small rexx script to recurse the subdir tree, but this will start a pmview instance for every directory.

Is there a way to wait for script execution end?

or to add recursion directly to scripting.

TIA,

Yuri
Peter
Yuri,

Are you running the scripts from the command line with REXX? I think that's the key. I don't see a problem with starting a new PMView instance for every directory since the GUI is not used when running scripts from the command line.

Thanks,
Peter
Yuri,

OS/2 should keep PMView in memory, so disk-IO should not be a problem. If it is, then consider installing PMView on the local harddrive. Then it will definitely be cached in memory. (Or am I confusing things with how it works on Windows? I can't imagine that OS/2 would read it from disk every time...)

Also, by using wild cards you would only need to start the script once per directory.

Of course the REXX script should serialize the execution of PMView. Otherwise you risk running out of memory.

Thanks,
Yuri Dario
Hi Peter,


sorry for late reply,


>Of course the REXX script should serialize the execution of PMView. Otherwise you risk >running out of memory.

I experimented a little bit more, but I'm unable to serialize it. How should I do this?

TIA,

Yuri
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.