Thank you! works perfectly now! saved me the hassle of passing it into AHK to bypass this. very much appreciated!
Best posts made by Irfan Khan
-
RE: I need to be able to pass '&' in a URL but this is disallowed?
-
RE: Integromat connect keeps breaking
@Russ looks like its been stable! thank you!
Latest posts made by Irfan Khan
-
RE: windows installation with token built in?
Doh. looks like my token.tkn had a line break in it. oops.
it all works fine now thank you
-
RE: windows installation with token built in?
Thank you. I got the script to add the tkn and copy the commands i want and create the cfg.but when i run the installer after the script the app fails to launch.it loads into the tray, but its non-functional. looking at the debug log i see: (redacted computer idand user folder)My mistake, my token.tkn had a line break in it that broke things. fixed that and it all works.
Checking if the 6xxxxxxxxxxxxxxxxxxxx computer exists. Error while checking whether computer exists in your account. TypeError: The header content contains invalid characters at ClientRequest.OutgoingMessage.setHeader (_http_outgoing.js:346:11) at new ClientRequest (_http_client.js:85:14) at Object.exports.request (http.js:31:10) at Object.exports.request (https.js:199:15) at Request.start (C:\Users\xxxx\AppData\Local\TRIGGERcmdAgent\app-1.0.25\resources\app\node_modules\request\request.js:751:32) at Request.end (C:\Users\xxxx\AppData\Local\TRIGGERcmdAgent\app-1.0.25\resources\app\node_modules\request\request.js:1505:10) at end (C:\Users\xxxx\AppData\Local\TRIGGERcmdAgent\app-1.0.25\resources\app\node_modules\request\request.js:564:14) at Immediate.<anonymous> (C:\Users\xxxx\AppData\Local\TRIGGERcmdAgent\app-1.0.25\resources\app\node_modules\request\request.js:578:7) at runCallback (timers.js:574:20) at tryOnImmediate (timers.js:554:5)
-
RE: windows installation with token built in?
@Russ yes im running it in windows batch. that would be great
-
RE: windows installation with token built in?
ok i see i can get a computer list from /computer/list.
so i will have to:
1- create the computer via API
2- get the computer id via api
3- save the id to a computerid.cfg file
4- copy over the tkn
5- copy over the json file to copy commands
6- run the installerand then on launch it should automatically attach to the computer i named, with commands already added.
id prefer to be able to skip 1/2/3 and just copy the tkn and json and let it create a new computer itsself.. and then on the portal id simply rename it manually for my automations.. but it seems that i cannot install with just the tkn and json in the folder... the application fails to launch correctly. if i have all 3 files it will install ad run preconfigured... but not without the cfg file.
-
RE: windows installation with token built in?
I dont know if im misunderstanding .. but the computerid.cfg would have to be generated during an install, correct?
I can copy the tkn and json, and can create the computers with an API call...
are you saying create the computer in the API first, and then copy that computer ID into the cfg file?
so id pre-create the .TRIGGERcmdData folder, populate with the 3 files, and then run the installer?
can i pull the computer id based on name via API? that way the script can look for a specific computer name, pull the id, and save it to the cfg file before the installer runs?
-
windows installation with token built in?
is there a way to install with the token preconfigured so i can have an easier deployment? eg can the token be passed via cmd line to run the installer ? Its not a huge deal but id rather distribute a USB stick and have someone just double click a bat file.
edit: ideally with a pre-configured command as well. I really only need it to launch a browser remotely but id like to not have to manually configure it on each computer
-
RE: Integromat connect keeps breaking
@Russ looks like its been stable! thank you!
-
RE: Integromat connect keeps breaking
@Russ seems like it takes a 1-4 hours to fail. I dont have a good estimate on it since its not in production use yet so there are large gaps in usage
-
RE: Integromat connect keeps breaking
happened again just now... connection needed re-authorized
-
RE: Integromat connect keeps breaking
Thanks. Several times i had to re-authorize. It works at first, then breaks. then i go into the connections list of Integromat and re-authorize, and it works again. but then at random times the authorization breaks again.