Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

watcoh

macrumors newbie
Original poster
Dec 21, 2008
5
0
Dublin, OH
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?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.