OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Corel User Forums > CorelDRAW > General

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17-02-2006, 12:37
sazy
Guest
 
Posts: n/a
Default script to save configuration

I have made a good corel script V9 that works as numerator, but I cant find a way to save a configuration. I made it for up to 16 numerators and I input a lot of numbers for coordinates and stuff, and I need them to be saved as configuration for another use. I think it goes with .dll file but Im not sure.
I can use some help
Reply With Quote
  #2  
Old 02-03-2006, 09:53
Alex's Avatar
Alex Alex is offline
Administrator
 
Join Date: Nov 2002
Posts: 1,940
Blog Entries: 4
Default

Frankly I don't quite understand your question. Can you describe what you are trying to do?
Reply With Quote
  #3  
Old 04-08-2007, 15:26
sazy
Guest
 
Posts: n/a
Default

Well its been a lot of time. My problem is this. I made a script for numeration but I can't save all the input that I make, coordinates, numbers and stuff. I can send you the code if you want so you should see what I meen.
Reply With Quote
  #4  
Old 04-08-2007, 19:35
Alex's Avatar
Alex Alex is offline
Administrator
 
Join Date: Nov 2002
Posts: 1,940
Blog Entries: 4
Default

Is that a script (.csc) or a VBA macro we are talking about?
Reply With Quote
  #5  
Old 05-08-2007, 04:51
sazy
Guest
 
Posts: n/a
Default

It is script (.csc). I use this script in printing house for numbering on tickets, vip cards etc, that sometimes need up to 100000 numbers and I cant finish the job in 1 day. So when I close the script all the input is lost. When i start it again I need to input all the same data again. I made the script with up to 24 numberings per page so typing again x, y coordinates, rotation, etc in the script is time consuming. So my question is: Is there a way to save the input that you make in the script itself.
Reply With Quote
  #6  
Old 06-08-2007, 07:15
Alex's Avatar
Alex Alex is offline
Administrator
 
Join Date: Nov 2002
Posts: 1,940
Blog Entries: 4
Default

Yes, you can save your settings. You can either store your settings in the registry or save it to, say, an INI file.

A simple code on this page (http://www.oberonplace.com/script/ti...-filternnn.htm) shows you how to save some settings in an INI file. You can specify your own INI file name in the function call to write your own settings.

To read the data back, you can use GetPrivateProfileString API function. The following post shows how to use INI file API functions in VBA. Pretty much the same thing can be done in CorelSCRIPT:

http://forum.oberonplace.com/showpos...50&postcount=2
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 22:59
Turning on color calibration in a Corel Script Alien2001 CorelDRAW CS 2 13-07-2005 23:34
VB script to save JPG (photopaint12) tonywong Corel Photo-Paint VBA 2 17-05-2005 08:27
save script as gms nandez81 CorelDRAW/Corel DESIGNER VBA 2 29-11-2004 10:26
Cropmarks script Peter Macros/Add-ons 0 06-11-2003 03:51


All times are GMT -5. The time now is 14:23.


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