🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20987

Re: Activate my executable?

#20987
From: Greg Brunet
Date: Wed, 15 May 2002 15:10
5 lines
1563 bytes
J: 

Glad I could help.  This is actually old code ported over from VB3, so that's why you'll see some old constants in there.  BTW, you may want to keep the SendKeys in there in case they've minimized the App.  It sends a restore command (by sending an Alt-Space, R).  If the window is already open nothing happens, but if it's minimized, it will bring it back to 'normal'.  I think that you'll want that behavior.  OTOH, I just made a quick test program (using VB6 running on Win 2000), and the SendKeys stuff doesn't seem to work the way it used to (and how I described above).  You still may want to provide some way to restore the window if it's minimized - though I'd have to think of another way to achieve that - maybe using DDE or something like that.  Take care, 

-- Greg
Technical Details
Message-ID: <ef86e98.2@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!priapus.visi.com!news-out.visi.com!hermes.visi.com!news.maxwell.syr.edu!news-hub.siol.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef86e98.-1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,8a3e4431d84204b2
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-05-15 08:38:14 PST
From: "Greg Brunet" <gbrunet@sempersoft.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!priapus.visi.com!news-out.visi.com!hermes.visi.com!news.maxwell.syr.edu!news-hub.siol.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Activate my executable?
Message-ID: <ef86e98.2@WebX.aaQKaf7vad4>
Date: Wed, 15 May 2002 08:10:13 -0700
References: <ef86e98.-1@WebX.aaQKaf7vad4>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit