OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > Corel Photo-Paint VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17-05-2005, 09:05
tonywong
Guest
 
Posts: n/a
Default VB script to save JPG (photopaint12)

Dear All

i am very new to VB script, i have written a few lines of script to automate my works. However, i am struggled at the end of the script, that is to save the final version of the image. I do not find any saved file by the following line. Grateful if you could help me.

ActiveDocument.savas "c:\temp\abc.jpg", 774

secondly, i wish to know whether i can set the property of crop tool by the VB script. What i want to do is to click one button, then the crop tool will be ready at 240 x 300 and box centrally in the window. i find the similar things at "how to create a COM add-in?" Thanks a lot in advance for your assistance.
Reply With Quote
  #2  
Old 17-05-2005, 09:08
tonywong
Guest
 
Posts: n/a
Default

sorry i should post it at photopaint
Reply With Quote
  #3  
Old 17-05-2005, 09:27
tonywong
Guest
 
Posts: n/a
Default

thanks to all,

i find this line in past thread.

ActiveDocument.SaveAs("c:\temp\abcd.jpg", cdrJPEG).Finish
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
NEED HELP ON CORELDRAW SCRIPT. FREE PHOTO CALENDAR IF U CAN! johnlfitz CorelDRAW/Corel DESIGNER VBA 8 06-06-2008 23:59
save script as gms nandez81 CorelDRAW/Corel DESIGNER VBA 2 29-11-2004 11:26
problem with script or macro. Dr Morpheus CorelDRAW/Corel DESIGNER VBA 1 12-02-2004 14:46
Cropmarks script Peter Macros/Add-ons 0 06-11-2003 04:51
Corel Capture 8 and Corel Script Helix CorelDRAW CS 0 13-12-2002 19:10


All times are GMT -5. The time now is 04:49.


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