Create Scripting tools - nicho92/MtgDesktopCompanion GitHub Wiki
MTGCompanion allow you to make some script to run when you want, or automat them with SERVER Qwartz
Toolbar
: choose the script engine
: create new script
: open the script file
: save the script
: print the script results
: run the script
: enable when a script is running. Then this button stop it
Use variables
Script engine embed shortcut to Plugins :
daoto get the current databaseproviderto get the current providerpictureto get the current picture providerindexerto get the current indexerimportexportersto get the list of enabled exportgeneratorto get the current generatorpricersto get the list of enabled pricersdashboardto get the current dashboardsniffersto get the list of enabled Deck Snifferscacheto get the current cacheserversto get the list of the enabled serversshoppersto get the list of the enabled shoppersexternalShopto get the list of the enabled external shoppers
you can press alt+space to enable suggestion
Run patch
use this module when patchnote indicate " please run this script ", when you setup a new version.
Just copy/past the script in the editor, or download / open it.
Run Script
Just click on to run the script and wait for results ;)
You can find some sample or usefull script here