connecting users of the CorelDRAW family of products

corel photopaint script

rated by 0 users
Not Answered This post has 0 verified answers | 0 Replies | 0 Followers

Share  
Page 1 of 1 (1 items) | RSS

weinberger posted on Wed, May 2 2012 12:12

Hi there,

trying to write a small script for PP X3. But I am not firm with writing vba or scripts.

WITHOBJECT "CorelPHOTOPAINT.Automation.13"
    .SetDocumentInfo 4464, 6878
    .EditClear 8, 1, 0, 0, 0
    .MaskRemove
    name$=.GetDocumentName()   
    .FileSave name$,772,6
 .FileClose()

On trying to process the script I get an error that the hard disk is full or something like that.

I think my script is wrong so I cannot process it correctly.

I would like to save the open file, same name same place, just overwriting it.

Any ideas? Any help would be appreciated.

Thank you very much in advance.

Kind regards,

berthold

Page 1 of 1 (1 items) | RSS
© Corel Corporation. The content herein is in the form of a personal web log ("Blog") or forum posting. As such, the views expressed in this site are those of the participants and do not necessarily reflect the views of Corel Corporation, or its affiliates and their respective officers, directors, employees and agents. Terms and Conditions / User Guidelines.