Variable to javascript


bambid

New Member
Joined
Sep 13, 2018
Messages
1
Reaction score
0
Hello everybody
I have a small problem, I try to pass a text variable which I create in the automator to a javascript (also in the automator). But I can not get over the variable.
I already tried the following:
Code:
function run(input, parameters) {
        var myAmasysProdNr = input[0];
        }
Thank you very much for your help.
Best regards bambid
 
Ad

Advertisements

Cory Cooper

Moderator
Joined
May 19, 2004
Messages
6,457
Reaction score
224
Hello and welcome.

Sorry, but I am not very well-versed in Automator/JavaScript. Maybe the folks over at MacScripter would be able to help out.

Let us know if they provide a solution.

C
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top