Call @commands from Lotus Script?

Is it Possible to Call @commands from Lotus Script?

Subject: Call @commands from Lotus Script?

Look at the HELP.

Example:

eval = s.Evaluate(“@ProperCase(Subject)”, doc)

Subject: That’s not an @Command & no you can’t use them in script (WAS: Call @commands from Lotus Script?)

Subject: RE: Call @commands from Lotus Script?

@command is one of the @functions that doesn’t work with Evaluate. But there aren’t too many @commands for which there’s no LS equivalent, are there?

Subject: Call @commands from Lotus Script?

Not directly. You can use LotusScript to make something happen in the user interface, and then that something can cause @Commands to run. What are you trying to achieve?

Subject: RE: Call @commands from Lotus Script?

Hey I have a question, I want to call an action from another action. How to do this?

Thanks in advance,

Agasthya

Subject: RE: Call @commands from Lotus Script?

You can use the Windows API to press an action button. For example, if your code is in the first action and you want to run the third action, you can use the Windows API to press Alt-3. See here for sample code. The key code for 3 is Asc(“3”).

Subject: RE: Call @commands from Lotus Script?

Thanx a lot Rod,Agasthya