Run Macro animation

3 Posts
3 Users
0 Likes
27 Views
e.mahaut
(@e-mahautarcinfo-com)
Posts: 270
Member Moderator
Topic starter
 

Hello,

This topic could partially be in Scripting category

A customer asked us why the Print button in the project HmiDemo_* does not work
It contains a Run / Macro animation
Line 1 is: Window("PRINT")

Checking in PcVue Help, it can not work because the Mimic name and branch is mandatory.
First thing, it's not OK as is.

Then I tried using: WINDOW("PRINT",WINDOW("CURRENTNAME"),WINDOW("CURRENTBRANCH"))
No way to make it work.

After many tries, the only way to do it is as follow:
Window("PRINT","#W","#B")

The QuickStart project has the same Print button (NOK).

Do you have another solution?

 
Posted : 28/06/2016 8:55 pm
RT
 RT
(@r-toussaintarcinfo-com)
Posts: 38
Eminent Member
 

In my opinion, the button was never tested 😉
And I think like you that the only syntax, you can use in Macro animation is Window("PRINT","#W","#B")

or HARDCOPY("SCREEN"), but the result is not the same...

RT

 
Posted : 28/06/2016 10:14 pm
LM
 LM
(@l-micaudarcinfo-com)
Posts: 383
Member Admin
 

This symbol used in Quickstart project comes from NAVIGATION library so we need to fix this library.

I will ask François.

 
Posted : 29/06/2016 12:36 pm