PMView.com

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Waiting For Script To End
Guest_Yuri Dario_*
post Jun 25 2005, 01:14 PM
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
Go to the top of the page
 
+Quote Post
Peter
post Jun 27 2005, 06:19 PM
Post #2


Forum Member


Group: Admin
Posts: 660
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.
Go to the top of the page
 
+Quote Post
Peter
post Jul 5 2005, 01:49 PM
Post #3


Forum Member


Group: Admin
Posts: 660
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.
Go to the top of the page
 
+Quote Post
Guest_Yuri Dario_*
post Jul 25 2005, 05:33 PM
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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 19th February 2018 - 11:02 PM