OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-11-2010, 20:20
runflacruiser's Avatar
runflacruiser runflacruiser is offline
Senior Member
 
Join Date: Jun 2009
Location: Pigeon Forge, TN USA
Posts: 811
Default Spot color color.toString value changes between docs

Hi.
Is this a bug.
x5 sp2.
I notice the spot color string value generated by color.ToString seems to change every time a doc is opened or closed.

-John
Reply With Quote
  #2  
Old 11-11-2010, 20:22
runflacruiser's Avatar
runflacruiser runflacruiser is offline
Senior Member
 
Join Date: Jun 2009
Location: Pigeon Forge, TN USA
Posts: 811
Default

PS.
Test with this simple code:

Code:

MsgBox activeshape.Outline.Color.ToString
Here's result from a few tries. Open doc, import same file each time, get outline color (which is SPOT)

(@outline.color = 'SPOT,USER,354,100,157ab219-5439-4b50-bf23-f634170441ed')
(@outline.color = 'SPOT,USER,353,100,a5051ffa-dc74-4808-ac07-ea4d3da725e2')
(@outline.color = 'SPOT,USER,352,100,57c71bbc-728a-4fd1-ae9c-a339d756a40a')
(@outline.color = 'SPOT,USER,351,100,b7eeefae-0b93-4835-a922-34706ffb9326')



-John

Last edited by runflacruiser; 11-11-2010 at 20:43.
Reply With Quote
  #3  
Old 11-11-2010, 21:07
runflacruiser's Avatar
runflacruiser runflacruiser is offline
Senior Member
 
Join Date: Jun 2009
Location: Pigeon Forge, TN USA
Posts: 811
Default

Here's a follow through example.

-John
Attached Images
 
Reply With Quote
  #4  
Old 12-11-2010, 08:50
runflacruiser's Avatar
runflacruiser runflacruiser is offline
Senior Member
 
Join Date: Jun 2009
Location: Pigeon Forge, TN USA
Posts: 811
Default

Hi.
If anyone can text this in x4 that would be great.
If have GDG Selection buddy then just save outline or fill color for a spot color as a preset. Then test with your file.

You can view color.toString value change in the registry, but if the item doesn't get selecting then it is not working and the value is probably changing.

I'll install x4 later today as well.

-John
Reply With Quote
Reply

Tags
spot color, tostring


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
Spot color difference invloving X5 runflacruiser CorelDRAW/Corel DESIGNER VBA 3 06-05-2010 17:40
How to choose the color and do random color word?? sy168 CorelDRAW/Corel DESIGNER VBA 5 18-08-2008 12:21
Creating an alert for custom spot color. FlashOverX General 8 26-04-2006 06:51
Color Replecer - not replece white color Zuk Macros/Add-ons 2 30-04-2003 01:44
Spot Color Replacer click101 CorelDRAW CS 2 15-01-2003 09:06


All times are GMT -5. The time now is 15:21.


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