Copy link to clipboard
Copied
This is a long shot, but I am looking for a way to launch the Excel application (not a web browser) from an action in Illustrator. I've tried to launch it throw Javascript, Powershell, and through a Powershell through Javascript, but I can't get it to work.
Here is the file path: Q:\Graphics\Plate_Layouts\Plate Actions\PlatesExcel_V3.7.xlsm
Any help is appreciated!
[JS] Windows
Try
//var f = File (" yourPath/yourFile ");
var f = File ("~/desktop/test.xlsm");
f.execute();
Copy link to clipboard
Copied
And what code are you actually using? What system? What is the actual physical layout of the drives? What version of Excel? It seems that you have a few misunderstandings here about a) how Windows handles this stuff and how b) it may require extra provisions in your code like converting the URI to a system path or vice versa. either way, without knowing the code and the other details nobody can tell you much about why this may not work.
Mylenium
Copy link to clipboard
Copied
[JS] Windows
Try
//var f = File (" yourPath/yourFile ");
var f = File ("~/desktop/test.xlsm");
f.execute();