Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Tell me please how to open the document FreeHand (*. FH9) without options

New Here ,
Mar 25, 2011 Mar 25, 2011

Tell me please how to open the document FreeHand (*. FH9), something it had not appeared query options (options are by default)?

Public Function ILL(ByVal _path As String) As String
Dim appRef = CreateObject("Illustrator.Application")
' Dim docRef = appRef.Open(_path, 1)

'Open a file with legacy text
Dim optionsRef = CreateObject("Illustrator.OpenOptions")
optionsRef.UpdateLegacyText = True
Dim docRef = appRef.Open(_path, 1, optionsRef) ' 1 = aiDocumentRGBColor

Безымянный.JPG

TOPICS
Scripting
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 25, 2011 Mar 25, 2011

turn off Alerts at the beggining of your code

appRef.UserInteractionLevel = aiDontDisplayAlerts

turn them back on at the end of your code

appRef.UserInteractionLevel = aiDisplayAlerts
Translate
Adobe
Community Expert ,
Mar 25, 2011 Mar 25, 2011

turn off Alerts at the beggining of your code

appRef.UserInteractionLevel = aiDontDisplayAlerts

turn them back on at the end of your code

appRef.UserInteractionLevel = aiDisplayAlerts
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 25, 2011 Mar 25, 2011

Thank you very much CarlosCanto

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 26, 2011 Mar 26, 2011

I thought this is correct syntax.

app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 26, 2011 Mar 26, 2011

you're correct...if you're writing JS

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 26, 2011 Mar 26, 2011

right i just saw the byRef in the function my bad.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 26, 2011 Mar 26, 2011

no problemo, don't worry about it

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 27, 2011 Mar 27, 2011
LATEST

I write in VB.net in Visual Studio net 2008 via COM for Illustrator CS4, working version looks appRef.UserInteractionLevel =- 1

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines