Re: Swallow and Desk in Wharf

Ashley Ward (ashley@dcs.warwick.ac.uk)
Fri, 14 May 1999 18:39:25 +0100


Ethan <allanon@crystaltokyo.com> writes:
> On Fri, 7 May 1999, Ashley Ward wrote:
> > Unfortunately Wharf only accepts built in commands or Wharf commands, and I
> > can see no way to do two things at once. I've tried using a function, eg
> > 
> > Function "Swallow-and-Move"
> > 	Swallow "xmailbox" xmailbox &
> > 	Desk 0 2
> > EndFunction
> > *Wharf xmailbox - Swallow-and-Move
> > 
> > but Wharf cannot cope with function definitions, it seems.
> 
> Get AfterStep 1.7.90 or later, and use:
> 
> *Wharf xmailbox - Swallow "xmailbox" xmailbox &
> *Wharf xmailbox - Exec "-" ascommand.pl "Desk 0 2" &

Aha!

Or even

*Wharf xmailbox - Swallow "xmailbox" xmailbox &
*Wharf xmailbox - Desk 0 2

with my current version of Afterstep (1.6.10).

Brilliant - thanks Ethan.

Ash.

-- 
         Ashley Ward - Graduate Teaching Assistant - PhD year 1
    ashley@dcs.warwick.ac.uk - http://www.dcs.warwick.ac.uk/~ashley/
Room 102, Department of Computer Science, University of Warwick, Coventry

--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.calderasystems.com/linuxcenter/forums/afterstep.html