Re: Checkboxes in dialogs
FiberOPtics
Yesterday at 09:14 PM
Hi there, try this example
dialog new_table {
title "New Project"
size -1 -1 251 161
option dbu
; "text", id, x y w h, style (left, push, 3state)
check "Check Box", 1, 8 15 50 10
check "Check Box", 2, 8 35 50 10, 3state
check "Check Box", 3, 8 55 50 10, left
check "Check Box", 4, 8 75 50 10, push
}
If you omit the style it will default the checkbox on the left and text on the right. Same with the 3state.
1
26
Read More
|
|
Checkboxes in dialogs
turbosmurfen
Yesterday at 11:44 AM
I have made a dialog. I can't change if the cross button should be on left or right. I have tried everything and I have no idea what I do wrong. Example:
dialog new_table {
title "New Project"
size -1 -1 251 161
option dbu
check "Check Box", 1, 8 15 50 10, left
}
left or right or no option, doesn't matter. Same cross button at same position.
1
26
Read More
|
|
Kiwi IRC - Connecting
SkillsPino
05/06/26 06:21 PM
Hey,
I've been a Mac user for a long time and have been using Colloquy and found it very easy to use. I've changed jobs and now I'm on a Windows computer and I don't have admin permission, so I can't download mIRC. I grew up using mIRC, so I was looking forward to trying it again. But because it's an exe I can't install it. So I've tried using KIWI IRC web client, but when I try and login to any server, I just can't connect. It's asking for login/password, which I don't think I have as I never had to use it for the servers I was on before. And when I did some troubleshooting myself, it seems like the only way to register a nickname, is by getting onto the IRC server, which I can't do.
Long story short...anyone know how I go about getting on abjects through Kiwi IRC?
Thanks!
0
19
Read More
|
|
Re: GIF handling speed
Wims
11/05/26 01:17 PM
Currently, each time the script is executed, the image is cached again using /drawpic -cp, even though it may have been cached before and there is no need to do so. The -p switch is already checking whether or not the frames have been cached.
9
1,441
Read More
|
|
Re: GIF handling speed
Epic
11/05/26 07:55 AM
We'll probably also need some additional properties for the identifier: $pic(filename).cache - returns a BOOL value of 1 (true) or 0 (false) indicating whether the file is in the cache or not.$pic(filename).cachesize - returns a INT or FLOAT value representing the amount of cache space occupied by the specified file.
Currently, every time the script is run, before the animation starts to loop, the command is executed /drawpic -cp, which is not needed for files that are in the cache. This can be avoided by adding a condition to the code that checks whether the file is in the cache, to prevent lag/pause due to unnecessary re-caching. Example:
if (!$pic(filename).cache) { drawpic -cp @IMG 0 0 $qt(filename) }
9
1,441
Read More
|
|
Re: GIF handling speed
Wims
10/05/26 06:04 PM
Apart from that, note that the multimedia timer is intentionally implemented as a windows message and is throttled to prevent it taking over the GUI, since mIRC is a single-threaded application. This means it is subject to all kinds of delays, eg. there are 50+ other timer-based features/events that are also vying for control. The script parser speed is also subject to the whims of the windows memory allocator. So timers at the level of single-digit millisecond times are unlikely to be consistent. I didn't say anything about timers  But I've been working with fast multimedia timers in mIRC for a long time, I've seen them evolving. Back in the days, the best scripters were saying that /timer -ho 1 0 was a way to execute something immediately after the end of the script, well that's certainly not true anymore  . and is throttled to prevent it taking over the GUI, since mIRC is a single-threaded application. This means it is subject to all kinds of delays, eg. there are 50+ other timer-based features/events that are also vying for control. Right, about that, I have a few observations to make: -I believe the throttle is on 5ms -I assume most other timer based features are there only when you're connected to a server. Now: //set -u2 %t $ticksqpc | .timer -ho 50 1 echo -sg $!calc($ticksqpc - % $+ t ) $(|) set -u2 % $+ t $!ticksqpcFor me on windows 10, I get (connected to one server) : 2, 5, 4, 3, 4, 4, 2, 4, 3, 4, 4, 4, 6, 3, 5, 5, 3, 5, 5, 5, 2, 4, 6, 4, 4, 1, 6, 5, 5, 4, 5.... I'm not sure how the throttle is meant to work but if it's supposed to make the next trigger under 5ms impossible, it's not really working (you can even get 0ms sometimes in there), can you elaborate on these timings ? And it was discussed before but the -c switch (added to -ho) allows one to completely bypass this throttle and get results where most of the results will show 0ms, with '-cho N 0' you get several calls to your alias within the same millisecond. Meaning that if someone wants a repeated 3ms timer, they can use -cho with 1ms and then do the math with $ticksqpc, and probably get a better result than with -ho N 3, though it's much heavier for mIRC to handle.
9
1,441
Read More
|
|
|
|