#this simple script will print in the python tab the grab strength of your left hand

from __future__ import division

leap = Runtime.createAndStart("leap","LeapMotion2")

leap.addFrameListener(python)

def onFrame(frame):
 
 strength = ((frame.hands().leftmost().grabStrength())*100)
 print strength

leap.startTracking()

@@ -1,9 +1,66 @@
 #
+####################################################%0A#%0A# 
 this sim
@@ -117,16 +117,19 @@
 trength 
+%0A# 
 of your 
@@ -138,17 +138,219 @@
 ft hand%0A
-%0A
+#%0A# LeapMotion finger types are defined%0A# as the following:%0A# Type.TYPE_THUMB %0A# Type.TYPE_INDEX %0A# Type.TYPE_MIDDLE%0A# Type.TYPE_RING %0A# Type.TYPE_PINKY%0A%0Aimport com.leapmotion.leap.Finger.Type as Type%0A# 
 from __f

Update LeapMotion2.py