DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

VIEW in diadem 9.1

Hi
 
Is it possible to use VIEW programatically in the old .aut language in diadem 9.1, I've tried using record mode but this just seems to record the .vbs code which won't work as an aut file. There is nothing in the help files regarding this.
 
I would normally convert to .vbs but this is a minor change to an old autosequence and I want to avoid having to go through a lengthy re-validation process if convert everything to vbs.
 
Any help appreciated
 
Nick
 
 
 
 
0 Kudos
Message 1 of 2
(3,274 Views)
Hello Nick!

As I know it is not possible to script the object orientated new VIEW interface out of AUT scripts.

A solution to your problem might be to insert the VBS Code inline in your AUT. This is possible with the command 'ScriptStatement'.

E.g. ScriptStatement('MsgBox(now)') will show a VBS MessageBox with the current time. You can insert your VIEW manipulating script line by line in your AUT with this command. Not really good to read but I think it will work.

Hint: The strings have to be enclosed in ' because in the VBS code you must use "!

Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 2 of 2
(3,256 Views)