Hello,
I have problem with idle handler. My application displays some info on the virtual memory and allows to puge the inactive memory with a button. Without idle handler connected, no problem but with the idle handler, the command blocks. but if I click on the mouse button, the command ends! ???
on idle theObject
readInfoMemoryUsage()
return 5
end idle
on clicked theObject
if name of theObject is "purgeMemory" then
do shell script "purge"
end if
end clicked
on readInfoMemoryUsage()
-- code for display the info
end readInfoMemoryUsage
Sorry for my bad english…