OberonPlace.com Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27-09-2004, 12:13
pudo
Guest
 
Posts: n/a
Default Photo-Paint Scripts

As a novice, I'm sure my problem has a simple solution. Can anyone Help?
When I record a Photo-Paint session the recorded script fails to save the correct image. i.e. when I create a new image from a selection and when that image is the active one, I can save it. The recorded script of my saving it, when rerun, save the original. How can I get it to save the new active image?
Any help desperately appreciated.
Pudo
Reply With Quote
  #2  
Old 13-07-2005, 11:48
Starman*
Guest
 
Posts: n/a
Default

Old post but here's my input for posterity

Recording and re-using a file saving script is usually not a good idea. When the file save command is recorded, it saves the filename of the file being saved (you can see it in the Recorder window). Any re-use of the script saves that file with the original recorded path and filename.

When you save a new image, you have to give it a name. Most people do that using the standard menus! If you are batch processing you can create new filenames as you go, say by incrementing the sequence number with the script pic001, pic002 etc (include the file path too). If you want to manually rename mid-batching for some reason, you can cause the script to bring up a dialog to enter the filename.

Starman*

If all else fails and desperation sets in read Help
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
Corel Photo Paint 11 Document Events problem cyrilgupta Corel Photo-Paint VBA 1 07-11-2004 12:51
Transfer shapes from Draw to Paint; Using CorelScript in VB6 DWGraphics Corel Photo-Paint VBA 1 18-08-2004 20:49
Corel 12 Scripts garyallred Macros/Add-ons 1 12-02-2004 15:49
color profile problem in Photo Paint 9 flip Corel Photo-Paint VBA 2 11-07-2003 03:55
Open - Resize - Savefile in Photo Paint greenee Corel Photo-Paint VBA 2 28-06-2003 03:54


All times are GMT -5. The time now is 00:19.


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