cannot open .\BlackShark\BlackShark.lua : No such file or directory

Get help with using AutoHotkey and its commands and hotkeys
Fang
Posts: 3
Joined: 30 Jan 2016, 12:38

cannot open .\BlackShark\BlackShark.lua : No such file or directory

18 May 2016, 11:44

Getting this error: cannot open .\BlackShark\BlackShark.lua : No such file or directory
What's causing this? Is it the --console statement? How do I correct it?
Thanks
Steve

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.


Run, "C:\Program Files (x86)\VoiceAttack\VoiceAttack.exe"
sleep 3000

Run, "C:\Program Files (x86)\Abbequerque Inc\FaceTrackNoIR\FaceTrackNoIR.exe"
sleep 3000


Run "C:\Program Files (x86)\Eagle Dynamics\Ka-50\bin\stable\Launcher.exe" --console [, "C:\Program Files (x86)\Eagle Dynamics\Ka-50", ]

return
Shadowpheonix
Posts: 1259
Joined: 16 Apr 2015, 09:41

Re: cannot open .\BlackShark\BlackShark.lua : No such file or directory

18 May 2016, 16:08

Run "C:\Program Files (x86)\Eagle Dynamics\Ka-50\bin\stable\Launcher.exe" --console [, "C:\Program Files (x86)\Eagle Dynamics\Ka-50", ] should not have the [ and ] characters in it, and the working directory you are trying to specify is being ignored as a result. Instead, the line should read Run "C:\Program Files (x86)\Eagle Dynamics\Ka-50\bin\stable\Launcher.exe" --console, C:\Program Files (x86)\Eagle Dynamics\Ka-50.


Edit: Removed quotes from "C:\Program Files (x86)\Eagle Dynamics\Ka-50", per the post from Lexikos.
Last edited by Shadowpheonix on 20 May 2016, 09:23, edited 1 time in total.
need4speed
Posts: 132
Joined: 22 Apr 2016, 06:50

Re: cannot open .\BlackShark\BlackShark.lua : No such file or directory

19 May 2016, 07:08

"Launcher.exe and DCS.exe should be launched from the root of DCS installation (not from bin\stable\ folder where it is)."
http://en.wiki.eagle.ru/wiki/Troublesho ... 50:general
lexikos
Posts: 7088
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: cannot open .\BlackShark\BlackShark.lua : No such file or directory

19 May 2016, 23:23

WorkingDir
The working directory for the launched item. Do not enclose the name in double quotes even if it contains spaces.

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], effel, Google [Bot], mikeyww, yagami19821223 and 51 guests