Search found 36 matches

by bourdin07
04 Sep 2021, 11:04
Forum: Ask for Help (v1)
Topic: Exception in compiled script
Replies: 3
Views: 493

Re: Exception in compiled script

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?
by bourdin07
04 Sep 2021, 04:28
Forum: Scripts and Functions (v1)
Topic: Embedding Python in AHK - revisited.
Replies: 7
Views: 2221

Re: Embedding Python in AHK - revisited.

Thank you @burque505
I will try. I need to reinstall python to test :)
by bourdin07
31 Aug 2021, 12:16
Forum: Ask for Help (v1)
Topic: Exception in compiled script
Replies: 3
Views: 493

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...
by bourdin07
16 Mar 2020, 14:36
Forum: Scripts and Functions (v1)
Topic: Using Google Translate to automate text translation
Replies: 227
Views: 95776

Re: Using Google Translate to automate text translation

Why nobody develop libraries in class
Go use class it's much more maintainable...
by bourdin07
14 Mar 2020, 10:47
Forum: Ask for Help (v1)
Topic: Embedding Python in AHK
Replies: 1
Views: 847

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...
by bourdin07
08 Mar 2020, 19:31
Forum: Scripts and Functions (v1)
Topic: .NET Framework Interop (CLR, C#, VB)
Replies: 200
Views: 116333

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... "...
by bourdin07
28 Feb 2020, 21:05
Forum: Scripts and Functions (v1)
Topic: BARCODER - Create 1D and 2D Barcodes (QRCode , C39,etc)
Replies: 106
Views: 73071

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
by bourdin07
23 Feb 2020, 06:22
Forum: Wish List
Topic: The Future of the AutoHotkey Programming Language
Replies: 16
Views: 17898

Re: The Future of the AutoHotkey Programming Language

I love AutoHotkey I really do
Better than other programming for automation I can assure you
by bourdin07
17 Feb 2020, 08:13
Forum: Ask for Help (v1)
Topic: Does anyone have the LUA.ahk library?
Replies: 1
Views: 507

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 :D :superhappy:
by bourdin07
15 Feb 2020, 18:31
Forum: Scripts and Functions (v1)
Topic: .NET Framework Interop (CLR, C#, VB)
Replies: 200
Views: 116333

Re: .NET Framework Interop (CLR, C#, VB)

@burque505 Thanks for the additionals DllCall methods
by bourdin07
13 Feb 2020, 15:05
Forum: Scripts and Functions (v1)
Topic: .NET Framework Interop (CLR, C#, VB)
Replies: 200
Views: 116333

Re: .NET Framework Interop (CLR, C#, VB)

I have a problem I don't know how to instantiate a struct System.DateTime

I tried :

Code: Select all

        asm := CLR.LoadLibrary("System.dll")
        DT := CLR.CreateObject(asm, "System.DateTime", 1987, 3, 23)
	MsgBox % DT.Ticks
Any tips please?
by bourdin07
12 Feb 2020, 15:10
Forum: Scripts and Functions (v1)
Topic: CLSID/IID search tool.
Replies: 5
Views: 2175

Re: CLSID/IID search tool.

Nice job
by bourdin07
12 Feb 2020, 12:30
Forum: Scripts and Functions (v1)
Topic: .NET Framework Interop (CLR, C#, VB)
Replies: 200
Views: 116333

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.
by bourdin07
12 Feb 2020, 10:38
Forum: Ask for Help (v2)
Topic: About meta-functions change, Properties?
Replies: 21
Views: 13142

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
by bourdin07
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: 454082

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...
by bourdin07
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: 454082

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
	}
Gnneeeee?????

I need explanation lol.
by bourdin07
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: 454082

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
by bourdin07
05 Feb 2020, 14:10
Forum: Scripts and Functions (v1)
Topic: Convert Base | HEX, DEC, OCT, BIN, INT, RGB, STR
Replies: 19
Views: 13500

Re: Convert Base | HEX, DEC, OCT, BIN, INT, RGB, STR

Nice methods, I like ConvertBase()
by bourdin07
05 Feb 2020, 09:42
Forum: Scripts and Functions (v1)
Topic: Relax, a compiled programming language, implemented entirely in AHK
Replies: 38
Views: 6558

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

Go to advanced search