![]() |
#1
|
|||
|
|||
![]()
hi there,
i just discovered a small bug probably. Code:
dim file as string file = "c:\test.cdr" Dim openopt As New StructOpenOptions Set openopt = CreateStructOpenOptions openopt.ColorConversionOptions.ColorPolicy.WarnOnMismatchedProfiles = True openopt.ColorConversionOptions.ColorPolicy.WarnOnMissingProfiles = True Dim doc1 As Document Set doc1 = OpenDocumentEx(file, openopt) but there isn´t any dialogue. when i open this file with the standard-open-document-menupoint, the dialog is coming. through script it isn´t. can anyone confirm this? i also tried the normal "opendocument" but there it´s the same. |
#3
|
|||
|
|||
![]()
mmh then i interpreted something wrong here:
Code:
ColorManagementPolicy.WarnOnMismatchedProfiles Property WarnOnMismatchedProfiles As Boolean Description Member of ColorManagementPolicy The WarnOnMismatchedProfiles property specifies whether to display a warning for a mismatch between color profiles. update: just found a working dirty solution: Code:
ShellExecute 0, vbNullString, file, vbNullString, vbNullString, 5 Last edited by seelenquell; 12-04-2011 at 07:10. Reason: solution found |
![]() |
Tags |
colorconversionoptions, corel x5, opendocument, vba |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|