Search found 549 matches

by DRocks
24 Jan 2020, 17:43
Forum: General Discussion
Topic: Good coders gone wild!
Replies: 5
Views: 2855

Re: Good coders gone wild!

Code: Select all

myautohotkeyscript

messagebox "Hello"
return
The docs say to use MsgBox to display message but when I use it (messagebox "Hello") it doesnt work wtf ?
Also why does my comment on top "myautohotkeyscript" is preventing to compile ? isnt it obvious that its plain text ?
by DRocks
22 Jan 2020, 15:46
Forum: About This Community
Topic: Scam Page
Replies: 19
Views: 1996

Re: Scam Page

tank wrote:
22 Jan 2020, 12:55
try clearing your cache and let me know if this still occurs
I just did and it fixes it :)
by DRocks
21 Jan 2020, 09:33
Forum: About This Community
Topic: Scam Page
Replies: 19
Views: 1996

Re: Scam Page

tank wrote:
21 Jan 2020, 07:18
Ill fix this today
Thanks guys have a great day
by DRocks
20 Jan 2020, 10:16
Forum: About This Community
Topic: Scam Page
Replies: 19
Views: 1996

Re: Scam Page

It just happened when I got to work now: Chrome Bookmark = same as before and same as at my home = https://autohotkey.com/boards/ resulting page = https://www.autohotkey.com/boards/assets/javascript/gotcha.js content = var msg = "Dear visitor. This domain autohotkey.fr is trying to trick you. The of...
by DRocks
18 Jan 2020, 14:33
Forum: About This Community
Topic: Scam Page
Replies: 19
Views: 1996

Re: Scam Page

I'm not able to reproduce here at my home copmputer but it happenned at work 2 times this week (using a shared bookmark on my google account which is logged in at home and at work too) The url is exactly : https://autohotkey.com/boards/ In fact, I used this exact bookmark to reply to you right now a...
by DRocks
17 Jan 2020, 20:51
Forum: About This Community
Topic: Scam Page
Replies: 19
Views: 1996

Re: Scam Page

Sorry guys, I mean that - just by clicking the same google bookmark for autohotkey.com which lands normally on the home page - it happens that when I click on the forum link I will get a JavaScript message in a blank webpage. Its gotcha.js script and it says that a scam page is trying to redirect me...
by DRocks
17 Jan 2020, 16:47
Forum: Scripts and Functions
Topic: Class_ScrollGUI - updated on 2015-03-13
Replies: 88
Views: 21992

Re: Class_ScrollGUI - updated on 2015-03-13

Yeah I think just me is also based on lexikos model for the crucial parts. Not sure though.
by DRocks
17 Jan 2020, 16:44
Forum: About This Community
Topic: Scam Page
Replies: 19
Views: 1996

Re: Scam Page

recently, I've been redirected to this page a few times.
Can't access forums without getting the gotcha.js page
by DRocks
17 Jan 2020, 08:37
Forum: Scripts and Functions
Topic: Class_ScrollGUI - updated on 2015-03-13
Replies: 88
Views: 21992

Re: Class_ScrollGUI - updated on 2015-03-13

Thanks! EDIT: never mind, I found something useable by Setting the line increment of scroll to the height of a table row. SetLine( 2 , TABLE_ROW_H-1) That's strange, because 2 isn't valid. Replacing it with 1 (vertical scroll bar) and using my Edit control's height doesn't work for me. ; ===========...
by DRocks
16 Jan 2020, 20:25
Forum: Scripts and Functions
Topic: Class_ScrollGUI - updated on 2015-03-13
Replies: 88
Views: 21992

Re: Class_ScrollGUI - updated on 2015-03-13

EDIT: never mind, I found something useable by Setting the line increment of scroll to the height of a table row. scrollable_UI.SetLine(2, TABLE_ROW_H-1) Hey side-question: How would you programmatically use ScrollGUI to follow the focused control when you want to navigate with arrow keys inside the...
by DRocks
16 Jan 2020, 18:04
Forum: Scripts and Functions
Topic: Class_ScrollGUI - updated on 2015-03-13
Replies: 88
Views: 21992

Re: Class_ScrollGUI - updated on 2015-03-13

I like how clean you can create a 1188 controls GUI :D Good to know that it's not only reproduced on my computer in my specific script. I gotta admit that I have no idea how to fix this either. I've gone through the class but since its majorly dllCalls and numput numget etc I can't understand where ...
by DRocks
15 Jan 2020, 21:31
Forum: Scripts and Functions
Topic: Class_ScrollGUI - updated on 2015-03-13
Replies: 88
Views: 21992

