Monday, November 08, 2010 at 12:05 AM.
system.verbs.builtins.radio.utilities.releaseFlInstallFlag
on releaseFlInstallFlag (flDialogs = true) {
<<Changes
<<12/21/01; 5:52:52 PM by JES
<<Added optional parameter, flDialogs. Default is true. If false, no dialogs are displayed.
<<10/20/01; 5:08:23 PM by JES
<<This is a utility script for UserLand people to use to release radio.data.flInstall.
<<It kills your threads, sets flInstall to true, releases it through root updates, sets it to false, and starts threads again.
local (adrobject = @radio.data.flInstall);
bundle { //kill threads
user.scheduler.prefs.runThreads = false;
scheduler.monitorThreads ()};
webEdit.checkOutObject (adrobject);
adrobject^ = true;
webEdit.checkInObject (adrobject);
adrobject^ = false;
bundle { //restart threads
user.scheduler.prefs.runThreads = true;
scheduler.monitorThreads ()};
if flDialogs {
dialog.notify ("radio.data.flInstall has been released.")}}
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.