Search found 54 matches

by Taurus
01 Apr 2019, 07:49
Forum: Ask For Help
Topic: Include 7-zip lzma functions in ahk
Replies: 0
Views: 68

Include 7-zip lzma functions in ahk

Hi, I need to get the 7zip-lzma de/compression included in ahk-code, because Antivirus-systems will kill third party exe. So this is what i have (10% likely that process get killed): FileInstall, 7zr.exe, 7zr.exe, 1 RunWait, % "\7zr.exe" Parameters This is the code to include (also asm files,...): h...
by Taurus
07 Mar 2019, 05:25
Forum: Ask For Help
Topic: Init empty array to integer 0? Topic is solved
Replies: 2
Views: 133

Re: Init empty array to integer 0? Topic is solved

Perfect!!! Thank you! :-) Cheers
by Taurus
04 Mar 2019, 09:47
Forum: Ask For Help
Topic: Init empty array to integer 0? Topic is solved
Replies: 2
Views: 133

Init empty array to integer 0? Topic is solved

Hi, i am looking for a simple short way for this: test :=[] ;~ test["x"] := 0 ; if not init to zero, result is empty test["x"] += 5 MsgBox % test["x"] This is a simple code just for testing, so thats easy. But if you have a very complex code with multi-arrays you have to init a lot. Any solution to ...
by Taurus
03 Dec 2018, 10:32
Forum: Ask For Help
Topic: SingleInstance Ignore only for 5 seconds?
Replies: 2
Views: 190

Re: SingleInstance Ignore only for 5 seconds?

Is there another option without blocking?

Could i receive the seconds the previous exe startet via Winapi or something similar?
by Taurus
03 Dec 2018, 06:50
Forum: Ask For Help
Topic: SingleInstance Ignore only for 5 seconds?
Replies: 2
Views: 190

SingleInstance Ignore only for 5 seconds?

Hi, I try to get rid of the problem, when users are clicking multiple times on the icons. So this is what i need: - open programm multiple times should be possible - protect programm from starting multiple times at once (because the user clicked 6 times in sequence on the same icon) I can't use #Sin...
by Taurus
04 Oct 2018, 03:27
Forum: Ask For Help
Topic: How to read the original text from *.mdb file?
Replies: 4
Views: 989

Re: How to read the original text from *.mdb file?

Hi, it's old but i got the same problem when i read from a sql table.

This is my solution:

Code: Select all

RTrim( RTrim( (string) Value, "0"), ".")
Is there any faster solution? (5 years later)
When reading >1 mio entries, it's a slow down.
by Taurus
22 Mar 2018, 14:28
Forum: Ask For Help
Topic: Fastest way to get file/dir access rights?
Replies: 2
Views: 259

Re: Fastest way to get file/dir access rights?

You are right, i improved it: :) if(A_LastError = 3) ; ERROR_PATH_NOT_FOUND return "ERROR_PATH_NOT_FOUND" else if(A_LastError = 5 || A_Index = 50) ; ERROR_ACCESS_DENIED return "ERROR_ACCESS_DENIED" else Sleep, 100 Now i need to get the double loop removed, but i don't know, how to check for modify r...
by Taurus
22 Mar 2018, 05:22
Forum: Ask For Help
Topic: Fastest way to get file/dir access rights?
Replies: 2
Views: 259

Fastest way to get file/dir access rights?

Hi, I created a function which checks for file/dir access rights. Locally it is very fast. Over network it's consuming ~ 1 sec. Is there any faster way to get them? Maybe with a FileObject? Restriction: it has to work on network drives of Win, Win Server, NAS and Linux-Server and should be error pro...
by Taurus
15 Feb 2018, 17:49
Forum: Ask For Help
Topic: Compiled script instantly fails / triggers Windows Error Reporting on some machines
Replies: 6
Views: 1278

Re: Compiled script instantly fails / triggers Windows Error Reporting on some machines

Hi, i got the same problems. Some Win and Win Servers are not able to run them. (~5% from some thousand computers) I still don't know why. All systems are running well. The problem is still staying, although reinstalling the OS. Try V1.1.24 from May 23, 2016. It's working an all systems. Download it...
by Taurus
25 Sep 2017, 05:05
Forum: Ask For Help
Topic: Get ACL - write access for directory
Replies: 5
Views: 585

Re: Get ACL - write access for directory

DllCalls... maybe i should dig into it. I found a full list of it here: https://hotkeyit.github.io/v2/docs/commands/WinApi.htm It should be something like this: https://msdn.microsoft.com/en-us/library/windows/desktop/aa446639(v=vs.85).aspx One question: Would you rely on WinAPI or should i better s...
by Taurus
22 Sep 2017, 04:24
Forum: Ask For Help
Topic: Get ACL - write access for directory
Replies: 5
Views: 585