Re: Class_ScrollGUI - updated on 2015-03-13

It’s probably just the sheer number of controls based on the fact that you’re mimicking an excel spreadsheet Yeah I agree with you but let's hope someone smarter than me can think of a way to handle this. In my example, there's not an enourmous amount of controls and still it feels like there is 10...
by DRocks
15 Jan 2020, 09:55
Forum: Scripts and Functions
Topic: Class_ScrollGUI - updated on 2015-03-13
Replies: 88
Views: 21992

Re: Class_ScrollGUI - updated on 2015-03-13

just me Thanks for your reply! Here is the source but sorry for the mess, this is a work in progress and I'm far from polishing the formatting. ScrollGUI is instantiated on line 517 in AHK Studio (ScrollGUI.ahk is meant to be an #include file that I did not join) This is a AHK Gui that mimics a Exc...
by DRocks
14 Jan 2020, 19:14
Forum: Ask For Help
Topic: How to get the current Gui font w/o creating a control?
Replies: 15
Views: 3597

Re: How to get the current Gui font w/o creating a control?

Should work for controls too: Hey, thanks! I've tested it and read the content of the function. It does work for what the function is called "GetFont()" But I'm afraid I am refering to a more complex "kind of font". I mean like everything that this GuiControl has relating to its display properties ...
by DRocks
14 Jan 2020, 17:29
Forum: Ask For Help
Topic: How to get the current Gui font w/o creating a control?
Replies: 15
Views: 3597

Re: How to get the current Gui font w/o creating a control?

@teadrinker thanks,
Would this be meant to work with the hwnd of a GuiControl or is it restricted for a top level window?
by DRocks
14 Jan 2020, 09:04
Forum: Scripts and Functions
Topic: Class_ScrollGUI - updated on 2015-03-13
Replies: 88
Views: 21992

Re: Class_ScrollGUI - updated on 2015-03-13

Hello just me I've been using this great class of yours in a script for a while without a problem. Thanks for sharing it its very practical. This week I started integrating it in a control-heavier project - I mean theres more Gui controls that gets populated onto the scrollable area. And I've been a...
by DRocks
14 Jan 2020, 08:19
Forum: AutoHotkey v2 Development
Topic: [GUI] Cue banner for edit controls (placeholder)
Replies: 1
Views: 259

Re: [GUI] Cue banner for edit controls (placeholder)

That's an interesting and useful idea in my opinion. Would be a nice practical thing to see listed in the autocomplete of a "IDE" and the AHK docs too. For example, ideally, the IDE would know that myEdit. has setCue(), setFont(), setValue(), setSize(), etc. And the AHK docs would have a explanation...
by DRocks
13 Jan 2020, 23:19
Forum: Ask For Help
Topic: How to get the current Gui font w/o creating a control?
Replies: 15
Views: 3597

Re: How to get the current Gui font w/o creating a control?

BUMP, just me Did any one find how to solve OP question? (How to get a GuiControl current font) Reason: make it easy to toggle from one font to another for each controls in a Gui. Example : ;-------------------------------------------------------------------------------- toggle_row_highlight(boolean...
by DRocks
13 Jan 2020, 18:24
Forum: Wish List
Topic: Function to get focused Edit's ComboBox hwnd/classNN or vice versa
Replies: 14
Views: 2226

Re: Function to get focused Edit's ComboBox hwnd/classNN or vice versa

Amazing. Thanks I think this will be handy in the long term. :thumbup: I have a question: Why does the DllCall return a different kind of hwnd? It looks like the hwnd is already a "ahk_id" and the clue that indicates this that it doesn't have the hexadecimal format. Also you can directly use it in ...
by DRocks
12 Jan 2020, 21:27
Forum: Wish List
Topic: Function to get focused Edit's ComboBox hwnd/classNN or vice versa
Replies: 14
Views: 2226

Re: Function to get focused Edit's ComboBox hwnd/classNN or vice versa

Hello just me, thanks for the more appropriate method you shown. I think Im slowly getting the hang of translating a simple DllCall like this. Microsoft explains that the GetWindow function has two parameters : HWND GetWindow( HWND hWnd, UINT uCmd ); So a DllCall is basically always looking longer t...

Go to advanced search