300.0
420
300
420.0
filename
sketcher$0.mml
date
1241559086000
url
/Users/ddamelin/Desktop/desktop detritus/sketcher/sketcher$0.mml
size
11170
codebase
/Users/ddamelin/Desktop/desktop detritus/sketcher
define %move 1;
define %dropH 2;
define %dropO 3;
define %dropC 4;
define %dropN 5;
define %bond 6;
define %rotate 7;
define %addText 8;
define %delete 9;
define %duplicate 10;
define %buttonSelected %move;
cursor MOVE_CURSOR;
define %lastAtom 0;
beginmouse:released;
if (%buttonSelected == %move);
select image none;
select atom none;
select textbox none;
endif;
if (%buttonSelected == %dropH);
set %lastAtom %number_of_atoms-1;
add image h.png atomno=%lastAtom;
select image none;
endif;
if (%buttonSelected == %dropO);
set %lastAtom %number_of_atoms-1;
add image o.png atomno=%lastAtom;
select image none;
endif;
if (%buttonSelected == %dropC);
set %lastAtom %number_of_atoms-1;
add image c.png atomno=%lastAtom;
select image none;
endif;
if (%buttonSelected == %dropN);
set %lastAtom %number_of_atoms-1;
add image n.png atomno=%lastAtom;
select image none;
endif;
if (%buttonSelected == %addText);
add textbox <t>Double-click to edit.</t> (%mouse_x/10,%mouse_y/10);
beginexternal;
@page:0:selectcomponent 0 true execute;
endexternal;
endif;
endmouse:released;
1.0
None
-1680041
-3355444
-13395457
255
0
255
255
0
0
255
255
false