gpotts@oregon.uoregon.edu (06/05/91)
I have a AmigaDOS script file that looks something like this: ASK "Wanna do it?" IF WARN DoIt DoItSomeMore ENDIF ASK "Did you like it?" DoItAgain If I run this from a shell, all is well. If, however, I use ICONX, when I doubleclick on the script's icon that I created, ICONX opens a window, the lines: Wanna do it? Wanna do it? appear in the window and then, regardless of what I do, the window closes after a second or two. This script worked fine from ICONX before I modified it by putting in the ASKs. What don't I know that I need to know? This is under WB 2.03 on an A3000-25/50. The script is loading a preset screenmode and palette before launching A-Max. Thanks. --geoff gpotts@oregon.uoregon.edu
andy@cbmvax.commodore.com (Andy Finkel) (06/06/91)
In article <21126.284b80e7@oregon.uoregon.edu> gpotts@oregon.uoregon.edu writes: > >I have a AmigaDOS script file that looks something like this: > >ASK "Wanna do it?" >IF WARN >DoIt >DoItSomeMore >ENDIF >ASK "Did you like it?" >DoItAgain > >If I run this from a shell, all is well. If, however, I use ICONX, when I >doubleclick on the script's icon that I created, ICONX opens a window, the >lines: > >Wanna do it? Wanna do it? > >appear in the window and then, regardless of what I do, the window closes >after a second or two. It sounds like you are invoking the 1.3 IconX program, rather than the 2.0. Use the version command on it to check this. The 1.3 IconX command would only open input for the script if it began with a . command, ie .key place .bra [ .ket ] ASK "Wanna do it?" IF WARN DoIt DoItSomeMore ENDIF ASK "Did you like it?" DoItAgain The 2.0 IconX always opens input. andy -- andy finkel {uunet|rutgers|amiga}!cbmvax!andy Commodore-Amiga, Inc. "If all you have is a hammer, everything looks like a popsicle." Any expressed opinions are mine; but feel free to share. I disclaim all responsibilities, all shapes, all sizes, all colors.
mmoore@ux.acs.umn.edu (Malcolm Diallo Moore) (06/08/91)
In article <21126.284b80e7@oregon.uoregon.edu> gpotts@oregon.uoregon.edu writes: > >I have a AmigaDOS script file that looks something like this: > I have a question about using ICONX. Is there any way you can get ICONX NOT to open a window when you execute a a file from workbench that's tied into ICONX?
andy@cbmvax.commodore.com (Andy Finkel) (06/09/91)
In article <4076@ux.acs.umn.edu> mmoore@ux.acs.umn.edu (Malcolm Diallo Moore) writes: >In article <21126.284b80e7@oregon.uoregon.edu> gpotts@oregon.uoregon.edu writes: >> >>I have a AmigaDOS script file that looks something like this: >> > >I have a question about using ICONX. > >Is there any way you can get ICONX NOT to open a window when you execute a >a file from workbench that's tied into ICONX? Put a tooltype: WINDOW=NIL: in your scripts project icon. andy -- andy finkel {uunet|rutgers|amiga}!cbmvax!andy Commodore-Amiga, Inc. "2.0 is not the answer. 2.0 is the question. Yes is the answer." Any expressed opinions are mine; but feel free to share. I disclaim all responsibilities, all shapes, all sizes, all colors.