Search found 210 matches

by kyuuuri
13 Jan 2019, 18:46
Forum: Ask For Help
Topic: How to share variables between threads? Topic is solved
Replies: 17
Views: 1782

How to share variables between threads? Topic is solved

Hello, I'm asking this because I couldn't make it by myself (already read the docs) and couldn't find any answer on the forum.
I'm trying to do this in Ahk_h v1*
by kyuuuri
12 Jan 2019, 17:50
Forum: Ask For Help
Topic: Decompiling
Replies: 111
Views: 40568

Re: Decompiling

Applies to both v1 and v2. In this line you should instead call the function that returns your password: https://github.com/HotKeyIt/ahkdll/blob/master/source/util.cpp#L3219 Whatever you do you can see in debugger what you function returns and use it as password. You might need to adapt some other ...
by kyuuuri
12 Jan 2019, 04:50
Forum: Ask For Help
Topic: Decompiling
Replies: 111
Views: 40568

Re: Decompiling

@HotKeyIt: everything you said about protecting source from debuggers applies to Ahk_h v1 as well? or only v2? Can you give me an example of everything I should do to make a dynamic password? (I don't mean "do it for me" I mean which steps should i follow to change the password declaration to someth...
by kyuuuri
12 Jan 2019, 01:21
Forum: Ask For Help
Topic: Using ahktextdll() and GlobalVarsScript() with dllcall
Replies: 0
Views: 275

Using ahktextdll() and GlobalVarsScript() with dllcall

Hello, I'm currently making a software I'm going to sell and I faced a problem: On my program users have to login and, because more than 1 user using the same username and password is not allowed, i made it write on DB with "TRUE" when logged in and "FALSE" when logged off. My problem is that I can ...
by kyuuuri
09 Jan 2019, 03:14
Forum: Ask For Help
Topic: Multiple scripts on same file
Replies: 0
Views: 247

Multiple scripts on same file

Hello, i read the entire section of "Create Thread" on http://hotkeyit.github.io/v2/docs/AutoHotkey.htm and still i don't get how to make the following: let's say i have: 1st Script (contains labels, functions, variables, etc) 2nd Script (contains labels, functions, variables, etc) 3rd Script (conta...
by kyuuuri
07 Jan 2019, 19:01
Forum: Ask For Help
Topic: .ani cursor is loaded as static image
Replies: 0
Views: 236

.ani cursor is loaded as static image

Hello, here is my code: Cursor = %A_ScriptDir%\wait.ani CursorHandle := DllCall( "LoadCursorFromFile", Str,Cursor ) Cursors = 32512,32513,32514,32515,32516,32640,32641,32642,32643,32644,32645,32646,32648,32649,32650,32651 Loop, Parse, Cursors, `, { DllCall( "SetSystemCursor", Uint,CursorHandle, Int,...
by kyuuuri
09 Dec 2018, 18:08
Forum: Ask For Help
Topic: Help with adding a month (related to time in general, not only the code)
Replies: 6
Views: 514

Re: Help with adding a month (related to time in general, not only the code)

I made a function that adds days until the next month is reached, then adds the rest of the days, this way i don't have invalid dates. The problem is, i think the correct way is: January 29 + 1 month = Mar 1 because this way i don't break the 365 days year. But that's what i think, what i wanted to ...
by kyuuuri
08 Dec 2018, 11:50
Forum: Ask For Help
Topic: Help with adding a month (related to time in general, not only the code)
Replies: 6
Views: 514

Re: Help with adding a month (related to time in general, not only the code)

To add even more:

If i do 28, 29, 30 or 31 of january + 1 month i get february 28 on all of those cases. So a month equals 31 in first case, 30 on second, 29 on third, and 28 on fourth.
by kyuuuri
08 Dec 2018, 11:18
Forum: Ask For Help
Topic: Help with adding a month (related to time in general, not only the code)
Replies: 6
Views: 514

Re: Help with adding a month (related to time in general, not only the code)

To add more to this: if i do 0+1 and then +10 it is = 11. It is the same as doing 0+11=11 or 0 + (1+10) = 11 This means that by adding the same i get the same result, so if i do 0+1+1= 0+2 So why if i add 1 month and then 1 month it is not equal to adding 2 months, being month a "variable" that cont...
by kyuuuri
08 Dec 2018, 10:54
Forum: Ask For Help
Topic: Help with adding a month (related to time in general, not only the code)
Replies: 6
Views: 514

Help with adding a month (related to time in general, not only the code)

Hello, i didn't sleep so here goes a post that might be retarded or a good question. If i have January, 29 of 1999 (no leap year) And i add 1 month, should i get February, 28 of 1999 or March, 1 of 1999? Why this question? Because if i add 2 months to January, 29 of 1999 (no leap year) i get March, ...
by kyuuuri
05 Dec 2018, 15:27
Forum: Ask For Help
Topic: Datetime before 1601 Topic is solved
Replies: 4
Views: 475

Re: Datetime before 1601 Topic is solved

Nvm, i solved it! i had to rewrite my function to remove the EnvAdd. Now everything works perfect!
by kyuuuri
05 Dec 2018, 14:28
Forum: Ask For Help
Topic: Datetime before 1601 Topic is solved
Replies: 4
Views: 475

Re: Datetime before 1601 Topic is solved

Oh, the problem is that the function i use to add years and months uses EnvAdd as well hahaha, i'm lost right now.
by kyuuuri
05 Dec 2018, 14:23
Forum: Ask For Help
Topic: Datetime before 1601 Topic is solved
Replies: 4
Views: 475

Re: Datetime before 1601 Topic is solved

Yes sry, i forgot that part. I'm trying to use Gregorian calendar to keep things simple, will try adding 1000
by kyuuuri
05 Dec 2018, 14:04
Forum: Ask For Help
Topic: Datetime before 1601 Topic is solved
Replies: 4
Views: 475

Datetime before 1601 Topic is solved

Hello, i would like to know if is there any workaround for these limitations: If Var is an empty variable, the current time will be used in its place. If Var contains an invalid timestamp or a year prior to 1601, or if Value is non-numeric, Var will be made blank to indicate the problem. From https:...
by kyuuuri
04 Dec 2018, 21:19
Forum: Ask For Help
Topic: EnvAdd leaves my variable empty/blank Topic is solved
Replies: 3
Views: 373

Re: EnvAdd leaves my variable empty/blank Topic is solved

Was it that simple? LOL. I misread the EnvAdd page. Thank you!
by kyuuuri
04 Dec 2018, 20:26
Forum: Ask For Help
Topic: EnvAdd leaves my variable empty/blank Topic is solved
Replies: 3
Views: 373

EnvAdd leaves my variable empty/blank Topic is solved

now:=%a_now% FormatTime, Fechanueva1,now, dd/MM/yyyy HH:mm:00 msgbox %Fechanueva1% FormatTime, TempSegundos,now, ss msgbox %TempSegundos% FormatTime, asd,%Fechanueva%, dd/MM/yyyy HH:mm:ss msgbox %asd% - %TempSegundos% asd += -TempSegundos, Seconds msgbox %asd% What it should do: 1st msgbox: Show ac...
by kyuuuri
27 Nov 2018, 10:12
Forum: Scripts and Functions
Topic: [CLASS] MySQLAPI - MySQL wrapper
Replies: 52
Views: 19839

Re: [CLASS] MySQLAPI - MySQL wrapper

Hello, i have a problem with libmysql.dll I get this error when running MySQLAPI_demo.ahk: "could not load" (path to libmysql.dll / it is the same folder as the demo.ahk) ... "is not a valid win32 app". I already downloaded all x32 versions from here https://downloads.mysql.com/archives/c-c/ and no...
by kyuuuri
27 Nov 2018, 09:40
Forum: Scripts and Functions
Topic: [CLASS] MySQLAPI - MySQL wrapper
Replies: 52
Views: 19839

Re: [CLASS] MySQLAPI - MySQL wrapper

Hello, i have a problem with libmysql.dll I get this error when running MySQLAPI_demo.ahk: "could not load" (path to libmysql.dll / it is the same folder as the demo.ahk) ... "is not a valid win32 app". I already downloaded all x32 versions from here https://downloads.mysql.com/archives/c-c/ and non...
by kyuuuri
30 May 2018, 03:49
Forum: Ask For Help
Topic: Adapting FanaticGuru's A* Algorithm to my needs
Replies: 0
Views: 286

Adapting FanaticGuru's A* Algorithm to my needs

Hello, first of all thank you for clicking on my post. As stated in the post i need help to adapt this algorithm to my needs, what i need might be simple. The code: ;From https://autohotkey.com/boards/viewtopic.php?p=185714&sid=8cab78acf6a567c2a660576b839e52ca#p185714 Grid = ; Easier to create with ...
by kyuuuri
24 May 2018, 20:35
Forum: Ask For Help
Topic: Custom DropDownList Topic is solved
Replies: 4
Views: 670

Re: Custom DropDownList Topic is solved

Thank you for that, i'm sure i will use it later, but for now in this script i think i won't include it. Thanks for the help, you teached me something very interesting and useful.

Thank you, topic can be closed now.

Go to advanced search