🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #16070

Re: Send "Crtl+M" to indesing via VBscript.

#16070
From: SpeeD72
Date: Tue, 14 Oct 2003 16:52
19 lines
1074 bytes
Great!!!!!!

It works fine!!!!!

the code is the following (i hope nobody will ever had this problem again...)

Option Explicit
Dim myShell

Set myShell = WScript.CreateObject("WScript.Shell")
myShell.Run "indesign.exe", 1, False
myShell.AppActivate "test ref.indd"
WScript.Sleep 5000
myShell.SendKeys "^m"
Set myShell = Nothing

Once again Thanks a lot Chris you�ve been a great help!!!!

SpeeD72
Technical Details
Message-ID: <2ccddb4a.3@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccddb4a.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f939a,25af0eb84313248a
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-10-14 10:08:12 PST
From: SpeeD72@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: Send "Crtl+M" to indesing via VBscript.
Message-ID: <2ccddb4a.3@webx.la2eafNXanI>
Date: Tue, 14 Oct 2003 09:52:01 -0700
References: <2ccddb4a.-1@webx.la2eafNXanI>
Lines: 20
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit