Corel Draw Macro Separation Colors Problem

Dear Friends,

I have made a macro for X4 10 years ago. Here are few codes:

With .PrintSettings
.Separations.AdvancedSettings = False
.Separations.SpotToCMYK = False
.Separations.EmptyPlates = False
Set Sep = .Separations.Plates
For i = 1 To Sep.Count
If .Separations.Plates(i).Enabled then Msgbox Sep(i).Color
Next i

this code was working in X4 fine but not in 2020. Now in 2020 it is messaging 10 colors while I only made a red rectangle in file. Also when go to separation tab, there only Magenta and Yellow separation shown.

Any help please 

Amit

  • Professional design tools at your fingertips. Order today & Download it instantly! Fastest, smartest, and most connected graphics suite ever. Get it today! Creative vector software. Font filtering and search. Advanced photo editing. Web Design graphics tools.