CS6 scripting bug / Problème scripts d'action CS6

Bonjour, suite à mon passage de la CS4 à la CS6, mes scripts d'action ne marchent plus.
Ce script par exemple :
Hi folks, going from CS4 to CS6 made my action scripts bug, especially those using pathfinder :
divide / ungroup / default /  trim / ungroup / copy / paste in front
Ces actions effectuées une à une donnent un résultat normal mais conduisent donnent une série de messages d'erreur une fois enregistrées dans un script :
These actions do work normally when i perform them separetly but fail as soon as i record it in a script. Does anyone has an idea?
C'est la même chose avec ou sans fond, avec ou sans contour. Ce même script fonctionne très bien sur CS4. Les raccourcis clavier sont les mêmes.
HELLLLPPPPP!!!!!

Bonjour, n'ayant jamais été confronté au problème, je suis allé regarder si la question avait été traitée en anglais.
Mylenium a proposé une explication sur l'accès à certains ports du système.
En fait pour lire une vidéo, Photoshop a besoin de créer un accès à ce fichier, en interne, si ces ports sont inaccessibles (bloqués par une appli tierce, antivirus, firewall (ou pare-feu) ou occupés par d'autres applications), cela peut échouer.

Similar Messages

  • The longstanding scripts-in-actions bug

    In case it is true that with the announcement of the new version the beta testers are relieved of the non-disclosure-agreement (as I think I read somewhere):
    Can anybody tell yet if Scripts in Actions will finally be maintained after restarting the appplication in Illustrator CS6?

    I can’t remember for sure if I filed a report, but I have added my support and started a thread in the Feature Request section.
    http://forums.adobe.com/thread/729118?tstart=30
    http://forums.adobe.com/message/3872075#3872075
    The Adobe team should have been aware of this for a looong time now in any case, because the issue has persisted at least since CS, if I remember correctly.

  • Scripting Illustrator actions, incorporating calls to Excel

    Hello all, I need some help...
    I am building a series of logos — based on word strings —  using Illustrator CS4 with a combination of Actions, but also retrieving the word string from an Excel file.
    Normally for one or two iterations of the process, I would not hassle with a script, but this is a mind-numbing repetitive task, and I have to make 6,000 logos!! Seems the ideal use for a script.
    We have tried to work with ExtendScript Toolkit (ESTK) but we can't get our heads around how to make it do certain things, and I can't find anyone who really knows how to use ESTK correctly.
    I have a MAC, so the script has to be written in Java Script or Apple Script.
    Here's what I need to do:
    Execute Action: Open a Master Illustrator doc. This doc is already configured with art board, pre-defined type box (Area Type Optioned), Charater Styles, Drop Shadow parameters set. <pause Action>
    Run Script: Retrieve the word string from a cell in Excel worksheet (or CSV??). Some are single words, first letter capped. Some are two to four words Camel Cased. Example: "DinnerPartiestm". There are two additional charaters "tm" at the end of the word string that will be acted upon (remember these two characters for item 7 below)
    Run Script: Place this WordString into the predefined type box in the Illustrator Master doc. That is, in Illustrator, "select" the type box so the cursor is at first position and place the word string — copy from Excel & paste into Illustrator? <pause Script>
    Execute Action: Apply character style 1— font with point size, letter spacing, stroke and colour (It just happens to be red). Example: DinnerPartiestm  <pause Action>
    Run Script: Select all caps in word string. Example: DinnerPartiestm <pause Script>
    Execute Action: Apply character style 2 — Caps Only (selected) — New point size, baseline offset. Example: DinnerPartiestm <pause Action>
    Run Script: Select last two letters of word string. Example: DinnerPartiestm <pause Script>
    Execute Action: Apply character style 3 — last two letters only (selected) — New point size, change colour, baseline offset. Example: DinnerPartiestm <pause Action>
    Run Script: Select text box. <pause Script>
    Execute Action: Apply Stylize > Drop Shadow — On contents of text box, preset DS parameters in either Appearence panel or Effect menu.
    Execute Action: File > Save As .ai document. <at Save As dialog, pause action>
    Run Script: Retrieve file name from Excel and place in Save As dialog (copy & paste?). In next column in Excel doc, same row, is a SEO-friendly file name. Example: word string is "DinnerParties"; file name (next column) is "logo-dinner-parties"
    Run Script: Select folder to save the .ai doc into. Example: Folder is "Logos AI". <pause Script>
    Execute Action: Complete Save As. Example: in Folder "Logos AI" now we have the file "logo-dinner-parties.ai"
    Execute Action [assumes that the Saved As document — logo-dinner-parties.ai — is now the active one in Illustrator]: Save for Web & Devices. Preset to PNG24/Transparent. Correct file name will NOT be in Save field. <at Save dialog, pause action>
    Run Script: Repeat retrieval process to get same file name from Excel.
    Run Script: Select new folder to save the .png doc into. Example: Folder  is "Logos PNG". <pause Script>
    Execute Action: Complete Save for Web. Example: in Folder "Logos PNG" now  we have the file "logo-dinner-parties.png"
    Execute Action: Close
    Repeat steps 1 though 19 until all word strings processed: Script has to know to go to next word string (next row) in Excel doc.
    This is a tricky one, but there's got to be a way to automate the process... otherwise I'll go crazy doing this manually!!
    IS THERE ANYBODY OUT THERE WHO CAN HELP?
    Thanking you in advance for any assistance.
    All the best.

    IS THERE ANYBODY OUT THERE WHO CAN HELP?
    Depends on what you mean by "help." Are you asking someone to do the whole thing for you (would require more detail), or do you intend to do it yourself, but are stuck on something? (You say you "tried to work with ESTK" and "can't find anyone who really knows how to use ESTK correctly"; but you don't say specifically what you're struggling with in ESTK.)
    ...doc is already configured with art board, pre-defined type box (Area Type Optioned), Charater Styles, Drop Shadow parameters set.
    Much of what can be done with any approach depends largely upon what Appearances and/or Effects are involved, and where. You imply that you want all of the "logo" to be contained in a single textFrame object. But Drop Shadow Effect cannot be applied at the character level, so it can't be included in a Character Style.
    So if you don't want all the text to have the same drop shadow, you will be involving multiple textFrame objects. That will lead to the complication of having to position the two textFrames relative to each other, depending on their dimensions after the varying text is inserted.
    Retrieve the word string from a cell in Excel worksheet (or CSV??)
    With scripting, it would be inefficient and unnecssary to go back-and-forth to the spreadsheet to extract values one at a time. Typically, you would create an array containing the full set of values, and then iterate through the elements of the array.
    Some are single words, first letter capped. Some are two to four words Camel Cased. Example: "DinnerPartiestm".
    So you're going to need a sub-routine of some kind (in Javascript, a function) to find capital letters.
    There are two additional charaters "tm" at the end of the word string that will be acted upon...
    If this is the same in each instance, and if you are going to script this, there is no need to include it in the data.  Insert the "tm" programmatically.
    That is, in Illustrator, "select" the type box so the cursor is at first position and place the word string — copy from Excel & paste into Illustrator?
    Using script, you don't have to select the textFrame, copy, or paste in order to insert content. You would declare a variable, assign its value (from the above-mentioned array), add the variable's value as text to textFrame's content.
    Apply character style 1— font with point size, letter spacing, stroke and colour (It just happens to be red). Example: DinnerPartiestm
    Here you will run into a difficulty inherent in Illustrator's poor implementation of stroked text. You can apply a Stroke at the Character level and include that Appearance in a Character Style. But Illustrator always positions such strokes in front of the fill--something you almost never want, because it "chokes" the fills, wrecking the shape of the characters. The workaround is to Add New Stroke and position that below the Characters listing in the Appearance Palette. But script provides no access to added strokes or fills and Added Strokes cannot be applied at the character level.
    Select all caps in word string. Example: DinnerPartiestm
    Illustrator cannot select discontiguous text strings. Again, script does not have to select objects in order to change their properties.
    Apply character style 2 — Caps Only (selected) — New point size, baseline offset. Example: DinnerPartiestm
    Apply character style 3 — last two letters only (selected) — New point size, change colour, baseline offset. Example: DinnerPartiestm
    The applyTo method of the CharacterStyle object. Or, just set the size and baselineShift properties of the characterAttributes property of the textRange directly.
    Apply Stylize > Drop Shadow — On contents of text box
    Drop Shadow Effect cannot be applied to the contents (character level) of a textFrame--only to the textFrame object itself.
    My very limited understanding of ESTK is that it is a scripting tool for  use in Illustrator.
    It's a script text editor included with the Creative Suite. You can use it to build scripts for any of the CS products (or entirely other purposes, for that matter). Or, you can choose to not use it at all. A Javascript is just a text file. Tools like ESTK add conveniences, references, etc., geared toward scripting.
    So, I'm only acting on the word string....
    But I am also not a coder...
    Which is why I would look into simpler already-built methods before jumping into a tedious solution scripted for Illustrator. For example: Many, if not most, AI users are familiar with InDesign. InDesign provides a proper dataMerge feature that can handle ordinary tab-delimited text. It's handling of strokes on text is correct, unlike Illustrator. If you set it up accordingly, it can create all the separate pages for you.
    You would:
    1. Draw the fixed graphic in Illustrator.
    2. Place the Illustrator graphic on InD's master page.
    3. Set and style the text objects. Insert DataMerge tags.
    4. Import the data and run the Merge function.
    InD builds individual pages for each row of the data. You're done. Export to PDF. InD and Acrobat also have their own scripting models. Either one can handle the specific naming convention, if really needed.
    Again, it depends on what exactly is "special" about the text object(s) you are manipulating with variable content. For example, if you're using an AI-specific Warp effect, you'd be back to Illustrator.
    Anyway, you want a paying gig?
    I do some freelance work as time permits and interest strikes, but I'm not cheap, and that's not why I frequent these forums.
    Scripting your solution entirely in AI may very well be possible, but whoever does it will need to see the specific objects, styles, etc., involved to avoid unnecessary guessing and time-consuming round-tripping. Why don't you post an image and/or an AI file?
    JET

  • Vanishing scripts in actions bug continued

    When did this first raise its ugly head? Was it CS3?
    Use 'insert menu item' to add a script to an action. Quit and relaunch Illustrator. The action is still there but the script item isn't.
    Still not fixed in CS5.
    MHP

    As far as I know, it's always been like this, despite repeated pleas to fix this in the Feature Request forum.
    What I want to know, but have been too busy to ask, is whether the Layer Action bug which just appeared in CS4 has been fixed in CS5. Actions which have any Layer steps used to work fine, but in CS4 they too are lost after every relaunch. I'm long since sick and tired of having to delete and re-load my master Action set every time Illustrator crashes.
    Mike D.

  • Probléme bar menu action script 3 fichier.as

    I have a bar menu that appears when you open a file main.as.
    Now I see that on the demo cd that you get with Adobe, there is a box to select the target file that works with.
    My problem is that I have the flash cs3 pro and I'm not in my target box menu bar should be how to activate it I thank you in advance Mr Philippe Tassin

    please don't cross-post.  and this is the as3 forum.

  • Scripts and Actions

    Hi, when you run a script using an action after you restart illustrator the script is missing from the action and it does not work??
    Is this a bug? is there a fix or way round this problem?
    Cheers Chris

    Hi everyone!
    Does anyone have a syntax to trigger actions in illustrator? I did a research all modal objects of illustrator but I haven't figure it out yet! If someone can give me a hint how to write this syntax.
    Sincerely,
    X_GDesign

  • Is there a script or action to delete all the alpha/channels?

    Hi
    when i work on an image , i create lots of alpha channels , is there a script/action to delete all with 1 click?
    i run ps cs6 64bit , windows7 64 bit
    i found a short script but it's amazing slow
    thanks

    Thanks Kelly
    i miss you one thing delete all 4 color samples
    i use notepad++ and synwrite
    something like delete color samples can be done with the plugin
    to delete color samples i use this
    #target photoshop
    app.bringToFront();
    var theImage = app.activeDocument;
    // flatten the layers
    // theImage.flatten();
    // delete alphas
    // theImage.channels.removeAll();
    // delete paths
    // theImage.pathItems.removeAll();
    // delete layercomps
    // theImage.layerComps.removeAll();
    // delete color samplers
    theImage.colorSamplers.removeAll();
    // clear guides

  • CS5 - Running Script with Action. Not saving problem

    I am trying to setup an action that runs a script using the "Insert menu item" command.
    It all works perfectly but when I quit Illustrator and re0open it, the action has disappeared.
    Is this a bug or am i doing something wrong?

    Additional info (no solution):
    Could have something to do with the order Illustrator registers available scripts as menu commands and checking validity of action 'menu commands'.
    Try this:
    - Look in the File/Scripts menu and note down a scriptname in there;
    - Exit Illustrator;
    - Start Illustrator
    - Create a new action
    - In the Action Panel flyout menu chose 'Insert Menu Item...' - a Find dialog should open
    - In the textbox enter the scriptname you dotted down and press Find
    It tells you 'No menu item matching that name was found.'
    - Press OK, then Cancel;
    - Goto File/Scripts but don't select a script, close the menu
    now again
    - Create a new action
    - In the Action Panel flyout menu chose 'Insert Menu Item...' - a Find dialog should open
    - In the textbox enter the scriptname you dotted down and press Find
    Now it could be found..
    So it seems that when Illustrator starts:
    Initializes without registering the available scripts as available menuitems
    When the actions are loaded and in it is a Menu Command, it checks if that command is actually available - if not it deletes the action item
    After accessing the scriptmenu the scripts are indeed registered as available menuitems..
    So now if they would only register the scriptnames before loading the actions when starting Illustrator it would be solved. Or of course disable checking action commands for validity.
    Sure hope they solve this soon as I can imagine it affects a lot of people.

  • Adding scripts to Actions

    I am involved in a lot of works of handling thousands of photos (digital/scanned, B/W as well as color, of different ages: I have to treat images from '30s) and in my workflow (Bridge-Camera Raw-PSHP) I have a lot of repetitive actions to take.
    One very delicate action is saving, in different moments of the workflow, images with different filenames extensions (having the same root of the initial image filename) in different directories; most of the times, this occurs at the end of an Action that I have recorded for specific job.
    I would like to have a "script" that automates the renaming of the image file and writes it in the right directory, instead of typing the right extension and selecting the right directory by hand: beyond the waste of time, the real problem is that an error will have devastating effects.
    I have tried to accomplish this with the standard PSHP Action facilities, but I haven't been able to.
    I have an acceptable knowledge of Visual Basic, while I don't know anything about Scripting, and therefore the best thing would be writing imyself in VBA a function that handles the different situations for saving images with the right filename extensions in the right directory, producing a .exe that I would activate (it should be possible, but how ?) at the end of diffrent Actions: where do I get the filename of the image and the directory where it comes from ?
    BTW, I have the Design Premium Creative Suite 3 in an XP SP3 always updated.
    Great thanks to the ones that can help me: I need it.
    Mauro (Italy)

    As a start could you please try this script.
    Open  "Adobe ExtendScript Toolkit 2" (This is installed with Photoshop) and should be available in Start Programs.
    Copy and paste this code into an ExtendScript window.
    Then File- Save to C:/Program Files/Adobe/Adobe Photoshop CS3/Presets/Scripts folder
    Close Photoshop if open then re-open Photoshop
    Load a test picture for Definitive then run the script and see if it does what you require.
    To run the script File - Scripts and select the script.
    If it does you can add the script to the end of your action by selecting  "Inset Ment Item" in the action palette and File - Scripts and select the script.
    #target photoshop
    function main(){
    if(!documents.length){
    alert("You do not have a document open!");
    return;
    var newPath = Folder(decodeURI(activeDocument.path) +"/" +"Definitive"); //This is the target folder
    if(!newPath.exists){
    var result = Window.confirm (decodeURI(newPath) +"\nDoes Not Exist\nWould you like me to create it?", true, "Folder does Not Exist");
    if(!result) return;
    newPath.create();
    var newName = decodeURI(activeDocument.name).match(/(.*)\.[^\.]+$/)[1];
    newName = newName +"-DEF.tif"; //The suffix with tiff format
    var saveFile = File(decodeURI(newPath)+"/"+newName);
    if(saveFile.exists){
    var result = Window.confirm("This File Exits!\nWould You Like It Overwritten?", true, "File Exists");
    if(!result) return;
    saveFile.remove();
    SaveTIFF(saveFile);
    main();
    function SaveTIFF(saveFile){
    tiffSaveOptions = new TiffSaveOptions();
    tiffSaveOptions.embedColorProfile = true;
    tiffSaveOptions.alphaChannels = true;
    tiffSaveOptions.imageCompression = TIFFEncoding.TIFFLZW;
    activeDocument.saveAs(saveFile, tiffSaveOptions, true, Extension.LOWERCASE);

  • Script or Action to convert the .Indd File into PDF???

    Hello All,
    I am in need of a Action or Script to convert the InDesign CS4 Files to PDF Format.
    I already experiment some action in Illustrator which helps me a lot to reduce my process time.
    so i need a same kind of action or script to convert the Batch of InDesign files to PDF...
    Can anyone help me in this...

    Hi Gowdhaman
    You may want to download these example scripts:
    http://wwwimages.adobe.com/www.adobe.com/products/indesign/scripting/downloads/indesign_cs 4_scripting_guide_scripts.zip
    There, you'll find e.g. the ExportPDFWithOptions.jsx script.
    Best regards,
    - Peder

  • Running photoshop script or action from Bridge

    My general question is: is there a way to select a number of files in Bridge, then run a script on all of them? I'm interested in this regardless of whether it really answers my more specific question.
    My more specific need is: I want to be able to convert raw files to jpeg, using automatic camera raw settings, by selecting the files in Bridge and running a single script.
    Thanks,
    Mike

    I have a slight change to this question.
    I make changes to photos in Camera RAW (exposure, white bal, etc.)and save the changes.
    I have an action that I run from Bridge by selecting individual photos, running an action from Bridge using Batch. The action opens each .CR2 selected photo, resizes it, and saves as a jpg in another folder.
    For some reason, the saved photos are not reflecting the changes I made in Camera Raw.
    I constructed the action by recording the opening from Bridge into Camera Raw, and then clicking Open Image.
    The action applies all the custom settings I used in the initial image when recording the action to each photo.
    Any suggestions on how to solve the problem.
    Thanks for any help.
    Steve

  • Photoshop scripts within Actions

    Ok so I am currently trying to run a photoshop script within an action specifically Image processor.
    I can include the script by importing menu item although evyerthing i run the action i have to set up the script aka choose folder locations etc.
    My question.. is there a way to set the defaults so that the action automatically runs the script?
    Please help its driving me mad!

    Not sure what you mean exactly, but that the dialog is raised when you trigger Image Processor seems as expected.
    Why an Action anyway and not a proper Script for the whole operation?

  • CS4 Photoshop Scripts and Actions not working

    Hi All,
    I just upgraded my suite to CS4 from CS3.  Now all my actions and default scripts such as "Load Files to Photoshop Layers" from Photoshop & Bridge are not working.  I've tried remaking my actions and renaming files but no luck.  I've tried deleting preferences but no luck as well.  Im stuck.
    Here are my machine specs:
    Model Name:    Mac Pro
      Model Identifier:    MacPro1,1
      Processor Name:    Dual-Core Intel Xeon
      Processor Speed:    2 GHz
      Number Of Processors:    2
      Total Number Of Cores:    4
      L2 Cache (per processor):    4 MB
      Memory:    9 GB
      Bus Speed:    1.33 GHz
      Boot ROM Version:    MP11.005C.B08
      SMC Version (system):    1.7f10
    Any ideas?

    Hello,
    Its actually doesn't do anything.  Once you figure out that PS is not responding then you try to do it again -  this comes up "photoshop is currently busy with another task.  Would you like to queue this process?"

  • Execute java script in action listener before action

    Hi, I have af:commandButton on my page , in its actionListener method I call java script
    which displays af:popup with two buttons, I want to execute af:commandButton's action method with some program logic in depend of which button in the af:popup is clicked. The problem is that action method is execute before my java script to show the af:popup.

    Hi,
    the reason is that the JavaScript that you execute from the ActionListener is not executed before the page (or page section) is rendered, which is in the lifecycle is then after the action method is invoked.
    However, I am observing on this forum that users think of JavaScript as a silver bullet, whereas it should really be seen as second choice only. If you want to execute logic in respect to which button a user clicks, then the code should be assigned to the button and not handled by some JavaScript. If - in combination with popups - you need to use JavaScript, then have a look at using the client listener for this (af:clientListener). Idealy you use the server side af:showPopupBehavior.
    As a rule of thumb: always try to go with best practices and not with the easy catch
    Frank

  • Problems scripting "analysis" actions in Soundtrack

    Hi, I'm trying to create an Soundtrack script (AppleScript) to scan an audio file I send from Final Cut Pro to Soundtrack for Clicks and Pops and Power Line Hum, then fix all the problems and close the project.
    I am new to AppleScript and have not had much success, but I believe it is possible as the commands are listed in the Soundtrack AppleScript Dictionary. I have also tried creating an AppleScript directly from Soundtrack, but the tests from the analysis actions don't show up in the actions pane, so the AppleScript does not save them.
    Any help would be greatly appreciated!
    Thanks!
    iMac 1GHz G4 17" Widescreen   Mac OS X (10.4.7)   768MB RAM, SuperDrive

    Nobody has any ideas?

Maybe you are looking for