• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Launch Excel From Illustrator Script

Explorer ,
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

282

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

Community Expert , Mar 09, 2022 Mar 09, 2022

[JS] Windows

 

Try

 

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

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

f.execute();

 

 

 

 

Votes

Translate

Translate
Adobe
LEGEND ,
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

Votes

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
Community Expert ,
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();

 

 

 

 

Votes

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