Search found 15 matches
- 21 Mar 2019, 22:20
- Forum: Ask for Help (v1)
- Topic: Simple Count Down timer and FormatTime weird behavior Topic is solved
- Replies: 1
- Views: 728
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...
- 24 Feb 2016, 03:07
- Forum: Ask for Help (v1)
- Topic: Calling one class from another
- Replies: 2
- Views: 977
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.
That can be a nightmare to troubleshoot w/o a loadtime error in large scripts.
- 24 Feb 2016, 01:29
- Forum: Ask for Help (v1)
- Topic: Calling one class from another
- Replies: 2
- Views: 977
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...
- 28 Dec 2015, 01:22
- Forum: Ask for Help (v2)
- Topic: multiline variables
- Replies: 2
- Views: 2374
Re: multiline variables
Thanks coco, could have sworn I tried that as well.
- 28 Dec 2015, 00:01
- Forum: Ask for Help (v2)
- Topic: multiline variables
- Replies: 2
- Views: 2374
multiline variables
in AHK v2, how do I format these?
This returns error as = needs to be :=
This returns an empty value for var
This returns error as = needs to be :=
Code: Select all
var=
( LTrim
item1
item2
item3
item4
)
msgbox % var
Code: Select all
var:=
( LTrim
item1
item2
item3
item4
)
msgbox % var
- 21 Dec 2015, 06:47
- Forum: AutoHotkey Development
- Topic: #EscapeChar removal
- Replies: 6
- Views: 3506
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...
- 21 Dec 2015, 02:48
- Forum: AutoHotkey Development
- Topic: #EscapeChar removal
- Replies: 6
- Views: 3506
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...
- 21 Dec 2015, 02:28
- Forum: AutoHotkey Development
- Topic: #EscapeChar removal
- Replies: 6
- Views: 3506
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...
- 20 Dec 2015, 23:23
- Forum: AutoHotkey Development
- Topic: #EscapeChar removal
- Replies: 6
- Views: 3506
#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...
- 20 Dec 2015, 06:10
- Forum: AutoHotkey Development
- Topic: If Var In/Contains
- Replies: 3
- Views: 2491
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.
- 20 Dec 2015, 02:21
- Forum: AutoHotkey Development
- Topic: If Var In/Contains
- Replies: 3
- Views: 2491
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)"
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)"
- 19 Dec 2015, 23:49
- Forum: AutoHotkey Development
- Topic: If Var In/Contains
- Replies: 3
- Views: 2491
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?
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?
- 10 Jul 2014, 22:56
- Forum: Tutorials (v1)
- Topic: WinApi, DllCalls & AHK
- Replies: 28
- Views: 40595
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
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
- 07 Jul 2014, 17:06
- Forum: Scripts and Functions (v1)
- Topic: [Class] SQLiteDB - Update on 2022-10-04
- Replies: 303
- Views: 205978
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...
- 21 Jun 2014, 01:33
- Forum: SciTE4AutoHotkey
- Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
- Replies: 835
- Views: 621061
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.