Search found 2351 matches

by guest3456
Yesterday, 22:18
Forum: AutoHotkey v2 Development
Topic: NumOp/StrOp (with respect to !=/!==)
Replies: 9
Views: 185

Re: NumOp/StrOp (with respect to !=/!==)

jeeswg wrote:You and coffee both have a 'certain style'.


yep, its always everyone else. blame everyone else. never look in the mirror.

thats your style
by guest3456
Yesterday, 22:14
Forum: AutoHotkey v2 Development
Topic: NumOp/StrOp (with respect to !=/!==)
Replies: 9
Views: 185

Re: NumOp/StrOp (with respect to !=/!==)

- @guest3456: You can message me, that's fine. its not about messaging you. months ago, i said it was YOU who is out of touch with everything, with community etiquette, your post formats, and just being disagreeable in general. you PMed me saying that i am always "harsh" towards you. but ...
by guest3456
Yesterday, 17:31
Forum: AutoHotkey v2 Development
Topic: NumOp/StrOp (with respect to !=/!==)
Replies: 9
Views: 185

Re: NumOp/StrOp (with respect to !=/!==)

Helgef :thumbup:

lol at calling github PR's "backdoor". it's literally the exact opposite

jeeswg, are you taking note about the stuff we talked about in the past?
by guest3456
13 Aug 2018, 23:41
Forum: Scripts and Functions
Topic: MinHook - API Hooking Library
Replies: 2
Views: 169

Re: MinHook - API Hooking Library

excellent
by guest3456
13 Aug 2018, 14:52
Forum: Ask For Help
Topic: v1/v2 Random for both
Replies: 16
Views: 206

Re: v1/v2 Random for both

Well AHK uses a custom random number generator thats unrelated to any system API calls. I wouldnt look forward to rebuilding that in MCode - though I wouldn't mind too much. there may be a winapi call you can try: https://crypto.stackexchange.com/questions/39566/where-do-windows-applications-get-en...
by guest3456
13 Aug 2018, 14:44
Forum: Ask For Help
Topic: v1/v2 Random for both
Replies: 16
Views: 206

Re: v1/v2 Random for both

Yeah I will probably have to implement a seperate way of generating random numbers. this is best you could investigate the AHK source for what Random does, and do the DllCalls directly in your script to replicate thats basically what we've done in the AHKv2-GDIP to replace the SysGet/MonitorGet stu...
by guest3456
12 Aug 2018, 08:30
Forum: AutoHotkey v2 Development
Topic: String to number
Replies: 11
Views: 131

Re: String to number

There are two (suitable) functions available, integer and float . Can you link the addresses of these two functions? I can't find. https://lexikos.github.io/v2/docs/commands/Integer.htm https://lexikos.github.io/v2/docs/commands/Float.htm https://lexikos.github.io/v2/docs/commands/String.htm https:...
by guest3456
04 Aug 2018, 00:47
Forum: Ask For Help
Topic: [SOLVED] How to compile ahk_H V2? Topic is solved
Replies: 5
Views: 164

Re: How to compile ahk_H V2? Topic is solved

HotKeyIt wrote:Yes, it is up to date


you sure ? ;)

alpha branch:

https://github.com/HotKeyIt/Ahk2Exe/blo ... er.ahk#L61
by guest3456
04 Aug 2018, 00:42
Forum: Ask For Help
Topic: Mcode DllCall - How to return an array? Topic is solved
Replies: 14
Views: 137

Re: Mcode DllCall - How to return an array? Topic is solved

i don't think you understood what i wrote i dont know how int[] arrays are stored in C. but as i remember char[] arrays are just sequences of bytes. so why not create a char[] array with your numbers, then just return the char variable, which should indicate the address in memory. then numget each o...
by guest3456
03 Aug 2018, 21:38
Forum: Ask For Help
Topic: Mcode DllCall - How to return an array? Topic is solved
Replies: 14
Views: 137

Re: Mcode DllCall - How to return an array? Topic is solved

an AHK array and a C array are not going to be compatible. not sure why you think they would be. maybe depending on how the C array is stored, you could use NumGet in AHK to get the memory stored at a certain byte offset
by guest3456
03 Aug 2018, 08:08
Forum: Ask For Help
Topic: [SOLVED] How to compile ahk_H V2? Topic is solved
Replies: 5
Views: 164

Re: How to compile ahk_H V2? Topic is solved

in v2, RegisterCallback was replaced with CallbackCreate. not sure if that was merged into AHK_H yet
by guest3456
02 Aug 2018, 21:11
Forum: AutoHotkey v2 Development
Topic: conversion logic, v1 = -> v1 := -> v2, two-way compatibility
Replies: 134
Views: 26826

Re: conversion logic, v1 = -> v1 := -> v2, two-way compatibility

- I also present 'is version 1' checks for InStr/RegExMatch/RegExReplace/SubStr. I.e. to check the behaviour of the function itself, is more reliable than depending on A_AhkVersion. why is it more reliable? ;before if var is % vType ;after [two-way compatible if use parentheses] if (var is vType) e...
by guest3456
29 Jul 2018, 23:46
Forum: Ask For Help
Topic: Pulover Macro Creator: WinActivate using only part of the title
Replies: 1
Views: 42

Re: Pulover Macro Creator: WinActivate using only part of the title

i never got around to fully playing with PMC, but surely there's gotta be a way to edit the script directly? if so, just add this line to the top of your script:

SetTitleMatchMode, 2
by guest3456
28 Jul 2018, 08:07
Forum: Scripts and Functions
Topic: Window Spy my alternative
Replies: 6
Views: 530

Re: Window Spy my alternative

nice
by guest3456
27 Jul 2018, 15:14
Forum: Scripts and Functions
Topic: [Function] CoordinateConvert
Replies: 2
Views: 214

Re: [Function] CoordinateConvert

well done. if you ended up using the testing suite, it would be good to share your tests as well. that way if someone decides to try to improve on your code, they have the tests to test against to make sure everything works as expected
by guest3456
25 Jul 2018, 21:41
Forum: Ask For Help
Topic: Object Serializer/Deserializer for AHK V2?
Replies: 2
Views: 67

Re: Object Serializer/Deserializer for AHK V2?

they are probably just not updated for the latest v2 syntax changes. shouldn't be too hard to fix by reading the v2 changelog
by guest3456
24 Jul 2018, 11:43
Forum: Ask For Help
Topic: Code Optimization
Replies: 18
Views: 220

Re: Code Optimization

Yep exactly. Play around with it. Feed the assertions all the different formats that you accept. And verify that the output is what you want. Then when you add to your function new features, or if you try to shorten the code to make it more clear, you can keep running your tests as you go, to make s...
by guest3456
24 Jul 2018, 11:33
Forum: Ask For Help
Topic: Code Optimization
Replies: 18
Views: 220

Re: Code Optimization

So imagine you had a coordinate like 20°50'30"N 60°36'21"W, this would be your standard coordinate pair you would want to convert, but not everyone uses the same format. For example European countries use commas for dots and a middle dot for decimals. Where my function comes in is to fix ...
by guest3456
24 Jul 2018, 11:00
Forum: Ask For Help
Topic: Code Optimization
Replies: 18
Views: 220

Re: Code Optimization

So I am a little confused on how to get it to test properly. Well it looks like you just put your entire script into the testing file. That's not how it should be done. You only want to test your conversion function. I'm not sure about all of the regex replaces you are doing after you collect the u...

Go to advanced search