Skip to main content
Participant
July 30, 2020
Question

Error when save file with script. Adobe illustrator

  • July 30, 2020
  • 2 replies
  • 867 views

Wrote script to save file.

When try run script in Os mac all is ok, when try it on Windows write this error ( Could not write the file. an assertion has faild )

Why it happens?

This topic has been closed for replies.

2 replies

renél80416020
Inspiring
July 31, 2020

Salut!

Ce script fonctionne sur CS6 Windows 7

avec une de ces deux lignes:

var destFile = '/Users/René/Desktop';
var destFile = '~/Desktop';

Je ne sais pas comment traduire en français le mot Assertion ? (affirmation)

C'est sur le même ordinateur ?

René

 

 

 

Inventsable
Legend
July 30, 2020

What is the script? It's probably a path resolution or OS specific issue.

andrewvecAuthor
Participant
July 30, 2020

Script just save file in jpg and eps) nothing difficult

Inventsable
Legend
July 30, 2020

Impossible to debug something we can't see. Can you post what you have regardless of difficulty? Otherwise you expect us to rewrite everything from scratch instead of just pointing out the issue in your code.