Re: Swallow and Desk in Wharf

Ethan (allanon@crystaltokyo.com)
Wed, 12 May 1999 17:05:20 -0700 (PDT)



On Mon, 10 May 1999, Ashley Ward wrote:

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" &

----
Ethan Fischer
allanon@crystaltokyo.com
http://members.xoom.com/allanon1



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