Code for performing a simple "get http" request. | Intech Studio
💬 general Grid

Code for performing a simple "get http" request.

Demetrisag
Demetrisag · · 6 replies

Basically I use automation blocks in premiere and I can create scripts which then I can use to trigger automation blocks to perform the script with local get http commands. I know there is a way to trigger them with autohotkey by assigning a keyboard shortcut to them or making an *.ahk file I can execute and it will trigger it.

But I am looking for a way to type like a simple code in the code block to do the same. E.g I made a script that will move my text to the right and another that will move my text to the left. So I want to use a knob that when I turn left will trigger one script and when I turn to right will trigger another script.

I don't know much about lua scripting or even scripting in general but I am confident there is something simple I could just write to trigger a "get http" command.

Example text of my http command is

http://localhost:7741/runAutomationBlocksScript?filePath=C:\Users\demet\Documents\Automation%20Blocks%20Pr%20Library\guassian%20blur.xml 1

Replies (6)

kkerti kkerti ·

Cool project! Please wait ~1-2 weeks until we release with the next Editor version the revamped package manager system. It has been a second class citizen, more of a POC for a long time, but we are ready to wrap up a long development time with the next release.

kkerti kkerti ·

With the package manager you will be able to sideload small nodejs (js) apps in Editor, which can communicate back and forth with the modules and third party software using APIs, websockets or just http. All subject to the developer's needs.

kkerti kkerti ·

The project has no documentation - we are working on that right now -, but a documented sample project will be available alongside this release.

Demetrisag Demetrisag ·

Oh! that sounds exciting and a bit Chinese to me! 😦 I have some great ideas from time to time but not the knoweldge to execute them! but anyway if that means with the next release I can do what I need then perfect! But I am still counting on you to tell me how!

Demetrisag Demetrisag ·

@user is this functionality available yet in the newest versions?

Discord

View on Discord

This post is from the Intech Studio Discord community.

Open thread →