Path: utzoo!attcan!uunet!know!zaphod.mps.ohio-state.edu!usc!rutgers!cunixf.cc.columbia.edu!cunixb.cc.columbia.edu!es1 From: es1@cunixb.cc.columbia.edu (Ethan Solomita) Newsgroups: comp.sys.amiga.tech Subject: AppIcon questions Message-ID: <1990Oct28.002631.27874@cunixf.cc.columbia.edu> Date: 28 Oct 90 00:26:31 GMT Sender: news@cunixf.cc.columbia.edu (The Daily News) Organization: Columbia University Lines: 19 I was looking into how to write an AppIcon program that would create an icon on the workbench which, if an icon were dropped on it, the icon would be printed. It seems pretty simple. The only question I have is how to find the exact path of the file, as well as the name of the icon. The WBArg received contains a name and a lock. The name doesn't seem to have a path in it. I am not familiar with locks, and I assume that that is where to find the answer. Also, directories don't have a name, just an empty string. Is the lock usable anyway? I realize you don't print a directory but it is useful for other applications. Thanks, -- Ethan Ethan Solomita: es1@cunixb.cc.columbia.edu GorbachevAwards++; free (SovietUnion); IndependentRepublics += 15;