LUA script: Global table 'Kontakt' is empty (nil value)

1st attempt to work with Visual Studio and Kontakt LUA scripts.
I managed to launch Kontakt 8 from VS Run Task(*) and then I run the first lua script from the LUA API tutorial.
As you can see in the screenshot below, the 'Hello World" command is printed.
Yet, the Kontakt global object is empty.
This means that API falied to load the table?
What did I do wrong? Or what else do I need to do?
(*) In tasks.json, I replaced all instances of "Kontakt 7" with "Kontakt 8". I have KONTAKT 8 but not KONTAKT 7. I also enabled 'Developer Features" from Kontakt Options. I suppose that so far, I made no mistake.
Comments
-
II have already post a question here which received no answer. I expand the question now.
LUA scripts that produce result on the "Rack area" can be run from KONTAKT (by F11).
Same scripts fail on Creator tools as well as the VS code environment (previous post below).
The problem is the same: Global tables Filesystem and Kontakt remain empty, nil, do not receive data from Kontakt.
Any ideas what causes the problem on my system?
0 -
Please do NOT open duplicate discussions on same topic ! Your duplicate thread has been merged here.
If need be then 'bump' the thread by adding an update as done here.
You can check lesson 10 here to see if there is something to pick up that will help you.
You can also try joining the KSP Discord server and ask there , though you most likely are required to work hard yourself before asking for handouts : Please see Additional resources here.
Community Code of Conduct - Please read before posting : Keep It Tidy .Don’t cross-post the same thing in multiple topics.
0
Categories
- All Categories
- 19 Welcome
- 1.6K Hangout
- 65 NI News
- 840 Tech Talks
- 4.3K Native Access
- 17.2K Komplete
- 2.1K Komplete General
- 4.5K Komplete Kontrol
- 6K Kontakt
- 1.6K Reaktor
- 391 Battery 4
- 879 Guitar Rig & FX
- 443 Massive X & Synths
- 1.4K Other Software & Hardware
- 6K Maschine
- 7.7K Traktor
- 7.7K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators