Article View: news.software.readers
Article #173739Re: Dialog: documentation of FileExecute?
From: Philip
Date: Mon, 19 Sep 2005 14:07
Date: Mon, 19 Sep 2005 14:07
48 lines
2623 bytes
2623 bytes
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/ScriptSaveOutboundMessa > > 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. -- Bye, Philip
Technical Details
Message-ID:
<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!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!83.128.0.11.MISMATCH!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!213.193.255.2.MISMATCH!feeder1.cambrium.nl!feed.tweaknews.nl!newsgate.cistron.nl!transit3.news.xs4all.nl!post.news.xs4all.nl!not-for-mailReferences:
<Xns96D512EA5F2CCcastleamber@130.133.1.4> <Xns96D5993D6B7BDcastleamber@130.133.1.4>Show Full Headers
Complete Article Headers
Message-ID: <432ec61a$0$11076$e4fe514c@news.xs4all.nl> Subject: Re: Dialog: documentation of FileExecute? Date: Mon, 19 Sep 2005 14:07:22 +0000 From: "Philip" <reply@group.invalid> References: <Xns96D512EA5F2CCcastleamber@130.133.1.4> <Xns96D5993D6B7BDcastleamber@130.133.1.4> 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!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!83.128.0.11.MISMATCH!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!213.193.255.2.MISMATCH!feeder1.cambrium.nl!feed.tweaknews.nl!newsgate.cistron.nl!transit3.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: 48 NNTP-Posting-Host: 80.127.74.7 X-Trace: 1127138842 news.xs4all.nl 11076 [::ffff:80.127.74.7]:23743 X-Complaints-To: abuse@xs4all.nl