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

無法正確解析在 #Include 的檔案路徑中的 %A_UserName% #358

Closed
nperovic opened this issue Aug 10, 2023 · 4 comments
Closed

無法正確解析在 #Include 的檔案路徑中的 %A_UserName% #358

nperovic opened this issue Aug 10, 2023 · 4 comments

Comments

@nperovic
Copy link

image
在 VSCODE 中提示錯誤,但 ahk 實際上可以正確解析,文檔中也有說明可以使用 A_UserName

@fade2gray
Copy link

Double quotes needed, maybe? - #Include "C:\Users\%A_UserName%\OneDrive\Lib_script.ahk"

@nperovic
Copy link
Author

Double quotes needed, maybe? - #Include "C:\Users\%A_UserName%\OneDrive\Lib_script.ahk"

Unfortunately, it doesn't help.

@fade2gray
Copy link

#Include "C:\Users\" A_UserName "\OneDrive\Lib_script.ahk" ?
#Include "C:\Users\" . A_UserName . "\OneDrive\Lib_script.ahk" ?

@nperovic
Copy link
Author

#Include "C:\Users\" A_UserName "\OneDrive\Lib_script.ahk" ? #Include "C:\Users\" . A_UserName . "\OneDrive\Lib_script.ahk" ?

image

thqby added a commit that referenced this issue Aug 10, 2023
@thqby thqby closed this as completed Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants