Article View: news.software.readers
Article #137312Re: [Dialog] Scripts and buttons
From: Paul Walton
Date: Tue, 11 Nov 2003 23:35
Date: Tue, 11 Nov 2003 23:35
44 lines
2593 bytes
2593 bytes
On Tue, 11 Nov 2003 23:53:11 +0100, Alain GUERIN wrote: > Hello, > > > On Mon, 10 Nov 2003 21:23:00 +0000, Paul Walton wrote: > >> Does anyone know how to set a button attached to a script as "down" (like >> the online button)? >> >> I've a script that runs on a timer that is attached to a button. I'd like >> the button to be down to indicate that the script is running. >> >> Any ideas? >> > > I am not sure I understand your problem. If it is how to have a button on > the task bar that runs a script, here is the answer: > > Attach an icon to your script in the scripting window, with the icon > listbox. > > Go back to Dialog main windows and right click on the task bar (configure > buttons/shortcuts), then search your script in scripts, select it and drag > and drop it on the task bar. > > HTH. Thanks for the reply. I have a button that toggles the enable state of timer1. If timer1 is enabled it periodically gets new headers. So clicking the button enables timer1 thus downloading headers every 5 minutes until the button is pressed again (when timer1 is disabled). I'm looking for an indication that the timer script is active. Currently I'm changing the form heading to "40tude Dialog - Autodownloading" but I'd like the button to remain depressed just like the online button does when Dialog is online. Regards, -- Paul Walton West Midlands, UK
Technical Details
Message-ID:
<1hcybcjwzvdq5$.17upztmbwhzwf.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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!mephistopheles.news.clara.net!news.clara.net!diablo.theplanet.net!news.theplanet.net!not-for-mailReferences:
<8ctwfmc5qk6x.1dt15dqg0fy33.dlg@40tude.net> <2ainj2hp0lq5$.dlg@alain-gueirn.com>Show Full Headers
Complete Article Headers
Message-ID: <1hcybcjwzvdq5$.17upztmbwhzwf.dlg@40tude.net> Subject: Re: [Dialog] Scripts and buttons Date: Tue, 11 Nov 2003 23:35:47 +0000 From: Paul Walton <Paul.Walton@walt.org.uk> References: <8ctwfmc5qk6x.1dt15dqg0fy33.dlg@40tude.net> <2ainj2hp0lq5$.dlg@alain-gueirn.com> 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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!mephistopheles.news.clara.net!news.clara.net!diablo.theplanet.net!news.theplanet.net!not-for-mail Newsgroups: news.software.readers Lines: 44 NNTP-Posting-Host: 81.77.178.161 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: news8.svr.pol.co.uk 1068593740 21513 81.77.178.161 (11 Nov 2003 NNTP-Posting-Date: 11 Nov 2003 23:35:40 GMT X-Complaints-To: abuse@theplanet.net User-Agent: 40tude_Dialog/2.0.8.1