FVWM: Screenshot done from MenuItem

From: calmar <mac_at_calmar.ws>
Date: Wed, 25 Feb 2004 20:06:09 +0100

Hi all,

In order I can make screenshots easily, I bound this command to a
key:
Key F12 A 1 exec sleep 3 && import -window root ~/pics/screenshots/sc-`date +%F-%H-%M-%S`.jpg

Obviously the F12 Mod1(Alt) combination is not available here
when a menu is open, so when I want to make a screenshot, I have
to execute this command (shortcut) when no Menu is open, then with the sleep
3 command I have enough time to open a menu I like.

So besides that it's interesting why Menu is obviously not
included in the 'A', it's all ok.

Anyway, when I want to put about the same into a Menu, it
obviously does not work at all then. P.e:

DestroyMenu testmenu
AddToMenu testmenu
+ "screenshot" Exec exec sleep 3 && import -window root ~/pics/screenshots/sc-`date +%F-%H-%M-%S`.jpg

I won't really need it, but It would again be interesting why I
does not work..

Greetings
marco candrian

-- 
  calmar 
           (o_         GNU/Linux is GREAT      
           //\                 
           V_/_        http://www.calmar.ws 
                                          
--
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 Wed Feb 25 2004 - 13:08:30 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:56 BST