AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

is it possible to include compiled scripts?

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
philz



Joined: 05 Jun 2007
Posts: 89
Location: USA

PostPosted: Thu Aug 14, 2008 8:09 pm    Post subject: is it possible to include compiled scripts? Reply with quote

I wrote a test script, and compiled it. Here was it's code.
Code:
test() {
   msgbox WELL WHAT DO YA KNOW
}


Then I wrote a second script and referenced it using the #include statement.

As I had expected, it didn't work. Would it be possible, and if so how, to do something like this. (i imagine not) and even if it could I would imagine it would be using dllcall to make it work. this is nice to know but I've written too many scripts which reference this one to make it worth while.
Back to top
View user's profile Send private message Send e-mail
Krogdor



Joined: 18 Apr 2008
Posts: 1390
Location: The Interwebs

PostPosted: Thu Aug 14, 2008 8:11 pm    Post subject: Re: is it possible to include compiled scripts? Reply with quote

philz wrote:
Would it be possible, and if so how, to do something like this. (i imagine not)

You imagine correctly.

Quote:
and even if it could I would imagine it would be using dllcall to make it work.

... DllCall is for .dll files.
dll ≠ exe
Back to top
View user's profile Send private message AIM Address
Hezzu



Joined: 08 Aug 2008
Posts: 117
Location: Raahe, Finland

PostPosted: Thu Aug 14, 2008 8:12 pm    Post subject: Reply with quote

I use #install for compiled scripts

But hey don't listen to me
_________________
Hezzu - excuse the english!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Krogdor



Joined: 18 Apr 2008
Posts: 1390
Location: The Interwebs

PostPosted: Thu Aug 14, 2008 8:15 pm    Post subject: Reply with quote

Hezzu wrote:
I use #install for compiled scripts


Question
There is no command #Install. Do you mean FileInstall?
Back to top
View user's profile Send private message AIM Address
Hezzu



Joined: 08 Aug 2008
Posts: 117
Location: Raahe, Finland

PostPosted: Thu Aug 14, 2008 8:17 pm    Post subject: Reply with quote

That's right yes

You got to forgive me I'm tired because of school
_________________
Hezzu - excuse the english!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group