| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Rexx script help |
Herbert Rosenau wrote:
>abwillis1 schrieb:
>
>
>>I have modified a script from Chris Wohlgemuth's WPSWizard.
>>/* Open a 4OS2 command window */
>>call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
>>call SysLoadFuncs
>>
>>dirName=WPSWizCallFunc("cwQueryRealName", ARG(2), 1)
>>
>>oldDir=DIRECTORY(WPSWizCallFunc("cwQueryRealName", ARG(2), 1))
>>
>>ADDRESS CMD 'd:\utils\4os2\4os2.exe'
>>
>>
>
>'start "4os2 maximised" /max d:\utils\4os2\4os2.exe'
>
>
>>call DIRECTORY oldDir
>>exit
>>
>>
>
>
>
>
>
I had tried that, unfortunately I can't tell that it is doing anything
and because of the way it is being used I don't know how I can debug
what is occurring. It is either not launching anything at all or it
opens and then it closes it so quickly I have no tell tale.
If I put it in as:
ADDRESS CMD 'start "4os2 maximised" /max d:\utils\4os2\4os2.exe'
It isn't minimized but it also doesn't have focus so it opens behind
other windows.
Also if I type exit in this window then it closes but is replaced by a
cmd.exe (the one that presumably launched 4os2 with this method.
Closing with the button in the upper left closes it without the cmd.exe
window coming up.
Andy
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/E8folB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/os2user/
To unsubscribe from this group, send an email to:
os2user-unsubscribe{at}yahoogroups.com
Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
---
* Origin: Waldo's Place USA Internet Gateway (1:3634/1000)SEEN-BY: 633/267 270 5030/786 @PATH: 3634/1000 12 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.