Path: utzoo!attcan!uunet!ubvax!ardent!rap From: rap@ardent.UUCP (Rob Peck) Newsgroups: comp.sys.amiga Subject: Re: Iconx questions Summary: and for even more fun... Keywords: window size format, cd Message-ID: <729@ardent.UUCP> Date: 21 Nov 88 18:13:28 GMT References: <1097@esunix.UUCP> <275@antares.UUCP> Organization: Dana Computer, Inc., Sunnyvale, CA Lines: 35 In article <275@antares.UUCP>, jms@antares.UUCP (joe smith) writes: > In article <1097@esunix.UUCP> blgardne@esunix.UUCP (Blaine Gardner) writes: > >2) How can I do an assign to the the current directory? > > 'ASSIGN HERE: ""'. Two quotemarks with nothing between them is an alias > for the current directory. And, from what I recall from the 1.3 documentation, there is now the ability to use the special character combination "$$" to represent the current cli number. SO you can have more than one incantation (execute script) running from ICONX, each of which has the following line in it: 'ASSIGN HERE<$$>: ""' ASSIGN's are global, so you have to come up with a unique name, otherwise the two scripts would collide with each other when referring to the global value. By using the $$ capability, you might get a HERE2: running from one script and a HERE3: running the other, each referring to a separate directory somewhere in the system, and therefore each able to find its own unique set of files, providing ICONX a way to run multiple programs without problems. Note that ICONX always does a CD to the directory in which its icon is located (very handy) which makes the "" reference as the current directory work fine. I have not yet tried to use this capability, but as I understood, it went in really near the end of the 1.3 evaluations (possibly not in any of the Gamma versions at all, but I believe it was in the Omega's... I did not hear about it until just before I got the 1.3 documentation). Please check the DOCS, I hope I remembered it right. If so, it will surely be an additional useful tool for execute-script writers. Rob Peck