El dimarts, 05 de gener del 2010 a les 18:00, Thomas Adam va escriure: > Regardless of the effect you're after (that's your job), the above is > slightly silly when you can do it thusly: > > DestroyFunc F-Resize > AddToFunc F-Resize > + I Resize $* > + I WarpToWindow 50 50
Got it...! > Then you can just call it like this: > > F-Resize -70p 0p Thanks for the hint! I have spend quite a while trying silly variants. This is now working with the above function: # Shrink width / Height Key minus W 4 F-Resize keep w-70p Key minus W 4S F-Resize w-70p keep # Enlarge width / height Key plus W 4 F-Resize keep w+70p Key plus W 4S F-Resize w+70p keep > And in the future, read up on EchoFuncDefinition. Thanks for the tip! Cheers! -- Mimosinnet Linux User: #463211 41:24:51N (41.4141) 2:11:24E (2.1902) Ningún Lugar Activisme Cultural per a la Transformació Social [email protected]
