OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > Corel Script > CorelDRAW CS

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14-09-2011, 04:17
beczukdavid
Guest
 
Posts: n/a
Default Help please VBA ro Script

Can you guys please help me transform a few lines to corel Script that runs on X4?

Code:
Sub grid_no_print()
Dim d As Document

Set d = ActiveDocument
d.ActivePage.Layers("Grid").Printable = False

End Sub
Thank you
Reply With Quote
  #2  
Old 19-09-2011, 08:55
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,769
Blog Entries: 9
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default Code

What doesn't work with the code? It should work fine, except that this is VBA code and not CorelSCRIPT.

-Shelby
Reply With Quote
  #3  
Old 19-03-2012, 12:50
beczukdavid
Guest
 
Posts: n/a
Default

Nothing is wrong with the code I just wanted to transform the VBA code to Corel Script
Reply With Quote
  #4  
Old 19-03-2012, 13:25
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,769
Blog Entries: 9
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default CorelScript

The CorelSCRIPT would look like this:
Code:
SetLayerPrintable False, "Grid", 1
However in X4, Grid is now part of the MasterPage, and I am not sure CorelSCRIPT can see the MasterPage.

-Shelby
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:43.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com