Launch Excel From Illustrator Script

Community Beginner ,
Mar 08, 2022 Mar 08, 2022

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!

TOPICS
Scripting

Views

80

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , Mar 09, 2022 Mar 09, 2022
[JS] Windows Try //var f = File (" yourPath/yourFile  "); var f = File ("~/desktop/test.xlsm"); f.execute();

Likes

Translate

Translate
Adobe Community Professional ,
Mar 08, 2022 Mar 08, 2022

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 09, 2022 Mar 09, 2022

Copy link to clipboard

Copied

LATEST

[JS] Windows

 

Try

 

//var f = File (" yourPath/yourFile  ");

var f = File ("~/desktop/test.xlsm");

f.execute();

 

 

 

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines