Search found 496 matches

by BGM
23 Nov 2013, 20:15
Forum: Forum Issues
Topic: Forum Syntax: Parentheses in Spoiler Code Blocks are Escaped
Replies: 11
Views: 4607

Forum Syntax: Parentheses in Spoiler Code Blocks are Escaped

Supposedly this is a known issue, but I don't see a post, so I am making one! When you create a code block and wrap it in a spoiler, it seems that parenthesis get converted into their html code equivalent. This is havoc when you copy and paste code or download the code as a script! Look: This line s...
by BGM
23 Nov 2013, 20:11
Forum: Scripts and Functions
Topic: [Class] Toolbar - Create and modify (Updated Aug, 9, 2020)
Replies: 55
Views: 22817

Re: [Class] Toolbar - Create and modify

Pulover, thanks for your help with the simpler export. I appreciate that. It's just what I needed.
by BGM
23 Nov 2013, 20:11
Forum: Scripts and Functions
Topic: [Class] Toolbar - Create and modify (Updated Aug, 9, 2020)
Replies: 55
Views: 22817

Re: [Class] Toolbar - Create and modify

I had an issue where I needed to resize my GUI to fit the toolbar (the gui IS the toolbar), so I came up with this (in case anyone is interested): ;Get the width of all the buttons, taking into account the width of separators, too. GetToolbarWidth(){ global hMyToolbar numberofbuttons := hMyToolbar.g...
by BGM
22 Nov 2013, 20:19
Forum: Scripts and Functions
Topic: [Class] Toolbar - Create and modify (Updated Aug, 9, 2020)
Replies: 55
Views: 22817

Re: [Class] Toolbar - Create and modify

Ha ha! I've been there too. I like your sense of humour! Thanks for being so friendly. In my application, I want LOTS of functions that a user can choose from to build several custom toolbars. But I don't like exporting all 200 buttons to a single line in the ini file - it just ain't clean. The user...
by BGM
22 Nov 2013, 14:37
Forum: Scripts and Functions
Topic: [Class] Toolbar - Create and modify (Updated Aug, 9, 2020)
Replies: 55
Views: 22817

Re: [Class] Toolbar - Create and modify

Also, what is the difference between using myToolbar.export() and a layout? It seems that a layout is the same thing. If I export the current button set to a different key in the ini file, isn't that the same thing as saving a layout? That's what I understand from the demo, anyway.
by BGM
22 Nov 2013, 14:31
Forum: Scripts and Functions
Topic: [Class] Toolbar - Create and modify (Updated Aug, 9, 2020)
Replies: 55
Views: 22817

Re: [Class] Toolbar - Create and modify

In my project, I have around 50 buttons. I have a couple of ideas. Upon program launch, the script (in my opinoin) should work like this: Add all the possible buttons - of course, the coder has to add the routine to do that. That way, if there is an update of the script, the new buttons are availabl...
by BGM
22 Nov 2013, 09:50
Forum: Scripts and Functions
Topic: [Class] Toolbar - Create and modify (Updated Aug, 9, 2020)
Replies: 55
Views: 22817

Re: [Class] Toolbar - Create and modify

Here is the function I am using to detect keys: Modkey(){ if GetKeyState("shift", "P") and GetKeyState("control", "P"){ mode := -2 }else if GetKeyState("shift", "P"){ mode := -1 }else if GetKeyState("control", "P"){ mode := 2 }else{ mode := 1 } return mode } Then, in my label functions, I do somethi...
by BGM
22 Nov 2013, 09:39
Forum: Scripts and Functions
Topic: [Class] Toolbar - Create and modify (Updated Aug, 9, 2020)
Replies: 55
Views: 22817

Re: [Class] Toolbar - Create and modify

Say, that simple_toolbar.ahk example is valuable! It provides an easy template to go by and quickly get results using your class script. I recommend posting it at the head of the thread along with the demo! Pulover, adding the OnNotify fixed the customization window (thank you!). Pulover, I understa...
by BGM
21 Nov 2013, 22:25
Forum: Scripts and Functions
Topic: [Class] Toolbar - Create and modify (Updated Aug, 9, 2020)
Replies: 55
Views: 22817

Re: [Class] Toolbar - Create and modify

Pulover, sorry to be so noisy, but I've another problem. And this one is a bit strange. I have a bunch of gosubs that I name by number, say 101, 102, 103, 201, 202, 203 Now, if I create an array for the buttons to be inserted, all is well if I do this: mybuttons := [ 101=first:1, 102=second:2, 103=t...
by BGM
21 Nov 2013, 21:25
Forum: Scripts and Functions
Topic: [Class] Toolbar - Create and modify (Updated Aug, 9, 2020)
Replies: 55
Views: 22817

Re: [Class] Toolbar - Create and modify

Also, Pulover, in my own script, when I call hMYtoolbar.Customize(), the customize window appears for a second and then goes away. I can see the buttons just fine on my toolbar, and they work well enough (except for what I mentioned in my other post), but the customizer is wrong. I confirm that 0x00...
by BGM
21 Nov 2013, 21:21
Forum: Scripts and Functions
Topic: [Class] Toolbar - Create and modify (Updated Aug, 9, 2020)
Replies: 55
Views: 22817

Re: [Class] Toolbar - Create and modify

Pulover, I am trying to adjust my script to use your class instead of the older forms framework toolbar.ahk. The gosubs I am using detect whether the user held the shift key when they were called. However, it seems that when I use this with the class_toolbar, the modifier keys get lost. Here is what...
by BGM
20 Nov 2013, 22:41
Forum: Wish List
Topic: Favicon
Replies: 3
Views: 1850

Re: Favicon

There are actually two different html lines for favicons. IE uses one and FF uses the other; I don't remember which is which, however.

<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
by BGM
20 Nov 2013, 22:14
Forum: Scripts and Functions
Topic: [Class] Toolbar - Create and modify (Updated Aug, 9, 2020)
Replies: 55
Views: 22817

Re: [Class] Toolbar - Create and modify

Thanks, Pulover - I played with it and it works fine. Figured out how to add a Customize button to the demo in less than 10 minutes!
The demo is wonderful, by the way.

Maybe you should add the Customize button to the demo, too?
by BGM
20 Nov 2013, 21:10
Forum: Wish List
Topic: Move the "View Raw" button to the top of the spoiler
Replies: 0
Views: 1101

Move the "View Raw" button to the top of the spoiler

Is is possible to have the "View Raw" button moved to the top of the spoiler contents? Then, if I wanted to use that button, we wouldn't have to scroll all the way to the bottom of the spoiler content.
by BGM
20 Nov 2013, 21:08
Forum: Scripts and Functions
Topic: [Class] Toolbar - Create and modify (Updated Aug, 9, 2020)
Replies: 55
Views: 22817

Re: [Class] Toolbar - Create and modify

Hi, Pulover. Does this new toolbar have a configurator? Majkenator's toolbar.ahk from the forms framework had a configuration window that would allow you to add and remove buttons.
by BGM
20 Nov 2013, 21:03
Forum: Wish List
Topic: Favicon
Replies: 3
Views: 1850

Favicon

Hi, all! I just discovered the new forum (I wish I could have my "Member Since 12 Jan 2011" back... and I was a member even before that - 2008, I think), and I am glad for it.

One thing I miss is a favicon for my firefox bookmark for this site. Is there one, or am I just missing it, somehow?

Go to advanced search