🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2076

disable alert and dialog box in vb script

#2076
From: kelvinlau1217
Date: Thu, 08 Jan 2009 02:44
15 lines
1462 bytes
Pls. help to disable the alert and dialog box for indesign CS3 in vb script?

I have try to add the following code to my vb script:
myIndesign.ScriptPreferences.UserInteractionLevel=1699640946
(Indesign still display missing Link alert box)

myIndesign.ScriptPreferences.UserInteractionLevel=idUserInteractionLevels.idNeverInteract
(Indesign shows need object idUserInteractionLevels)

myIndesign.ScriptPreferences.UserInteractionLevel=idNeverInteract
(Indesign shows values should be idUserInteractionLevels enumerator)

Vb script is running outside Indesign. Script will be automatically stop running when open a missing link document.

Pls. Help. Thank you!
Technical Details
Message-ID: <59b774c1.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news2.arglkargh.de!news.musoftware.de!wum.musoftware.de!border1.nntp.ams.giganews.com!nntp.giganews.com!transit4.hitnews.eu!news.astraweb.com!border1.a.newsrouter.astraweb.com!feeder2.xentech.net!news4us.nl!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,ebb4cbdd8aa1a759,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: kelvinlau1217@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: disable alert and dialog box in vb script
Message-ID: <59b774c1.-1@webcrossing.la2eafNXanI>
Date: Wed, 7 Jan 2009 18:44:51 -0800
Lines: 14
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news2.arglkargh.de!news.musoftware.de!wum.musoftware.de!border1.nntp.ams.giganews.com!nntp.giganews.com!transit4.hitnews.eu!news.astraweb.com!border1.a.newsrouter.astraweb.com!feeder2.xentech.net!news4us.nl!webcrossing
X-Original-Lines: 18