Re: Get ACL - write access for directory

Thanks. I will try that out. Is there any ahk native way? I had some systems where winmgmts was broken.
by Taurus
20 Sep 2017, 07:26
Forum: Ask For Help
Topic: Get ACL - write access for directory
Replies: 5
Views: 585

Get ACL - write access for directory

Hi, I try to get the ACL access list for a specified directory. It has to work on Windows drives as well as on shared drives (Win Server, NAS and Linux-Server). At the moment, this is my code: Check_Rights(ByRef Dir) { File_Write_Test := Dir "\" A_UserName A_TickCount ".ini" FileAppend, 0, % File_Wr...
by Taurus
14 Aug 2017, 08:57
Forum: Ask For Help
Topic: Improve Performance on Filedelete
Replies: 1
Views: 229

Improve Performance on Filedelete

Hi, I got a critical update process, so i am looking for any helpful speed optimizations. This one was very helpful: https://autohotkey.com/boards/viewtopic.php?f=6&t=6413 But i am still looking for more speed improvements. At the moment i got stuck with the Filedelete & FileRemoveDir command. I nee...
by Taurus
14 Aug 2017, 08:19
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 Lexikos' DebugVars build [Updated 12th July 2017]
Replies: 24
Views: 7424

Re: SciTE4AutoHotkey v3.0.06.01 Lexikos' DebugVars build [Updated 12th July 2017]

Perfect! Thank you, EvilC and all the others. I created a small improvement for working with F12, maybe you are interested in modifying this file: ; Needs Admin-Rights for modifications full_command_line := DllCall("GetCommandLine", "str") if not (A_IsAdmin or RegExMatch(full_command_line, " /resta...
by Taurus
05 Jul 2017, 15:24
Forum: Ask For Help
Topic: ahk h and Scite Debug - var list not working Topic is solved
Replies: 3
Views: 711

Re: ahk h and Scite Debug - var list not working Topic is solved

Very great. Works like a charm. Thank you!
by Taurus
05 Jul 2017, 09:25
Forum: Ask For Help
Topic: ahk h and Scite Debug - var list not working Topic is solved
Replies: 3
Views: 711

ahk h and Scite Debug - var list not working Topic is solved

Hi, I got a problem with the var list while debugging. If i replace ahk L with ahk h Autohotkey.exe, the var list is not working anymore. Are there any changes? ahk-script, that is used for debugging: SciTE\tools\SciTEDebug.ahk Line 985: VL_Local := Util_UnpackNodes(Dbg_LocalContext.selectNodes("/re...
by Taurus
25 Apr 2017, 06:38
Forum: Ask For Help
Topic: APPCRASH - Moduls: unknown, Version: 0.0.0.0, Zeitstempel: 0x00000000
Replies: 11
Views: 2074

Re: APPCRASH - Moduls: unknown, Version: 0.0.0.0, Zeitstempel: 0x00000000

Now i am able to tell the last working version: 1.1.24.

Any version after that is not working on a few computers. There could be some problems with the new code hiding functions oder zip-system. I will try to find a solution.
by Taurus
21 Apr 2017, 15:32
Forum: Ask For Help
Topic: Build it with Visual Studio 2017?
Replies: 3
Views: 923

Re: Build it with Visual Studio 2017?

Hi, i tried the same. Use "Win 10 SDK 10.0.14393.0" and it will work. I did not find a solution for the newer win update, but i will update my tutorial, if i found one.
by Taurus
06 Apr 2017, 07:04
Forum: Ask For Help
Topic: APPCRASH - Moduls: unknown, Version: 0.0.0.0, Zeitstempel: 0x00000000
Replies: 11
Views: 2074

Re: APPCRASH - Moduls: unknown, Version: 0.0.0.0, Zeitstempel: 0x00000000

Ok, tried some new tests. Installing the Redistributable does not help. There is no chance of getting it working on the server, but there is another computer with a problem. ahk h with msvcr100.dll is running, but my own compiled ahk h with /MT is not running on this computer. But it's working on an...
by Taurus
03 Apr 2017, 08:42
Forum: Ask For Help
Topic: APPCRASH - Moduls: unknown, Version: 0.0.0.0, Zeitstempel: 0x00000000
Replies: 11
Views: 2074

Re: APPCRASH - Moduls: unknown, Version: 0.0.0.0, Zeitstempel: 0x00000000

Ok, i tried copying all dlls to the exe. But now i get the error "api-ms-win-core-errorhandling-l1-1-0.dll" not found. If i copy it from my Visual Studio in, this error still exist. So i think, it's not possible to copy Win 10 dlls to the server to get it working. I proofed the last working ahk h ve...

Go to advanced search