Search found 15 matches

by djvj11
21 Mar 2019, 22:20
Forum: Ask For Help
Topic: Simple Count Down timer and FormatTime weird behavior Topic is solved
Replies: 1
Views: 313

Simple Count Down timer and FormatTime weird behavior Topic is solved

I'm trying to figure out why when I put in to countdown 1800 seconds I get over 12 hrs of time counting down. But when I put in 2 hours (7200) it is correct? It's actually anything over 3600 seconds, once it reaches less than 1 hour left, it changes to 12 hours! I noticed the hours becomes 00, which...
by djvj11
24 Feb 2016, 03:07
Forum: Ask For Help
Topic: Calling one class from another
Replies: 2
Views: 568

Re: Calling one class from another

You were right, that was it! Thank you.

That can be a nightmare to troubleshoot w/o a loadtime error in large scripts.
by djvj11
24 Feb 2016, 01:29
Forum: Ask For Help
Topic: Calling one class from another
Replies: 2
Views: 568

Calling one class from another

I need to create a File object when I create the Process object but how come the msgbox in File class never shows up? primaryExe := new Process(emuPath . "\" . executable) ExitApp class File { __New(file) { SplitPath, file, file, path, ext, fileNE, drive this.FileDrive := drive this.FileName := file...
by djvj11
28 Dec 2015, 01:22
Forum: AutoHotkey v2 Development
Topic: multiline variables
Replies: 2
Views: 1470

Re: multiline variables

Thanks coco, could have sworn I tried that as well.
by djvj11
28 Dec 2015, 00:01
Forum: AutoHotkey v2 Development
Topic: multiline variables
Replies: 2
Views: 1470

multiline variables

in AHK v2, how do I format these?

This returns error as = needs to be :=

Code: Select all

var=
( LTrim
item1
item2
item3
item4
)
msgbox % var
This returns an empty value for var

Code: Select all

var:=
( LTrim
item1
item2
item3
item4
)
msgbox % var
by djvj11
21 Dec 2015, 06:47
Forum: AutoHotkey v2 Development
Topic: #EscapeChar removal
Replies: 6
Views: 2409

Re: #EscapeChar removal

oh, thanks, I didn't realize there were others. The one I was using was finks and it always annoyed me having to use the escapechar change. If I can do away with that, that's the route I'd rather go. Never heard of CriticalObject...I'll definitely check it out. Looking forward to trying these altern...
by djvj11
21 Dec 2015, 02:48
Forum: AutoHotkey v2 Development
Topic: #EscapeChar removal
Replies: 6
Views: 2409

Re: #EscapeChar removal

Thanks for the advice nnnik. I'd rather not reinvent the wheel if I don't need to. I did find this library that I will give it a shot: https://autohotkey.com/board/topic/104854-string-object-file-data-structures-in-yaml-like-style/ There is also this as well: https://autohotkey.com/board/topic/66496...
by djvj11
21 Dec 2015, 02:28
Forum: AutoHotkey v2 Development
Topic: #EscapeChar removal
Replies: 6
Views: 2409

Re: #EscapeChar removal

I've been converting over the libraries I use as I get errors when trying to run scripts. Nothing I couldn't fix yet until this JSON library. But I don't need to even use it if there was another way to pass objects. If anyone else knows another way I would really appreciate letting me know or if the...
by djvj11
20 Dec 2015, 23:23
Forum: AutoHotkey v2 Development
Topic: #EscapeChar removal
Replies: 6
Views: 2409

#EscapeChar removal

Looks like #EscapeChar and #CommentFlag were removed but the problem with that is I need that to pass objects from the initial thread to other threads with ahk_H. The only way I'm aware of doing that is by using the JSON library which requires the use of those directives. Is there another way to pas...
by djvj11
20 Dec 2015, 06:10
Forum: AutoHotkey v2 Development
Topic: If Var In/Contains
Replies: 3
Views: 1647

Re: If Var In/Contains

So far I've found regexmatch to be fastest w/o false positives. I tried all possibilities I could think of. Loop Parse was slowest.
by djvj11
20 Dec 2015, 02:21
Forum: AutoHotkey v2 Development
Topic: If Var In/Contains
Replies: 3
Views: 1647

Re: If Var In/Contains

Ok thanks Lexikos. So I have to wait till the replacement is in or use one of the existing methods.

Off the top of your head, do you know which would be fastest? I figured the array or "If (x=1 || x=2 || x=3 || etc)"
by djvj11
19 Dec 2015, 23:49
Forum: AutoHotkey v2 Development
Topic: If Var In/Contains
Replies: 3
Views: 1647

If Var In/Contains

What's the equivalent that I should use for these conditionals?

If X In abc,def,fyg
{
...
}

When I try to use this I get a msg saying reserved for future use. Has this not been re-implemented yet or just removed?
by djvj11
10 Jul 2014, 22:56
Forum: Tutorials
Topic: WinApi, DllCalls & AHK
Replies: 28
Views: 25394

Re: WinApi, DllCalls & AHK

Great job so far, thanks!

Could you look at adding support for Raw Input. like getting the device list, registering your app, and receiving input data from the devices on that list?

http://msdn.microsoft.com/en-us/library ... s.85).aspx
by djvj11
07 Jul 2014, 17:06
Forum: Scripts and Functions
Topic: [Class] SQLiteDB - Update on 2019-07-12
Replies: 203
Views: 46000

Re: [Class] SQLiteDB

Having trouble just launching the sample script, getting this error: Error in line 28 in #Include \Class_SQLiteDB.ahk Line Text: SQLiteDB.Base.Class Error: Unknown Class I'm using AHK_H v1.1.9.4 ANSI 32-bit. H is based off L, so it should work. I don't get the Class error using the DBA sqlite librar...
by djvj11
21 Jun 2014, 01:33
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 799
Views: 371654

Re: SciTE4AutoHotkey v3.0.05.01 [Updated April 5 2014]

How can I get my forward and back mouse buttons to allow me to go back and forth through open tabs? I use this functionality a ton in notepad++ and can't live w/o it in this.

Go to advanced search