Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with include #168

Closed
derz00 opened this Issue Mar 28, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@derz00
Copy link

derz00 commented Mar 28, 2018

Here's the 2 include lines in my script.

image

And here's the files of the two functions, which are in the main script's directory.

functions.zip

When I run the main script from AHK Studio, I get a AHK error--"#Include file ... cannot be opened". When I run the script from the folder, it works fine. Any ideas what's wrong? I had thought it might be a difference between 32 and 64 bit, because Studio runs itself with 32 bit, but my custom Run plugin uses the default (64).

@maestrith

This comment has been minimized.

Copy link
Owner

maestrith commented Mar 28, 2018

Try to use Alt+M Refresh Current Project and see if that helps.

@derz00

This comment has been minimized.

Copy link
Author

derz00 commented Mar 28, 2018

This is getting scary. I guess it's not a problem with Studio. But something does not seem right. The only place anymore that I can run this script, with the function files in the directory as described, is by running it from Windows Explorer. And a script I have that starts my AHK scripts also gets it going. But copying those lines from the start up script and running them does not work. Any other way does not work, as far as I can tell. I'm almost doubting my own brain. Sorry for bothering you.

@maestrith

This comment has been minimized.

Copy link
Owner

maestrith commented Mar 28, 2018

Zip up the entire script and send it to me. I'll see if it works the same on my system.

@derz00

This comment has been minimized.

Copy link
Author

derz00 commented Apr 2, 2018

Ain't gonna bother at the moment :) It isn't the best designed project just now. Sometime I'll try to improve it and then see what happens.

@derz00 derz00 closed this Apr 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.