on getBehaviorDescription
return " " & ¬
"- - System Cursors Bahavior - -" & RETURN & ¬
"Changes all system cursors:"& RETURN & ¬
"Appstarting, Arrow, Crosshair, Ibeam, No, Sizeall, Sizenesw, Sizens, Sizenwse, Sizewe, Uparrow, Wait, Hand."
end
on mouseDown
-- List of all system desktop icons
set Cursors = []
add Cursors, "Appstarting"
add Cursors, "Arrow"
add Cursors, "Crosshair"
add Cursors, "Ibeam"
add Cursors, "No"
add Cursors, "Sizeall"
add Cursors, "Sizenesw"
add Cursors, "Sizens"
add Cursors, "Sizenwse"
add Cursors, "Sizewe"
add Cursors, "Uparrow"
add Cursors, "Wait"
add Cursors, "Hand"
changeCursors
end
on changeCursors
set cursor = ""
repeat with i = 1 to count(Cursors)
do "set cursor="&getAt(Cursors,i)
set Ok = setSystemCursor (getAt(Cursors,i), cursor)
if getAt(Ok,1) = 0 then
-- Ok
else
-- Error
alert("Error: " & getAt(Ok,1) & " - base error code")
end if
end repeat
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA