Shortcutting to screendump despite opened menus ?

Kresten Bjerg Kresten.Bjerg at psy.ku.dk
Sun Apr 2 22:08:50 EDT 2006


Hi Phil

The frontscript idea sounds good. But from the documentation it seems as if it is only objects which can be send to frontscript. So when it is a single handler in a very very long substackscript, ..????????.... is there a way to send a single handler to frontscript ?


on commandKeyDown theKey 
  global phenodate
  if theKey is "y" then  
      put the snappath of this stack & "/" & phenodate && the time  & ".jpg" into navn
      export snapshot from rect "0,0,1021,764" to file navn as JPEG
  else pass commandKeyDown
end commandKeyDown

Kresten




More information about the use-livecode mailing list