🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.indesign.sdk
Article #160

How to get file name and set it as static text in a dialog

#160
From: subhaoviya
Date: Tue, 24 Mar 2009 11:44
8 lines
981 bytes
Hi,

I m new to InDesign Programming.
I have a menu that creates a dialog with different controls in it.
The dialog will appear only if there is an open file. I need to display the name of the open file as a static text in the dialog. I know to get the name of the current file but don't know how to pass this each time the dialog is opened.
Can someone help me in doing this?
I m using InDesign CS3 in MAC OS.
Thank You.
Technical Details
Message-ID: <59b8645e.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f63e9,45d219ac3c7851f,start
X-Google-Attributes: gidf63e9,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: subhaoviya@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.indesign.sdk
Subject: How to get file name and set it as static text in a dialog
Message-ID: <59b8645e.-1@webcrossing.la2eafNXanI>
Date: Tue, 24 Mar 2009 04:44:01 -0700
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit