Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!usc!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!ames!sgi!shinobu!odin!texas.esd.sgi.com!robert From: robert@texas.esd.sgi.com (Robert Skinner) Newsgroups: comp.sys.sgi Subject: Re: Do somthing with a directory besides viewing Message-ID: <9528@odin.corp.sgi.com> Date: 26 Jun 90 22:22:34 GMT References: <9006261127.AA07184@mcirps2.med.nyu.edu> Sender: news@odin.corp.sgi.com Reply-To: robert@sgi.com Organization: Silicon Graphics Inc., Entry Systems Division Lines: 53 In article <9006261127.AA07184@mcirps2.med.nyu.edu>, root@MCIRPS2.MED.NYU.EDU writes: |> |> If I click on a directory below, I want to startup my appliation, not open the |> directory. Workspace does not seem to recognize these two matches. What am I |> doing bad ? |> |> TYPE SkullDirectory |> MATCH dircontains(".SkullDir"); |> # MATCH glob("D.Skulls"); |> CMD OPEN echo $LEADER |> ICON |> { |> include("SkullDir.fti"); |> } |> |> |> -- |> +-----------------------------------------------------------------------------+ |> | karron@nyu.edu Dan Karron | |> | . . . . . . . . . . . . . . New York University Medical Center | |> | 560 First Avenue \ \ Pager <1> (212) 397 9330 | |> | New York, New York 10016 \**\ <2> 10896 <3> | |> | (212) 340 5210 \**\__________________________________________ | |> +-----------------------------------------------------------------------------+ (Betsy may followup with a definitive response later, but for now:) The open/alt-open/etc.. rules for directories were originally interpreted like other files, but are now hard-coded in the workspace. Performance increased *dramatically* because directory rules are used so extensively. The performance increase was considered worth the loss of flexibility. (Page 2-10 of "Programming the IRIS WorkSpace" mentions this.) I believe the workspace-heads are working on relaxing this condition. Robert Skinner robert@sgi.com I saw a werewolf drinking a pina colada at Trader Vic's; an' his hair was perfect...