Share Your Scripts!
Please send me your scripts if you think they are useful to others, so I can put them on this site and share with all LSQL users.
Please send me your scripts if you think they are useful to others, so I can put them on this site and share with all LSQL users.
In scripts menu of LSQL, you can manage your scripts. LSQL passes one parameter to your script using the key "MainWorkSheet":
workSheet := params objectForKey:'MainWorkSheet'.MainWorkSheet is the document controller of LSQL query window. You can get other interesting objects like:
dbController := workSheet dbController. sqlTextView := workSheet sqlTextView. resultTextView := workSheet resultTextView.Use F-Script Console to browser around in LSQL and to learn how things work behind the scene. Some examples can be found here too.
LSQL uses F-Script for scripting. At www.fscript.org you can find all the information about it.