Is it possible to register events on things like the My Computer node? More specifically, its children, but I can't seem to get anything to work except nodes I've created myself. For example:
- Code: Select all
Dim mainTree : Set mainTree = SDB.MainTree
Dim myComputer : Set myComputer = mainTree.Node_MyComputer
myComputer.Expanded = True
Dim node : Set node = mainTree.FirstChildNode(myComputer) ' C:\
node.UseScript = Script.ScriptPath
Script.RegisterEvent node, "OnNodeFocused", "OnNodeFocused"
But the callback never happens. I'm also unable to add nodes under My Computer (I don't need to -- just testing what works!), so I wonder if the whole thing is "locked"?
Thanks a lot for any assistance!