How to get Script Content? Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User
Posts: 407
Joined: 26 Jun 2017, 08:12

How to get Script Content?

01 Jan 2019, 20:25

Hi,

Lets say "A.ahk" contains the below code:

msgbox, A

Lets say "B.ahk" contains the below code:

#Include, A.ahk

msgbox, B

Is there any built-in variable or function or whatever that returns "B" script Content as shown below?

msgbox, A

msgbox, B
User
Posts: 407
Joined: 26 Jun 2017, 08:12

Re: How to get Script Content?  Topic is solved

01 Jan 2019, 21:12

Well, I realized that "FileRead" suits better for what i need than "#Include"

Anyway, if there is a workaround for "#Include", share here!

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], macromint, peter_ahk and 340 guests