05-04-2004, 07:54 AM -
This would be a nice feature. Give the checkbox a 'checked' property that can fire a script of some sort, and it would be great.
For example, on startup, the checkbox runs 'IsChecked', a script that verifies the condition of a service, and returns True/False. If the service is running, the box is checked.
Unchecking the box calls 'UnChecked', which stops the service. Re-checking it calls 'Checked' which restarts it.
Hooking the Windows Scripting Host into the plugin would allow folks to use a number of languages for scripting.
I may have to see about getting VC++ so I can try my hand at this one of these days...
For example, on startup, the checkbox runs 'IsChecked', a script that verifies the condition of a service, and returns True/False. If the service is running, the box is checked.
Unchecking the box calls 'UnChecked', which stops the service. Re-checking it calls 'Checked' which restarts it.
Hooking the Windows Scripting Host into the plugin would allow folks to use a number of languages for scripting.
I may have to see about getting VC++ so I can try my hand at this one of these days...