Not understanding layercut.dll Thread last updated on 2003-06-15 13:34:38

Posted by member 13552 on 2003-06-13 17:24:11

Well, the documentation was confusing so uh...

How do I use 'execution syntax'. I understand that i'll need this

*layercut execution
*layercut left
*layercut right
*layercut middle
*layercut drop
*layercut in
*layercut out
*layercut ~execution

But do I declare all the other properties (position etc.) the old way? And what is execution-name, is it the caption that is declared in the shortcut definition? Sorry, but i am horribly confused!

Posted by member 580 on 2003-06-15 03:06:14 link

define your shortcut normally with position etc.
the execution name is whatever you want and is used to refer to the execution where you would normally specify a !bang in the shortcut line.
and you can leave out any of the execution options you don't want to use

[code]
*Shortcut "anim" 0 0 ls_normal ls_hover ls_click #1t a:192 .none .none ls_exec

*layercut execution ls_exec
*layercut left !alert "left click" "exec test"
*layercut right !alert "right click" "exec test"
*layercut middle !alert "middle click" "exec test"
*layercut ~execution
[\code]

Posted by member 13552 on 2003-06-15 13:34:38 link

Awesome, thanks!