• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
0

Good execution of an automatic script, the recording is done, but the files remain the same

Community Beginner ,
Nov 05, 2022 Nov 05, 2022

Copy link to clipboard

Copied

Hi there,
I created an automatic script to apply a color gradient to svg files in the same folder, but once the automation is executed and I open my files which normally must have taken the new color, they are still like before.
I don't understand because there is no error when running my script, even if it's fast, I can see the color change well, the save is in the right place as well. Does anyone have an idea of ā€‹ā€‹what can prevent the changes from being correctly saved?
Thank you in advance for your assistance.

-----------------------------------------------------------------

Bonjour Ć  tous,
J'ai crĆ©ee un script automatique pour appliquer un dĆ©gradĆ© de couleur Ć  des fichiers svg d'un mĆŖme dossier, mais une fois l'automatisme exĆ©cutĆ© et que j'ouvre mes fichiers qui normalement doivent avoir pris la nouvelle couleur, ils sont toujours comme avant.
Je ne comprends pas car il n'y a aucune erreur lors de l'exĆ©cution de mon script, mĆŖme si c'est rapide, je vois bien le changement de couleur, l'enregistrement se fait au bon endroit Ć©galement. Est-ce que quelqu'un aurait une idĆ©e de ce qui peut empĆŖcher que les changements soient correctement enregistrĆ©s ?
Merci d'avance de votre aide.

 

Virginy.

TOPICS
Feature request , Scripting

Views

202

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 Beginner , Nov 06, 2022 Nov 06, 2022

Hi @pixxxelschubser and thank you for your answer.
I finally ended up finding what was wrong in my script, it was the action of selecting the element to modify: I was doing it with the selection tools and therefore it was not taken into account in my script. I noticed it because I redid my script by making the selection via the menu at the top : "Selection" then "All on the active workbench", and it works fine now, my color change is well applied.
Regards,
Virginy

Votes

Translate

Translate
Adobe
Community Expert ,
Nov 05, 2022 Nov 05, 2022

Copy link to clipboard

Copied

Hi @VB44 

That would be pure speculation, as we neither know your script and your folder hierarchy, nor do we have a sample file available. Sorry.

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 Beginner ,
Nov 06, 2022 Nov 06, 2022

Copy link to clipboard

Copied

Hi @pixxxelschubser and thank you for your answer.
I finally ended up finding what was wrong in my script, it was the action of selecting the element to modify: I was doing it with the selection tools and therefore it was not taken into account in my script. I noticed it because I redid my script by making the selection via the menu at the top : "Selection" then "All on the active workbench", and it works fine now, my color change is well applied.
Regards,
Virginy

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 ,
Nov 06, 2022 Nov 06, 2022

Copy link to clipboard

Copied

Hi VB44, just out of curiosity, is there a Scripts panel in the Window menu? (assuming you're using the French Install).

 

by your comments I'm almost positive you're referring to Actions, I was wondering if Actions translate to Scripts in the French version. Scripts are a totally separate thing in the English version.

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 Beginner ,
Nov 06, 2022 Nov 06, 2022

Copy link to clipboard

Copied

Hi @CarlosCanto ,
I don't understand the difference you mean, but i share some screen shots that may will help you see.. In fact in french we have script and action both in the same sentence... šŸ™‚

VB44_0-1667807491331.png

VB44_1-1667807549283.png

 

Hope this will help.
Regards,
Virginy

 

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 ,
Nov 07, 2022 Nov 07, 2022

Copy link to clipboard

Copied

LATEST

Hello Virginy, thanks for the screenshots.

In the English version Scripts d'actions are just Actions

 

ActionsMenu.jpg

 

Scripts are found in the File Menu

scriptsMenu.jpg

 

thanks, it's all clear now

Carlos

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