I have been using a nice third-party script to turn the digitizer tablet on a ModBook off and on. The script to turn the pen function off is:
tell application "Finder" activate display dialog "Turn off pen and sleep?" end tell tell application "System Events" set PTD to (unix id of process "PenTabletDriver") as text do shell script "kill -STOP " & quoted form of (PTD) end tell
It is compiled and has been running very nicely from the Scripts pull down menu. However, this morning, after I started up the ModBook (running 10.5.8), I got the following AppleScript error:
Can’t make «class idux» of «class prcs» “PenTabletDriver” of application “System Events” into type Unicode text
Can anyone explain what is happening and, more importantly, how I correct it and get back to how this was running two day ago?
Model: Axiotron Modbook
Browser: Firefox 16.0
Operating System: Mac OS X (10.5)