![]() |
![]() ![]() |
![]() |
Guest_Yuri Dario_* |
![]()
Post
#1
|
Guests ![]() |
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 |
|
|
![]()
Post
#2
|
|
![]() Forum Member Group: Admin Posts: 672 Joined: 14-March 00 From: Wilmington, North Carolina Member No.: 3 ![]() |
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 Nielsen (peter@pmview.com) "If you can dream it, you can do it" JFK.
|
|
|
![]()
Post
#3
|
|
![]() Forum Member Group: Admin Posts: 672 Joined: 14-March 00 From: Wilmington, North Carolina Member No.: 3 ![]() |
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, -------------------- Peter Nielsen (peter@pmview.com) "If you can dream it, you can do it" JFK.
|
|
|
Guest_Yuri Dario_* |
![]()
Post
#4
|
Guests ![]() |
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 |
|
|
![]() ![]() |
Lo-Fi Version | Time is now: 1st May 2025 - 01:41 AM |