I would like to create a function that adds a special symbol at a location to be defined by a mouse click.
I think I would like to start from vbs script.
I am fairly familiar with vbs automation.
You can use the Block.AddComponentMoveMode method that takes three arguments, the symbol name and the initial x and y co-ordinates.
This method is no longer documented as it has been replaced by the AddSymbolInstance and AddPartInstance methods, but those do not allow the user to specify the position using the mouse.
How long would you expect this method to be arround. I don't want to build something that will be invalid next release.
Automation methods and properties should never be removed, and only in extreme cases (such as the iCDB infrastructure changes in EE2007) those automation methods/properties will produce an error if the implementation becomes impossible.
Retrieving data ...