🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20341

Who's got the button?

#20341
From: Jay Fraser
Date: Wed, 24 Jul 2002 18:43
13 lines
1116 bytes
OK, I give up. 

I'm trying to figure out how to put a button in a dialog box -- I know I've seen it somewhere -- but I just can't find it! 

All I really want to do is, when the script craps out, show a dialog which says "The script just crapped out" with the "OK" button replaced by "Bummer". 

Is that so very wrong? 

I've tried multiple searches on the AppleScript Help, and in the InDesign Scripting Guide, but haven't had any luck. 

Thanks! 

Jay
Technical Details
Message-ID: <ef9d422.-1@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,4151eb379bf0130d,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-07-24 12:09:37 PST
From: "Jay Fraser" <jayfraser@yahoo.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Who's got the button?
Message-ID: <ef9d422.-1@WebX.aaQKaf7vad4>
Date: Wed, 24 Jul 2002 11:43:07 -0700
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit