🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #173741

Re: Dialog: documentation of FileExecute?

#173741
From: Philip
Date: Mon, 19 Sep 2005 14:22
55 lines
2924 bytes
Tune in to news.software.readers again next week when you'll hear
Philip say:

> Tune in to news.software.readers again next week when you'll hear John
> Bokma say:
> 
> > John Bokma <john@castleamber.com> wrote:
> > 
> > > I found this script:
> > > <http://www.40tude.com/dialog/wiki/index.php/ScriptSaveOutboundMes
> > > sa ge>
> > > 
> > > Is there any documentation on what the parameters to FileExecute
> > > are?
> > 
> > Hum, hum, throwing the exe on an editor gave:
> > 
> > Function FileExecute(
> > 
> >     	hWnd: cardinal;
> >     	FileName: string;
> >     	Operation: string;
> >     	Parameters: string;
> >     	Directory: string;
> >     	Showcmd: Integer;
> >     	WaitDelay:integer
> > 
> > ):integer
> > 
> > anyone has more info?
> 
> I'm not a Dialog user, but I'll hazard a guess.
> 
> hWnd -that would be the Windows handle of the calling application;
> FileName  -the file name of the application to execute;
> Operation  -the default action to perform, similar is when setting
> program actions for file types in Windows Explorer;
> Parameters - parameters to be passed to the application called;
> Directory  - the working directory for the application called;
> Showcmd - perhaps to display a message dialog when called, integer
> value of boolean 0 - false/1 - true?;
> WaitDelay -delay time before the application is to be executed;
> 
> Since FileExecute is declared as a function, it will return a value on
> completion, in this case a true or false result depending on whether
> or not the application was executed. If, for instance, the application
> could not be found, the result would be false.

Hmm, the result isn't a boolean, but an integer (I was looking at the
result of the function at the link you gave). Don't think that's a
handle.

-- 
Bye,
Philip
Technical Details
Message-ID: <432ec9a3$0$11079$e4fe514c@news.xs4all.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed-west.nntpserver.com!news2.euro.net!border2.nntp.ams.giganews.com!nntp.giganews.com!transit.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
References: <Xns96D512EA5F2CCcastleamber@130.133.1.4> <Xns96D5993D6B7BDcastleamber@130.133.1.4> <432ec61a$0$11076$e4fe514c@news.xs4all.nl>

Show Full Headers
Complete Article Headers
Message-ID: <432ec9a3$0$11079$e4fe514c@news.xs4all.nl>
Subject: Re: Dialog: documentation of FileExecute?
Date: Mon, 19 Sep 2005 14:22:27 +0000
From: "Philip" <reply@group.invalid>
References: <Xns96D512EA5F2CCcastleamber@130.133.1.4> <Xns96D5993D6B7BDcastleamber@130.133.1.4> <432ec61a$0$11076$e4fe514c@news.xs4all.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed-west.nntpserver.com!news2.euro.net!border2.nntp.ams.giganews.com!nntp.giganews.com!transit.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Newsgroups: news.software.readers
User-Agent: XanaNews/1.17.6.2
X-No-Archive: yes
Lines: 55
NNTP-Posting-Host: 80.127.74.7
X-Trace: 1127139747 news.xs4all.nl 11079 [::ffff:80.127.74.7]:23764
X-Complaints-To: abuse@xs4all.nl