Article View: news.software.readers
Article #164939Re: [Dialog] Can I do this with a script?
From: Disciple
Date: Tue, 05 Apr 2005 14:10
Date: Tue, 05 Apr 2005 14:10
26 lines
2441 bytes
2441 bytes
On Tue, 05 Apr 2005 06:33:08 GMT, MLC wrote: > _Disciple_, lunedรฌ 04/apr/2005: > >> Glad to be of service. Just an observation, I do not think what I wanted to >> do from within 40tude is do able. i.e. add to the OnStartup and OnShutdown >> scripts to kill a program and them restart it. I did find some vbs code on >> one of the MS scripts groups that would work from the desktop, but it did >> not work from /within/ 40tude. Makes me think the scripting within 40tude >> is more like a macro language. > > With the Dialog script language you can call WinApi functions, so I think > your request is doable. It was only a bit difficult to me, I'm sure others > could have done it. > > Anyway, I think you might also call your other vbs script from within Dialog > using > FileExecute(0,'path of your executable script','open','','',1,5); Ah, (the fog clears :) ). It has been a very long time since my last programming task, which did not involve calling any API functions. Your example would probably be the answer, if it were still needed. -- Disciple "... For the things which are seen are temporary, but the things which are not seen are eternal." 2 Cor. 4:18
Technical Details
Message-ID:
<18uf6ll2sg1hm$.ctvfgfnqmgd$.dlg@40tude.net>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.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!newshosting.com!nx01.iad01.newshosting.com!news.glorb.com!pln-e!spln!rex!extra.newsguy.com!newsp.newsguy.com!enews3References:
<1uovidmxi2t6g$.w5edeugt9z90$.dlg@40tude.net> <19lxb10yfosce$.1ecvh1tpv8iaf$.dlg@40tude.net> <1f1ayrvhrnnqb.dlg@maluc.it> <18s9a0ne4hrqi.1uua7602jb6sk$.dlg@40tude.net> <k4qhrtj6ubvs$.dlg@maluc.it>Show Full Headers
Complete Article Headers
Message-ID: <18uf6ll2sg1hm$.ctvfgfnqmgd$.dlg@40tude.net> Subject: Re: [Dialog] Can I do this with a script? Date: Tue, 5 Apr 2005 10:10:10 -0400 From: Disciple <disciple@invalid.invalid> References: <1uovidmxi2t6g$.w5edeugt9z90$.dlg@40tude.net> <19lxb10yfosce$.1ecvh1tpv8iaf$.dlg@40tude.net> <1f1ayrvhrnnqb.dlg@maluc.it> <18s9a0ne4hrqi.1uua7602jb6sk$.dlg@40tude.net> <k4qhrtj6ubvs$.dlg@maluc.it> 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.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!newshosting.com!nx01.iad01.newshosting.com!news.glorb.com!pln-e!spln!rex!extra.newsguy.com!newsp.newsguy.com!enews3 Newsgroups: news.software.readers Organization: http://extra.newsguy.com Lines: 26 Reply-To: disciple@invalid.invalid NNTP-Posting-Host: p-031.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit User-Agent: 40tude_Dialog/2.0.15.1 (362f24ed.240.284) Archive: No X-No-Archive: Yes