Page change within a macro

Christie Widget Designer Version 6 - Q&A

Moderator: Moderator Group

Forum rules
When asking make sure to include the operating system and the revision of Widget Designer you are using.

Page change within a macro

Postby liamohanlon » Sun Sep 03, 2017 7:30 pm

Hello,

I'm having an issue in V6 where I get an error trying to use the "WDPageGoto" command inside of a macro.

The command works just fine inside of a custom script, but when run in a macro the debug logger throws an "Owner/Window not known!" exception. It sounds like I maybe have to declare a window for the change to happen in? If so I couldn't find any documentation on this.

Any ideas? Thanks!

Liam

WD V6 Rev 6322/Win 10 Pro
liamohanlon
 
Posts: 5
Joined: Thu Aug 20, 2015 10:14 pm
Location: Baltimore, MD

Re: Page change within a macro

Postby Benni_M » Mon Sep 04, 2017 2:57 pm

Hi,
you can use a direct command.
My setup:
Window name = Window1
Page Name = nodes

Script:
Window1.PagenName = "nodes"

Is working in a script button and in macros.

Best,
Benni
Benni_M
 
Posts: 127
Joined: Thu Apr 12, 2012 3:45 pm

Re: Page change within a macro

Postby liamohanlon » Thu Sep 07, 2017 10:22 pm

Thats works! Thanks!
liamohanlon
 
Posts: 5
Joined: Thu Aug 20, 2015 10:14 pm
Location: Baltimore, MD


Return to Widget Designer V6

Who is online

Users browsing this forum: No registered users and 2 guests

cron