Skip to main content
Adirai Maji
Inspiring
November 15, 2020
Question

[Scripting] How to hide Windows Cmd prompt when using system.callSystem() ....????

  • November 15, 2020
  • 2 replies
  • 1205 views

Hi,When I try to use system.callSystem to use my cmd prompt in windows, It popsup the black cmd prompt. I don't want to see it. Any possible way to avoid it?

This topic has been closed for replies.

2 replies

Justin Taylor-Hyper Brew
Community Expert
Community Expert
November 17, 2020

What are you trying to do via command prompt / system.callSystem() ?

Adirai Maji
Inspiring
November 18, 2020

I'm trying to download a text file with curl cmd.

Justin Taylor-Hyper Brew
Community Expert
Community Expert
November 18, 2020

It only support http:// link right? But my json file is in git repo.Which give us https:// Link

 


Darn, yea looks like it has that limitation. You can achieve this with the Socket() object, but last I tried I wasn't able to figure it out as there's next to zero documentation on this. Here's a few examples to get you started:

https://extendscript.docsforadobe.dev/external-communication/socket-object.html

Mylenium
Legend
November 15, 2020

That's entirely up to the parameters of invoking the command line/ Windows Scripting Host/ Power Shell itself and has nothing to do with AE. Check the Windows docs. The best option is likely to create a specific batch file or link and execute this instead of directly addressing the receiver app.

 

Mylenium