|
Joined: May 2008
Posts: 8
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: May 2008
Posts: 8 |
Im not really that sure if its a bug but here are the details:
Example: I wanted to change the image of an toolbar icon. Lets say i do: /toolbar -p connect example.bmp The button for connect changes its image to example.bmp And it works just fine if i click it BUT
If after previous command I do /toolbar -fs to save the settings so I wont have to change image every time on start, when i re-start mirc, the connect button stays example.bmp BUT the button its self doesent work anymore. You can click it but nothing happens.
Tried on 6.31 6.32 6.33 6.34 versions same thing, all with no scripts loaded.
Any ideas?
Regards Xaifas
X.A.I.F.A.S.: Xperimental Artificial Individual Fabricated for Accurate Sabotage
|
|
|
|
Joined: Jul 2006
Posts: 4,153
Hoopy frood
|
Hoopy frood
Joined: Jul 2006
Posts: 4,153 |
In the help file, there is a note under /help /toolbar, i think it might explain this behavior
Last edited by Wims; 08/09/08 02:34 PM.
#mircscripting @ irc.swiftirc.net == the best mIRC help channel
|
|
|
|
Joined: May 2008
Posts: 8
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: May 2008
Posts: 8 |
"Note: Modifying some of the default mIRC buttons, such as Connect, Notify, etc. may not always work since they are managed by mIRC. They can however be deleted." What mirc help file says. C'mon then what is the point of /toolbar -p ? if you change the default icons they are expected to not work anymore? If so, why doesent it stop working after you change it? Since it does that after you restart mirc ... So not cool, gues I have to start using dlls for even things that are implemented by default on mirc.
X.A.I.F.A.S.: Xperimental Artificial Individual Fabricated for Accurate Sabotage
|
|
|
|
Joined: Jul 2006
Posts: 4,153
Hoopy frood
|
Hoopy frood
Joined: Jul 2006
Posts: 4,153 |
I'm not saying it's not a bug, i don't know since i never used /toolbar.I think the note was just something you should be aware of
#mircscripting @ irc.swiftirc.net == the best mIRC help channel
|
|
|
|
Joined: May 2008
Posts: 8
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: May 2008
Posts: 8 |
Bump for this. Wana see an fix on next version or an explication of why is mIRC behaving like that.
X.A.I.F.A.S.: Xperimental Artificial Individual Fabricated for Accurate Sabotage
|
|
|
|
Joined: Jan 2003
Posts: 2,523
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 2,523 |
Bumping a thread you opened just yesterday is annoying and serves no purpose. Your demanding tone doesn't help either.
/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
|
|
|
|
Joined: Oct 2003
Posts: 3,918
Hoopy frood
|
Hoopy frood
Joined: Oct 2003
Posts: 3,918 |
if you change the default icons they are expected to not work anymore? The above is a misleading statement. As far as I understand from your post, the icons will stay, so if you change the default icons they *are* expected to work. What isn't expected to work is changing default behaviour. This is explicitly stated in the documentation and is not a bug. mIRC is an IRC client, not a scripting platform. It has functionality that it needs to make sure is being supplied to the user. mIRC is giving you permission with /toolbar to do what you need to do, but mIRC still needs to make sure it can do what *it* needs to do-- be a usable IRC client. Customizability is one thing, but if you really need to modify every feature in the UI you should consider writing your own client instead. gues [sic] I have to start using dlls for even things that are implemented by default on mirc No dlls necessary. You're making this more than it is. Try the ON START event:
ON *:START: {
; override toolbar behaviour here
}
- argv[0] on EFnet #mIRC - "Life is a pointer to an integer without a cast"
|
|
|
|
Joined: May 2008
Posts: 8
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: May 2008
Posts: 8 |
The above is a misleading statement. As far as I understand from your post, the icons will stay, so if you change the default icons they *are* expected to work. What isn't expected to work is changing default behaviour. This is explicitly stated in the documentation and is not a bug.
I didnt changed the behaviour of buttons, i only changed the image of icons. And using on *:START to change the icons everytime you start mirc is pointless and annoying since you got -fs to save the options. Anyway I used dll so you can delete the thread.
X.A.I.F.A.S.: Xperimental Artificial Individual Fabricated for Accurate Sabotage
|
|
|
|
Joined: Jul 2006
Posts: 4,153
Hoopy frood
|
Hoopy frood
Joined: Jul 2006
Posts: 4,153 |
What is pointless is to use a dll when you don't need to
#mircscripting @ irc.swiftirc.net == the best mIRC help channel
|
|
|
|
Joined: Oct 2003
Posts: 3,918
Hoopy frood
|
Hoopy frood
Joined: Oct 2003
Posts: 3,918 |
Dlls don't just load automatically, so I imagine you're using an ON START event to load it anyway.. I guess I'm missing the part where you conclude that resetting the toolbar on start is any different from using your dll which essentially does the same thing.
- argv[0] on EFnet #mIRC - "Life is a pointer to an integer without a cast"
|
|
|
|
Joined: Dec 2002
Posts: 5,428
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 5,428 |
Thanks I was able to reproduce this issue. It's a little tricky because mIRC manages the default buttons itself on some levels. However this particular issue should be fixed for the next version.
|
|
|
|
|