Hi,
I have a function bound to a key (F4) to goto a certain desk and page.
I'd like to have another function that is bound to another key (F3) that
would take me back to the desk and page where I was before I pressed
F4. Here's what I came up with, but it didn't work. Any suggestions?
AddToFunc ReturnToPrevDeskPage
+ "I" GotoDesk 0 ${CUR_DESK}
AddToFunc GotoMyDeskPage
+ "I" SetEnv $d CUR_DESK
+ "I" GotoDesk 0 1
+ "I" GotoPage 0 0
Key F3 A N ReturnToPrevDeskPage
Key F4 A N GotoMyDeskPage
I couldn't find a variable which returned the current page!
Thanks,
Brennan
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Feb 24 2000 - 08:21:11 GMT