====== Differences ====== This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
script_script_maker_tool [2014/05/23 11:43] trianguloy |
script_script_maker_tool [2014/11/19 22:50] (current) trianguloy |
||
|---|---|---|---|
| Line 30: | Line 30: | ||
| ====== Script code ====== | ====== Script code ====== | ||
| - | <code> | + | <sxh javascript> |
| Line 93: | Line 93: | ||
| case 'b': scriptbeg+="LL.getContainerById("+c.getId()+").setPosition("+c.getPositionX()+","+c.getPositionY()+","+c.getPositionScale()+",true);\/\/Desktop Bookmark"; | case 'b': scriptbeg+="LL.getContainerById("+c.getId()+").setPosition("+c.getPositionX()+","+c.getPositionY()+","+c.getPositionScale()+",true);\/\/Desktop Bookmark"; | ||
| break; | break; | ||
| - | case 'z': scriptbeg+="c.setPosition(0,0,1,true);\/\/Zoom 100p"; | + | case 'z': scriptbeg+="var c = LL.getEvent().getContainer()||LL.getCurrentDesktop();\nc.setPosition(0,0,1,true);\/\/Zoom 100p"; |
| break; | break; | ||
| case 'l': scriptbeg+=fullScaleText(false); | case 'l': scriptbeg+=fullScaleText(false); | ||
| Line 171: | Line 171: | ||
| - | </code> | + | </sxh> |