Adding annotation objects via toolpallette

I want to place annotation objects in a tool palette and insert them at the current scale.
By selecting properties of an object inside the pallette you can set a scale, but it needs to be a number
How do I get it to read (getvar "DIMSCALE") or current ANNOSCALE to scale the object.
As the pallette object is inserted, it prompts for scale, but I want to do it automatically.