Search found 25 matches

by freakkk
07 Jun 2020, 03:20
Forum: Ask For Help
Topic: PLEASE HELP! Text Parse / Regex Topic is solved
Replies: 15
Views: 599

Re: PLEASE HELP! Text Parse / Regex Topic is solved

How do I edit my example code to basically say - if the regex query is true then...FileAppend, %A_LoopReadLine%`n etc. haystack := " ( LTrim Comment 2008/02/28 16:49:18 ERROR 3 blah blah blah ERROR 123456 blah blah ERROR 24 BLAH BLAH BLAH ERROR No access 2008/02/28 04:49:18 ERROR 4956 2008/02/28 16...
by freakkk
07 Jun 2020, 03:12
Forum: Ask For Help
Topic: PLEASE HELP! Text Parse / Regex Topic is solved
Replies: 15
Views: 599

Re: PLEASE HELP! Text Parse / Regex Topic is solved

I didn't see that toralf already helped you out, but this was what I came up with as far as the regex portion.. haystack := " ( comment 2008/02/28 16:49:18 ERROR 3 blah blah blah ERROR 123456 blah blah ERROR 24 BLAH BLAH BLAH ERROR No access 2008/02/28 04:49:18 ERROR 4956 2008/02/28 16:49:18 ERROR 4...
by freakkk
06 Jun 2020, 15:14
Forum: Ask For Help
Topic: Object.Push() - Inconsistency with trimming whitespace
Replies: 6
Views: 379

Re: Object.Push() - Inconsistency with trimming whitespace

if ur variable v started off as a string( v := " 1 " ) and u did something to it, which mandates a numeric conversion , should the conversion succeed, the result of it will be cached This articulates it perfectly ! After soaking your explanation in a little, it led me to discovering that v ? a.Push...
by freakkk
06 Jun 2020, 02:29
Forum: Ask For Help
Topic: Object.Push() - Inconsistency with trimming whitespace
Replies: 6
Views: 379

Re: Object.Push() - Inconsistency with trimming whitespace

Why was this post moved to 'Ask For Help' section? I still feel like this it an inconsistent bug. I wasn't asking for any help; my initial post showed the workaround that I already found. EDIT: After re-reading my post, I feel like I might have conveyed the wrong message. I'm still having a hard tim...
by freakkk
05 Jun 2020, 19:12
Forum: Ask For Help
Topic: Object.Push() - Inconsistency with trimming whitespace
Replies: 6
Views: 379

Re: Object.Push() - Inconsistency with trimming whitespace

swagfag I'm still having a hard time grasping this completely. a := [] v := " 1 " MsgBox, % "1- " Chr(34) v Chr(34) ; this evaluates v, but doesn't cache type a.Push(v) ; yes - Still has padding Msgbox, % "2- " Chr(34) a[1] Chr(34) ;-- I didn't expect this example to work, since 'v' isn't a number....
by freakkk
05 Jun 2020, 17:51
Forum: Ask For Help
Topic: Object.Push() - Inconsistency with trimming whitespace
Replies: 6
Views: 379

Re: Object.Push() - Inconsistency with trimming whitespace

swagfag , thank you for the reply and explanation. I have somehow never noticed this caching section of the document until now! whenever a variable is converted, the result is cached in the variable So I'm assuming this means the type is cached, not actual value? In my example, the variable value o...
by freakkk
05 Jun 2020, 16:02
Forum: Ask For Help
Topic: Object.Push() - Inconsistency with trimming whitespace
Replies: 6
Views: 379

Object.Push() - Inconsistency with trimming whitespace

I believe I may have stumbled onto a bug that has been around for a while apparently. When using the 'Push' method to add a value to an array, I am finding that if value being passed to method is a variable that contains a number with whitespace, the whitspace is being trimmed if the variable is eva...
by freakkk
02 Mar 2020, 12:27
Forum: Scripts and Functions
Topic: JSON 2.0 (and Jxon) - JSON lib for AutoHotkey
Replies: 76
Views: 46090

Re: JSON 2.0 (and Jxon) - JSON lib for AutoHotkey

Delta Pythagorean Without seeing any more code where you're getting the error from, I have a hunch it could possibly be an issue with a continuation section you are using?? This is testing out okay for me: Array := ; <-- continuation section is evaluating an expression (LTrim Join [ ["TestVar", "So...
by freakkk
29 Dec 2019, 16:09
Forum: Scripts and Functions
Topic: [Class] JSONFile - easily work with JSON files
Replies: 7
Views: 3400

Re: [Class] JSONFile - easily work with JSON files

burque505 wrote:
29 Dec 2019, 16:06
thanks for sharing this.
Thanks for taking a look at it! :)
by freakkk
29 Dec 2019, 15:55
Forum: Scripts and Functions
Topic: Function: IniRead()
Replies: 22
Views: 6266

Re: Function: IniRead()

Dear freakkk, Well first of all, toralf it's wonderful to see your name still active on the forum! I've learned a lot and become inspired by a number of things that you have posted before in the past, so I feel honored that you were taking a look at my code. Somehow I never saw the notification tha...
by freakkk
29 Dec 2019, 14:23
Forum: Scripts and Functions
Topic: [Class] JSONFile - easily work with JSON files
Replies: 7
Views: 3400

Re: [Class] JSONFile - easily work with JSON files

Well, somehow I never saw this until now. I ended up creating a class that is simpler than yours, but differs enough that I thought I would post it on here, in case you want to add any ideas to your library. File (or folder file is in) doesn't need to already exist when instance is created You can s...
by freakkk
22 Jul 2019, 02:27
Forum: Scripts and Functions
Topic: Basic LIFX Support
Replies: 4
Views: 1306

Re: Basic LIFX Support

This is amazing! I just started playing around with the LIFX cloud api and was considering creating an ahk wrapper for it, but found you have it thoroughly done already!! :D

Thanks for sharing!
by freakkk
02 Apr 2019, 21:25
Forum: Scripts and Functions
Topic: [v2] ZeeGrid class
Replies: 15
Views: 3232

Re: [v2] ZeeGrid class

You are on a roll man! :D

This reminds me a lot of the RaGrid control majkinetor wrapped way back in the day. I can't wait to dig into this one too!
by freakkk
02 Apr 2019, 21:00
Forum: Wish List
Topic: Allow AutoHotkey to Handle Binary Data
Replies: 48
Views: 10437

Re: Allow AutoHotkey to Handle Binary Data

Allow creators of libraries to implement special __delete routines that release the memory. Please don't interpret this confrontational, because it isn't intended to be, but can you elaborate on how this isn't currently possible? Another possibility would be the option to implement special resizing...
by freakkk
26 Mar 2019, 01:46
Forum: Scripts and Functions
Topic: Function: IniRead()
Replies: 22
Views: 6266

Re: Function: IniRead()

Here is a simple ini file class I used to use before I started to upgrade my data storage to json: ;-- read values of ini file into obj oIni := new IniFileObj( A_ScriptDir "\MyIniFile1.ini" ) ;-- If file doesn't exist, create sections and add keys to it If !FileExist( A_ScriptDir "\MyIniFile1.ini" )...
by freakkk
24 Mar 2019, 15:03
Forum: Scripts and Functions
Topic: [v2] Scintilla Edit control class
Replies: 9
Views: 2465

Re: [v2] Scintilla Edit control class

Thank you for the improvements you've made to this! I was planning on using this control in something in the next month or so already, so I'll definitely be using this recently refreshed library to start from when I do.
by freakkk
24 Mar 2019, 14:57
Forum: Scripts and Functions
Topic: [v2] SQLite Database Viewer
Replies: 30
Views: 5636

Re: [v2] SQLite Database Viewer

This is fantastic!! :D

I've been switching several things over to using a json type model for my data storage lately, but this alone has me reconsidering using sqlite instead. Thank you for sharing!
by freakkk
30 Jun 2018, 17:06
Forum: Other Utilities & Resources
Topic: Transfer.sh is an instant sharing tool for programmers
Replies: 3
Views: 1792

Re: Transfer.sh is an instant sharing tool for programmers

Awesome! You beat me to it! :D

Thank you! I'll check it out..
by freakkk
28 Jun 2018, 00:18
Forum: Scripts and Functions
Topic: [Library] TAB v0.1 (Preview) - Add Functionality to the Tab Control
Replies: 10
Views: 3642

Re: [Library] TAB v0.1 (Preview) - Add Functionality to the Tab Control

jballi , this is an excellent library! AND the documentation is amazing ! Did you use NaturalDocs to generate your html help file by chance? I definitely plan to use this for a couple of the styles that you demonstrated. The "No Tabs" example highlights a good way of using the tabcontrol as more of...
by freakkk
23 Jun 2018, 17:52
Forum: Other Utilities & Resources
Topic: Transfer.sh is an instant sharing tool for programmers
Replies: 3
Views: 1792

Transfer.sh is an instant sharing tool for programmers

Transfer.sh is an instant sharing tool for programmers File sharing tools are a dime a dozen these days. There’s Dropbox, Google Drive, and iCloud. But what if you want to share something quickly and easily from the command line? That’s why programmer Remco Verhoef created Transfer.sh. The service ...

Go to advanced search