Search found 173 matches

by dangerdogL2121
19 Jun 2015, 21:01
Forum: Ask for Help (v1)
Topic: Possible to name first row of items in multidimensional array?
Replies: 4
Views: 2013

Re: Possible to name first row of items in multidimensional array?

Thanks for reply kon, it was just what I was looking for. :P For some reason I disregarded associative arrays. This is wrong: Array[1] := "1" ;Can this be done? because it overwrites the reference to the object stored in Array[1] with the string "1". That was what I was wanting to find out, if someh...
by dangerdogL2121
19 Jun 2015, 19:41
Forum: Ask for Help (v1)
Topic: Possible to name first row of items in multidimensional array?
Replies: 4
Views: 2013

Possible to name first row of items in multidimensional array?

With my limited knowledge of multidimensional arrays, I was wondering if this was possible. From what I've researched, it sounds like the first row of a multidimensional array cannot be named because they are objects themselves. Array := [] Array[1,1] := "1_1" Array[1, 2] := "1_2" Array[1] := "1" ;C...
by dangerdogL2121
11 Jun 2015, 01:23
Forum: Ask for Help (v1)
Topic: (Solved)Making any program(window) click-through
Replies: 14
Views: 8339

Re: Making any program(window) click-through

It is possible! I made a little example. #Persistent WinTitle = Calculator ;or whatever you want SetTitleMatchMode, 2 FallThrough = 1 WinSet, ExStyle, +0x20, % WinTitle ; 0x20 = WS_EX_CLICKTHROUGH WinSet, Transparent, 100, % WinTitle ; for convinience, but you can take this out WinSet, AlwaysOnTop, ...
by dangerdogL2121
04 Jun 2015, 16:32
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 835
Views: 619780

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Thanks so much, that's just what I was looking for! :D
by dangerdogL2121
04 Jun 2015, 13:27
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 835
Views: 619780

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Hi, I just tried SciTE for the first time and it looks great. :P One thing that I think would make it even better is when clicking on a Gosub , Goto , or a function and a key is pressed (such as control or shift), the edit box jumps to the target label or function. It would make for easier script na...
by dangerdogL2121
13 May 2015, 02:05
Forum: Wish List
Topic: More Simple Array Commands
Replies: 1
Views: 4554

Re: More Simple Array Commands

Oh, I see tidbit already posted about arrays.
by dangerdogL2121
13 May 2015, 01:53
Forum: Wish List
Topic: More Simple Array Commands
Replies: 1
Views: 4554

More Simple Array Commands

Simple arrays are already very nice to have, but it seems like there could be a few more commands. By simple arrays I mean "real" arrays and not dynamic variables. A command to check if every item in two arrays are equal - that both arrays are exactly the same. From the docs: When an object referenc...
by dangerdogL2121
20 Apr 2015, 21:20
Forum: Ask for Help (v1)
Topic: Need help for working with ahksock
Replies: 1
Views: 1359

Re: Need help for working with ahksock

By doing a careful study of example 1 on the AHKsock thread, I was able to get it! :) Client #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to i...
by dangerdogL2121
19 Apr 2015, 03:52
Forum: Ask for Help (v1)
Topic: Need help for working with ahksock
Replies: 1
Views: 1359

Need help for working with ahksock

I am trying to do script communication with AHKsock. I am referencing AHKsock from http://www.autohotkey.com/board/topic/53827-ahksock-a-simple-ahk-implementation-of-winsock-tcpip/ and from https://github.com/jleb/AHKsock/blob/master/documentation.md#ahksock_listensport-sfunction--false . After look...
by dangerdogL2121
08 Mar 2015, 19:14
Forum: Scripts and Functions (v1)
Topic: Computer work out script
Replies: 4
Views: 2577

Re: Computer work out script

What examples can this script be used for? Well, the reason I made this script is because I spend much time on a computer with a cool green led temperature gauge, and I'd like to see how high I can get the temperature to read with this program. A more useful purpose would probably be bench marking ...
by dangerdogL2121
08 Mar 2015, 12:29
Forum: Scripts and Functions (v1)
Topic: Computer work out script
Replies: 4
Views: 2577

Re: Computer work out script

