When you use the -x flag you only need to name the dialog once, and in fact, the way you have that at the moment you can just use did -x $dname
The dialog -ma test test is fine, except what if the dialog is already open? You'll get an (ugly imo) error message.Check to see if the dialog is open using an $iif
alias _test dialog $iif($dialog(test),-x,-ma test) test
You shouldn't really have a need for one since the info re the state of the check box is being recognised on init. To refresh while the dialog is open just use
You're missing a closing bracket. I'd think twice about assigning the * to all the popups, plus, when you're not connected you don't need to see the dialog on the popup menu..
A cleaner way to open the dialog would be to use an $iif so as you don't get "the dialog <name> already in use error message by using:
Code
Code
What if the $active window was the status window?
if ($active ischan) or if ($active == $chan) can sort that out nicely. then you can use a return if the $active window isn't the #channel
When using dialog flags you can condense control id's, for example:
Code
Can be:
Code
makes it neater and you can also separate clumps with a comma like 63-66,74-82 etc
I'm probably just being pedantic, bbut I'd much rather use $chr(3) $chr(2) & $chr(31) respectively to bold, underline or colour text. Still a neat little snippet.
Sorry, but this is amazing! I am in total love with these iomages. I had a quick look for pr0n, didn't find it (the Flight Mania tricked me at first). I saw two lots of medication.
Is that a 14" monitor? I saw 3" & 5" floppy drives. Amazing! Even a disc was there too!
@Hawkee Hi Hawkee, and you're welcome. It just made me quite mad. Russel is a genius, and like so many ppl on sites such as these, they volunteer their time to help ppl learn etc so it really pissed me off to see this guy not only claim Russel's work as their own but then had the nerver to tell us not rip his work!! </rant>
PS - I should remove a snippet I posted then. It was not written by me, but I gave the author 100% credit plus he gave me permission to share it. The reson being I find it such a helpful alias and wanted to share it with my peers.
But why would ppl do that? Sorry to seem naive, but if I see a good, well executed script I love to give it props. Let's face it, the differences between a quality script and a crappy script is very obvious.
Anyway, man, don't worry about it. You know you do good work and the people that matter know also.
I saw that product here (or a similar version) in a catalouge for one of our local Australian retail chains. The price was $129au. Obviously there are better products out there, but when you say high quality, how much does the playing field (for a decent one) start at?
Since the Aussie dollar is almost matching the US greenback at the moment, using American prices would be relevant to the dollar amount here in Australia.