Yes it gives a string "-2" but it means nothing if the script is compiled
It is possible with the same behavior as if the script is not compiled?
Search found 36 matches
- 04 Sep 2021, 11:04
- Forum: Ask for Help (v1)
- Topic: Exception in compiled script
- Replies: 3
- Views: 500
- 04 Sep 2021, 04:28
- Forum: Scripts and Functions (v1)
- Topic: Embedding Python in AHK - revisited.
- Replies: 7
- Views: 2280
Re: Embedding Python in AHK - revisited.
Thank you @burque505
I will try. I need to reinstall python to test
I will try. I need to reinstall python to test
- 31 Aug 2021, 12:16
- Forum: Ask for Help (v1)
- Topic: Exception in compiled script
- Replies: 3
- Views: 500
Exception in compiled script
I'd like to share an issue that the function Exception(Message [, What, Extra]) doesn't work as expected if the script is compiled in .exe - Exception("").What give the current method/function/subroutine if the script is not compiled - Exception("", -2).What give the parent method where the method/f...
- 16 Mar 2020, 14:36
- Forum: Scripts and Functions (v1)
- Topic: Using Google Translate to automate text translation
- Replies: 227
- Views: 97328
Re: Using Google Translate to automate text translation
Why nobody develop libraries in class
Go use class it's much more maintainable...
Go use class it's much more maintainable...
- 14 Mar 2020, 10:47
- Forum: Ask for Help (v1)
- Topic: Embedding Python in AHK
- Replies: 1
- Views: 855
Embedding Python in AHK
Hello I found this in the old forum: https://autohotkey.com/board/topic/47595-embed-python/ It said to run a .py script to register the COM object c:\python27\lib\site-packages\win32com\servers\interp.py and then in .ahk script i := python := ComObjCreate("Python.Interpreter") i.Exec("import win32ap...
- 08 Mar 2020, 19:31
- Forum: Scripts and Functions (v1)
- Topic: .NET Framework Interop (CLR, C#, VB)
- Replies: 201
- Views: 118549
Re: .NET Framework Interop (CLR, C#, VB)
I try to rewrite a deprecated code found in this CLR lib : StringSplit, Refs, References, |, %A_Space%%A_Tab% to Refs := StrSplit(References, "|", A_Space A_Tab) what does these lines means? aRefs := ComObjArray(8, Refs0) Loop % Refs0 aRefs[A_Index-1] := Refs%A_Index% But the compilation failed... "...
- 28 Feb 2020, 21:05
- Forum: Scripts and Functions (v1)
- Topic: BARCODER - Create 1D and 2D Barcodes (QRCode , C39,etc)
- Replies: 106
- Views: 73763
Re: BARCODER - Create 1D and 2D Barcodes (QRCode , C39,etc)
Best language for automation, I'll integrate to my framework
You should refactor your library to encapsulate in a class instead using global
You should refactor your library to encapsulate in a class instead using global
- 23 Feb 2020, 06:22
- Forum: Wish List
- Topic: The Future of the AutoHotkey Programming Language
- Replies: 16
- Views: 18008
Re: The Future of the AutoHotkey Programming Language
I love AutoHotkey I really do
Better than other programming for automation I can assure you
Better than other programming for automation I can assure you
- 20 Feb 2020, 09:14
- Forum: Scripts and Functions (v1)
- Topic: BARCODER - Create 1D and 2D Barcodes (QRCode , C39,etc)
- Replies: 106
- Views: 73763
Re: BARCODER - Create 1D and 2D Barcodes (QRCode , C39,etc)
Thanks for the library
- 17 Feb 2020, 08:13
- Forum: Ask for Help (v1)
- Topic: Does anyone have the LUA.ahk library?
- Replies: 1
- Views: 516
Does anyone have the LUA.ahk library?
Hello everyone,
I found this original post from the old forum but seem the download link is broken : https://autohotkey.com/board/topic/40690-ahk-lua-interop-stdlib-proof-of-concept/
Does anyone have LUA.ahk library where we can download ?
Thanks in advance
I found this original post from the old forum but seem the download link is broken : https://autohotkey.com/board/topic/40690-ahk-lua-interop-stdlib-proof-of-concept/
Does anyone have LUA.ahk library where we can download ?
Thanks in advance
- 15 Feb 2020, 18:31
- Forum: Scripts and Functions (v1)
- Topic: .NET Framework Interop (CLR, C#, VB)
- Replies: 201
- Views: 118549
Re: .NET Framework Interop (CLR, C#, VB)
@burque505 Thanks for the additionals DllCall methods
- 13 Feb 2020, 15:05
- Forum: Scripts and Functions (v1)
- Topic: .NET Framework Interop (CLR, C#, VB)
- Replies: 201
- Views: 118549
Re: .NET Framework Interop (CLR, C#, VB)
I have a problem I don't know how to instantiate a struct System.DateTime
I tried :
Any tips please?
I tried :
Code: Select all
asm := CLR.LoadLibrary("System.dll")
DT := CLR.CreateObject(asm, "System.DateTime", 1987, 3, 23)
MsgBox % DT.Ticks
- 12 Feb 2020, 15:10
- Forum: Scripts and Functions (v1)
- Topic: CLSID/IID search tool.
- Replies: 5
- Views: 2195
Re: CLSID/IID search tool.
Nice job
- 12 Feb 2020, 12:30
- Forum: Scripts and Functions (v1)
- Topic: .NET Framework Interop (CLR, C#, VB)
- Replies: 201
- Views: 118549
Re: .NET Framework Interop (CLR, C#, VB)
It is possible with this CLR library to import NUget packages?
EDIT :
I found alternative but I have to register with gac via Developer Command Prompt. I d like without it.
EDIT :
I found alternative but I have to register with gac via Developer Command Prompt. I d like without it.
- 12 Feb 2020, 10:38
- Forum: Ask for Help (v2)
- Topic: About meta-functions change, Properties?
- Replies: 21
- Views: 13188
Re: About meta-functions change, Properties?
I dont know if its possible but I want to set a value to a property like this class MyClass { MyProp { set { ; Here I want some logic (very important) ; then set the value to this MyProp return this.MyProp := value } } } The problem is that there is infinite loop, any idea how to set value
- 07 Feb 2020, 11:10
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 460513
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
__New(WS_URL) { static WB ; Create an IE instance Gui, +hWndhOld Gui, New, +hWndhWnd this.hWnd := hWnd Gui, Add, ActiveX, vWB, Shell.Explorer Gui, %hOld%: Default ; Write an appropriate document WB.Navigate("about:<!DOCTYPE html><meta http-equiv='X-UA-Compatible' content='IE=edge'><body></body></ht...
- 06 Feb 2020, 17:21
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 460513
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Code: Select all
Jxon_True()
{
static obj := {}
return obj
}
Jxon_False()
{
static obj := {}
return obj
}
I need explanation lol.
- 05 Feb 2020, 16:27
- Forum: Scripts and Functions (v1)
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
- Replies: 668
- Views: 460513
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
I found error :
RegRead, ChromePath, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Pahs\chrome.exe
should be instead ?
RegRead, ChromePath, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe
RegRead, ChromePath, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Pahs\chrome.exe
should be instead ?
RegRead, ChromePath, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe
- 05 Feb 2020, 14:10
- Forum: Scripts and Functions (v1)
- Topic: Convert Base | HEX, DEC, OCT, BIN, INT, RGB, STR
- Replies: 19
- Views: 13611
Re: Convert Base | HEX, DEC, OCT, BIN, INT, RGB, STR
Nice methods, I like ConvertBase()
- 05 Feb 2020, 09:42
- Forum: Scripts and Functions (v1)
- Topic: Relax, a compiled programming language, implemented entirely in AHK
- Replies: 38
- Views: 6725
Re: Relax, a compiled programming language, implemented entirely in AHK
oh man, this is incredible.
does it fully support C language??
the syntax seem very clear
does it fully support C language??
the syntax seem very clear