Can I use Laszlo's script Monster in my script and spread it?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
wo52616111
Posts: 47
Joined: 21 Aug 2014, 04:46

Can I use Laszlo's script Monster in my script and spread it?

25 Mar 2016, 04:09

https://autohotkey.com/board/topic/1567 ... n-strings/

I can't find the way to contact him, the last time he active is 2012.
Can I use Monster in my script and spread it?
Can I sell the EXE? I want to sell it at no limit price whatever people like to pay.
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: Can I use Laszlo's script Monster in my script and spread it?

28 Mar 2016, 18:55

I can't speak for him and I don't know how to contact him either, but I've been using it for a few years in a public project so I don't think there's any problem with using it in a commercial software. If no license can be found, just give the author credit for his work.

If it suits your needs you can use this other version of eval() as you please.
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
User avatar
tidbit
Posts: 1272
Joined: 29 Sep 2013, 17:15
Location: USA

Re: Can I use Laszlo's script Monster in my script and spread it?

28 Mar 2016, 19:16

or this version which is nice and short and powerful:
https://autohotkey.com/boards/viewtopic.php?f=6&t=15389
rawr. fear me.
*poke*
Is it December 21, 2012 yet?
wo52616111
Posts: 47
Joined: 21 Aug 2014, 04:46

Re: Can I use Laszlo's script Monster in my script and spread it?

28 Mar 2016, 21:00

thank you, Pulover and tidbit, you two gave me a BIG hlep, I will study your scripts.
tidbit, your script indicates a new road for me.
ps. you two joined in same day(Sep 30, 2013) ha.
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: Can I use Laszlo's script Monster in my script and spread it?

28 Mar 2016, 21:18

Just to help you choose: If your project only requires to evaluate math in the strings without variables references in them (e.g. eval("A_Hour + 5")) and such, tidbit's neat function will do you just fine. But if you need more complex expressions that involve variables, assignments, conditions or whatever, my version can handle it.
wo52616111 wrote:ps. you two joined in same day(Sep 30, 2013) ha.
Actually tidbit has been around for a few years more than me before the forum split... Long story...
:arrow: https://autohotkey.com/board/user/5359-tidbit/
:arrow: https://autohotkey.com/board/user/17459-pulover/
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
wo52616111
Posts: 47
Joined: 21 Aug 2014, 04:46

Re: Can I use Laszlo's script Monster in my script and spread it?

28 Mar 2016, 22:39

Pulover wrote:Just to help you choose: If your project only requires to evaluate math in the strings without variables references in them (e.g. eval("A_Hour + 5")) and such, tidbit's neat function will do you just fine. But if you need more complex expressions that involve variables, assignments, conditions or whatever, my version can handle it.
wo52616111 wrote:ps. you two joined in same day(Sep 30, 2013) ha.
Actually tidbit has been around for a few years more than me before the forum split... Long story...
:arrow: https://autohotkey.com/board/user/5359-tidbit/
:arrow: https://autohotkey.com/board/user/17459-pulover/
thank you so much. I will seriously consider. Is that your script can do whatever Monster can do? even more?
User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: Can I use Laszlo's script Monster in my script and spread it?

28 Mar 2016, 23:03

wo52616111 wrote:thank you so much. I will seriously consider. Is that your script can do whatever Monster can do? even more?
Yes, the math evaluation is thanks to Uberi's function. It was done for AHK v1.0 and it's old now, but it still did the job for me (with a few tweaks).
The difference between Laszlo's and Uberi's functions is that the latter can evaluate variables and expression operators (not only math).

I added support for objects and ternary, and fixed a few problems. My goal was to make it evaluate possibly any valid AHK expression. You can find some examples at the github repository.
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)
wo52616111
Posts: 47
Joined: 21 Aug 2014, 04:46

Re: Can I use Laszlo's script Monster in my script and spread it?

28 Mar 2016, 23:55

got it, great help really. I will try to use it in my script, and share it when I tidy up the code(it's messy now).
aldrinjohnom
Posts: 77
Joined: 18 Apr 2018, 08:49

Re: Can I use Laszlo's script Monster in my script and spread it?

24 Aug 2019, 11:12

Pulover wrote:
28 Mar 2016, 23:03
wo52616111 wrote:thank you so much. I will seriously consider. Is that your script can do whatever Monster can do? even more?
Yes, the math evaluation is thanks to Uberi's function. It was done for AHK v1.0 and it's old now, but it still did the job for me (with a few tweaks).
The difference between Laszlo's and Uberi's functions is that the latter can evaluate variables and expression operators (not only math).

I added support for objects and ternary, and fixed a few problems. My goal was to make it evaluate possibly any valid AHK expression. You can find some examples at the github repository.
I got interested on your function. Can you fix this problem? I tried entering this values at Expression Tester.ahk and It generated wrong results:

test 1:
(2.6167)-193
result 1:
<empty string>

test 2:
-(2.6167)-193
result 2:
195.616700

both results are wrong. Any fix for this?
Developer of AJOM's DOTA2 MOD Master, Easiest way to MOD your DOTA2 without the use of internet :lol: . I created this program using Autohotkey thats why I love Autohotkey and the community!

GitHub:
https://github.com/Aldrin-John-Olaer-Manalansan

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: cjsmile999, doodles333 and 347 guests