Hi Hutch,
no idea why this should not work on Windows!?
But "mousestilldown" is not the most effective way (not to say a very inefficient way) to do what you want to!
Try the "scrollbardrag" message instead:
Code: Select all
on scrollbardrag tValue
if (tValue + (the thumbPosition of scrollbar "minRandom")) ≥ 100 then
set the thumbPosition of scrollBar "minRandom" to (99 - tValue)
end if
end scrollbardrag
EDIT!
On the second look I see that you use the Mac-Only ≥ sign!
This does not work on Windows at all, since it does not get correctly translated to the Windows character encoding!
Use >= ( and <> and <=) for crossplatform compatibility!
Nevertheless try the "scrollbardrag" message instead, also on the Mac
Best
Klaus