I get call to nonexistent function. GetClientSize I forgot about that! :facepalm: I had that function in a library folder. Here is the code for the function: GetClientSize(hwnd, ByRef w, ByRef h) { VarSetCapacity(rc, 16) DllCall("GetClientRect", "uint", hwnd, "uint", &rc) w := NumGet(rc, 8, "int") ...
by dangerdogL2121
06 Mar 2015, 21:59
Forum: Scripts and Functions (v1)
Topic: Computer work out script
Replies: 4
Views: 2577

Computer work out script

I have made a script to workout my computer(particularly the cpu). It works with by drawing red rectangles with gdi+ to a window. ;Credit to tic for his gdi+ library #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detec...
by dangerdogL2121
20 Feb 2015, 11:39
Forum: Ask for Help (v1)
Topic: Clearing up Questions with SendMessage
Replies: 3
Views: 2018

Re: Clearing up Questions with SendMessage

lexicos said: If you were sending the message to a window in the same process, whatever parameters you pass would be received as is at the other end. But since virtual memory addresses from one process aren't valid in other processes, the system "marshals" the parameters of system messages. What it ...
by dangerdogL2121
19 Feb 2015, 01:14
Forum: Ask for Help (v1)
Topic: Clearing up Questions with SendMessage
Replies: 3
Views: 2018

Clearing up Questions with SendMessage

I have been doing scripting with windows messages and have found it very hard to use. So, I decided to clear up some of the question marks with this thread. The biggest question is this: what effect does message number have on the message sending? I have wanted to send text with window messages and ...
by dangerdogL2121
24 Aug 2014, 00:13
Forum: Ask for Help (v1)
Topic: glBitmap and glDrawPixels in OpenGL
Replies: 24
Views: 9370

Re: glBitmap and glDrawPixels in OpenGL

Collisions can be further optimized. Instead of the Pseudo Array you should use a 2 Dimensional Array, and check the surroundings of the Player based on the BlockIndex (You can calculate it.) Not exacly sure what that means, but I have optimized the collision part. I haven't got the optimized colls...
by dangerdogL2121
22 Aug 2014, 03:04
Forum: Ask for Help (v1)
Topic: glBitmap and glDrawPixels in OpenGL
Replies: 24
Views: 9370

Re: glBitmap and glDrawPixels in OpenGL

Ok, after some work, I have this: #NoEnv SetBatchLines, -1 SetMouseDelay, -1 Width := 800 Height := 600 FrameRate := 30 FullScreen := 1 AutoFly := 0 ;BlockCountX := 40 ;BlockCountY := 40 BlockCountX := 60 BlockCountY := 60 MinimumY = 0 Gravity = -0.023 Jumppower = 1 JumpKey = Space Yspeed = 0 PrevY ...
by dangerdogL2121
19 Aug 2014, 20:45
Forum: Gaming Scripts (v1)
Topic: F1 Racer
Replies: 7
Views: 10228

Re: F1 Racer

For me at least, it didn't work with 64 bit AHK. I think this is probably because you used one or more a 32 bit Dll's. (ie opengl32) Duh! I didn't notice the 32 in opengl32. BTW I have found the error. It's in Uberís Load Texture function. It only supports 32 bit Versions. So its not opengl32.dll? ...
by dangerdogL2121
19 Aug 2014, 16:24
Forum: Ask for Help (v1)
Topic: glBitmap and glDrawPixels in OpenGL
Replies: 24
Views: 9370

Re: glBitmap and glDrawPixels in OpenGL

https://github.com/nnnik/Labyrinth Thats what im currently working on ;). Wow, awesome! :clap: :thumbup: There was a lot of advanced scripting in there. Question: Did you just make the walls from test after test, or did you use a 3-D editing program? Question: I saw that you got the Start and Goal ...
by dangerdogL2121
18 Aug 2014, 23:49
Forum: Gaming Scripts (v1)
Topic: F1 Racer
Replies: 7
Views: 10228

Re: F1 Racer

Impressive work! Good job! Interesting to see the openGL DLLCalls. Thank you I'd like to see more comments explaining what each part of the script does in detail. I recently read that the pinball game that was included with Windows was scrapped because it was made by an independent contractor that ...

Go to advanced search