๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #164930

Re: [Dialog] Can I do this with a script?

#164930
From: MLC
Date: Tue, 05 Apr 2005 06:33
19 lines
2150 bytes
_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);

-- 
Maria Luisa C - 05/04/2005 8.14.13
Technical Details
Message-ID: <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.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail
References: <1uovidmxi2t6g$.w5edeugt9z90$.dlg@40tude.net> <19lxb10yfosce$.1ecvh1tpv8iaf$.dlg@40tude.net> <1f1ayrvhrnnqb.dlg@maluc.it> <18s9a0ne4hrqi.1uua7602jb6sk$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <k4qhrtj6ubvs$.dlg@maluc.it>
Subject: Re: [Dialog] Can I do this with a script?
Date: Tue, 05 Apr 2005 06:33:08 GMT
From: MLC <marialuisacNOSPAM@gmail.com>
References: <1uovidmxi2t6g$.w5edeugt9z90$.dlg@40tude.net> <19lxb10yfosce$.1ecvh1tpv8iaf$.dlg@40tude.net> <1f1ayrvhrnnqb.dlg@maluc.it> <18s9a0ne4hrqi.1uua7602jb6sk$.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.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.6it (7bdbfaf6.95.441)
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Reply-To: marialuisac@gmail.com
X-Coord: Lat 44.317 N, Long 11.417 E
X-URL: http://fido.altervista.org/index.php
Lines: 19
NNTP-Posting-Host: 151.26.206.228
X-Complaints-To: abuse@libero.it
X-Trace: twister1.libero.it 1112682788 151.26.206.228 (Tue,
NNTP-Posting-Date: Tue, 05 Apr 2005 08:33:08 MET DST
Organization: [Infostrada]