Does anybody have any suggestion how can I push the button in a document using LotusScript®? What type of object represents buttons in LotusScript®? Can I access it using LotusScript® objects at all?
Thanx in advance,
Sergey Kochetkov.
Does anybody have any suggestion how can I push the button in a document using LotusScript®? What type of object represents buttons in LotusScript®? Can I access it using LotusScript® objects at all?
Thanx in advance,
Sergey Kochetkov.
Subject: RE: Pushing button in a document using LotusScript®
There is no way to access a button in the UI directly using LotusScript.
You could create a script library and have the script library call the same function as the button calls, if the button is in LotusScript.
You could use SendKeys but that is kludgy and difficult to maintain.
If the button is in macro language and you want to “press” it to execute those commands, you could put the commands in an agent and run the agent. Or you can put the LotusScript into an agent and call the agent using macro language, doing the @Commands after the aent finishes running.