Swallow and Desk in Wharf
Ashley Ward (ashley@dcs.warwick.ac.uk)
Fri, 7 May 1999 17:32:56 +0100
Hi...
Apologies for jumping straight in and asking a question before reading the
list, but I can't find an answer to this in the FAQ or man pages.
I've got 'xmailbox' to appear, swallowed in Wharf. I want to be able to
click on this icon and have AfterStep change to the Mail Desk, which I can
do with the command 'Desk 0 2'.
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.
I cannot get xmailbox to execute something to perform this task, as
switching desks requires communication with AfterStep, I guess.
Any ideas?
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