To set the script drawing line style of a frame named MyFrame to a 4 pixel solid line:
MyFrame.SetLineStyle( 4 );
To set the script drawing line style of a frame named MyFrame to a 10 pixel dashed line:
MyFrame.SetLineStyle( 10, 1, 10, 5 );