Source language: Translate to:

Button & Action over multiple pages.

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Button & Action over multiple pages.

Postby Trainman » Mon Oct 23, 2006 3:07 pm

Is it possible to have a button on the master page, which clicking it on one page, all pages show an item or remove an item.

ie. If you have images within a pubication and use tmPSDGUI to show all layers, but would like to have the ability to make one layer transparent, over all pages within the publication. Each Image will have the same layer names, but different image names. So you would have images, S1, S2, S3, all with layer D and U.

Any help welcome

Posts: 113
Joined: Fri Apr 01, 2005 10:21 am
Location: England

Postby Neosoft Support » Tue Oct 24, 2006 10:58 am

You show/hide an object on the master page, but that would show up behind other objects. the only way to have an object appear on top of everything would be to place a copy on each page.

If the top object doesn't have to be transparent you could use a fixed position custom window.
NeoSoft Support
Neosoft Support
NeoSoft Team
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby Trainman » Tue Oct 24, 2006 12:41 pm

Thank you for your answer. I have found a code that works but using Check Boxes.

Make a subroutine

Code: Select all
If "[CheckBox1]" "=" "Checked"
tmPSDLayerTransparency "Rectangle1" "U" "63"
tmPSDLayerTransparency "Rectangle1" "U" "255"

Place "GoSub" within the Check Box and page properties. This work on a two page test program, when you change page.

Posts: 113
Joined: Fri Apr 01, 2005 10:21 am
Location: England

Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest