AI CS2 - Asignar un atajo (shortcut) a un script

Lo que quiero hacer es asignar un atajo a un script que tengo llamado "colocar fecha", entro por el menu edit/keyboardShortcuts/menu comands/scripts y alli solo me deja asignar un comando para "other scripts" que por defecto esta F12 el cual me lleva a la carpeta del programa en donde estan todos los scripts para escoger manualmente el que quiero, lo cual no tiene sentido.
Ya lo intente grabando un action con el script que quiero y asignandole un atajo, por ejemplo comand+shift+F15 pero tampoco funciona..
Alguna idea por ahi de porque no funciona...

Cet imprimeur semble utiliser des procédés qui datent du siècle dernier…!
Je ne connais pas suffisament Illustrator et JavaScript pour répondre directement.
Mais si on part du principe que tes fichiers .AI sont des fichiers hybrides (voir : http://abracadabrapdf.net/articles.php?lng=fr&pg=961 ) il devient possible d'automatiser l'opération sans une seule ligne de script en utilisant Acrobat et ses puissantes fonctions de traitement par lot pour exporter en .PS

Similar Messages

  • How to add a keyboard shortcut to the Scripts... menu in Photoshop CC 2014? [was: Mune Bar Shortcut]

    Is it possible to add a shortcut to the Scripts... menu item in Photoshop CC 2014
    OSX10.9

    Do you mean add a keyboard shortcut to one of the scripts listed under File>Scripts?
    Look at Edit>Keyboard Shortcuts in photoshop.
    http://helpx.adobe.com/photoshop/using/customizing-keyboard-shortcuts.html

  • Shortcut for a Script

    How do you create a shortcut for a script? I'm not referring to a keyboard shortcut.

    Hi John,
    I am referring to the physical location of the script.
    Here are some explanations of the shortcut:
    1. (From Dave Saunders)
    Consider Using Aliased Sub-folders
    Having scripts located physically inside the application folder can be somewhat inconvenient, particularly if you are a scripter, working on the scripts themselves, rather than just using them as tools. But even script users might be frustrated if they forget that the scripts are there and for some reason re-install InDesign, obliterating the Scripts folder in the process.
    While you could use an alias of the whole Scripts folder to work around this issue, I have found it better to work with aliased sub-folders. This allows me to keep my scripts in folders inside my Documents folder, while for some projects, I have a Scripts folder associated with the project itself for custom scripts that apply to just that project.
    2. (From page 4 of the InDesign CS3 Scripting Tutorial)
    You also can put aliases/shortcuts to scripts (or to folders containing scripts) in the Scripts Panel folder, and they will appear in the Scripts panel.
    3. Save the script as a text file with the file extension ".js" and put itor an alias/shortcut to itin the Scripts folder in the Presets folder inside your InDesign folder. Run the script from the Scripts palette.

  • Possible to set shortcut for file scripts custom script ?

    i have some custom scripts in file > scripts. i'd like to set a shortcut key for them, but you can't do that thru edit > keyboard shortcuts because the custom ones don't show up, only "other script F12" shows up.
    is there a way to set a shortcut to execute a custom script? i am using Ai CS3 version 13.0.2
    some work arounds i tried that didn't seem to work:
    - setting the script as an action - didn't work, the script does a bunch of stuff that can't be solved by actions
    - setting an action and inserting a menu item, then setting a shortcut to run the action - doesn't help because menu item (the script) gets disassocated from the action every time you shut down Ai. sometimes it disassociates itself. tried to save the actions and reload them, but the scripts were still disassociated
    thanks

    As it sounds like you have already discovered, you should be able to define an Action with but one InsertMenuCommand step in it. That menu command would be the selection of your script from the File Menu.
    However, that functionality has been broken for four full versions now. The Menu Command step goes vacant after quitting and re-launching Illustrator.
    I keep an Action in my Actions palette titled CurrentScript. I can at least, at the beginning of a work session in which I know I will need to call a particular script repeatedly, re-do the Insert Menu Item step and have it survive during the work session. (It will, of course, be gone if I quit & relauch.)
    If Actions could reliably call scripts from the File menu, one could do some very cool things. Many operations in the standard UI are not available via the scripting model, and of course vice-versa. Simply being able to reliably call scripts as individual steps of an Action would open the door for elaborate automations that perform both scripted functions and those available in the UI.
    But alas, users have been complaining about this bug for four versions now.
    I think it is conceivable that one could build a Javascript that employs the ScriptUI functionality, and have that script run automatically at launch. That script could simply be a "dashboard" palette from which to call other scripts. But one should not have to go to such ridiculous lengths to work around a bug that has gone unaddressed for so long.
    JET

  • Is it possible to have a keyboard shortcut run a script with CS6?

    I see there is an option for it to go to "other scripts" with a keyboard shortcut, but that really doesn't help much. I want it to play a specific script that is already loaded. Thanks in advance!!

    I'm working on something very similar right now.
    Written in AHK.
    so win only sorry Macsters...
    Scans a folder of your scripts and displays them in a panel (see above)
    you can click any one like a button.
    or you can eg. 3 enter.
    Panel can be dragged to where ever you want it.
    Still playing with the finishing touches and will post the finished result once I am done.
    That will be next year some time, as I am finished work for the year.
    Run, % "[Full path to]\Illustrator.exe " Scriptlocation JSName
    this is my AHK line to run the script.
    any reason for the cmd.exe section

  • Custom shortcut to .vbs script has other .vbs files pinning to it as 'Recent' items (Windows 7)

    Hi guys,
    More of a nuisance this, rather than a major problem, but one I'd like to take care of.
    I have a split Access DB on a network drive, where the BE and a 'master' copy of the FE reside. I have multiple users, so for ease of distribution, I have a .bat file (also on the network) which I can distribute to each user when they want to start
    using the DB. All the .bat file does is copy a shortcut to the users desktop and Start menu. The shortcut points to a .vbs file on the network.
    The .vbs file checks the users local machine, creates some temporary folders if necessary, makes a local copy of the FE and launches it. All nice and neat, with a custom icon on the shortcut so my DB application looks quite professional, and is easy
    to find and launch.
    However - I noticed the other day that, if I open another .vbs file (completely unrelated to my DB), Windows automatically pins it to the 'Recent Items' list on my custom shortcut on the Start menu. Simply because it is another .vbs file. I don't want any
    'Recent Items' to be associated with this shortcut; it should only ever point to my DB and nothing else. I am worried my users will get confused when this random list of scripts grows out of it.
    Is there anything I can do to prevent this happening on the end users' machines? Bear in mind - I don't want to block
    all 'Recent Items' on their Start Menus - just for this one custom shortcut?
    The .bat file (to create the shortcut) is below...
    Thanks
    Al
    echo.
    echo Deleting Old Links...
    del "%UserDrive%\apps\xp\desktop\MyDB.lnk"
    del "%userprofile%\Start Menu\Programs\MyDB.lnk"
    echo.
    echo Creating new link to database...
    echo.
    copy "%NetworkDrive%\Release\MyDB.lnk" "%UserDrive%\apps\xp\desktop\"
    copy "%NetworkDrive%\Release\MyDB.lnk" "%userprofile%\Start Menu\Programs\"

    The Visual Studio forum for VB is for the .Net version.
    For VBS use the scripting guys forum
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Success
    Cor

  • Keyboard shortcuts to user-scripts don't persist

    Dear Adobe,
    theres a behavior of indesign thats driving me crazy. Every now and then i am forced to  repair and re-assign all my custom keyboard shortcuts to my user-scripts. That's lot of work.
    This is the case when i had to flush the indesign preferences (most often in order to repair a disfunctioning palette). Indesign will then re-index the scripts with new internal unique identifiers and the keyboard shortcuts won't match the old unique identifiers anymore and get shuffled into chaos.
    Also, this is preventing me from sharing my preferences over severall computers via a networked folder containing the preferences and shortcuts.
    IT ALMOST WORKS! I can sync all my prefernces, colorsettings, workspaces etc. via Dropbox on 3 different computers.   But the shuffling of user-script unique identifiers keeps it from working for the keyboard shortcuts.
    Please consider to find a solution to this in your next patch.
    Is there any way to influence the assigned unique identifiers for the scripts to sync them on different computers?
    kind regards,
    Stephan Möbius

    Ah right - that is very messy indeed.
    The only direct route you have with Adobe is the Wishform https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    But unless it gets flagged by a number of people with the same problem and it's causing havoc then I don't think it will be prioritised as a fix.
    You can also post this on the InDesign wishlist forum http://indesign.uservoice.com/forums/114445-adobe-indesign-wishlist
    I don't really see where else you can add a wishlist to.
    I think perhaps visit the InDesign Scripting Forum and see if anyone can russle up  a script that saves your shortcuts a bit better.
    http://forums.adobe.com/community/indesign/indesign_scripting

  • Flicker removal - Shortcut key or script

    Hello! - Is there anyway to make a 'flicker removal' shortcut key?  I am not opposed to editing the *.kys file if need be.  I would really like a script to do this but from what I see it is not possible at the moment but I am hoping I am wrong.  Any help is appreciated.

    Just a thought....
    First of all, I want to say that my camera seems to hold the exposure in manual mode pretty well. Perhaps if you held your mirror up out of the way? (I use a mirrorless.)
    I don't know why the exposure setting would change.
    However, you could try picking a spot on one image in Photoshop and get the exact RGB setting for that spot. Then in Camera RAW you should be able to adjust the exposure to get the same exact RGB setting for that exact spot in each image. A little time consuming perhaps, but I would think that most of the images would already be the same. Or, if not, they might be off the same amount for quite a few frames in a row? If that was the case, you could sync a lot of them together so that what you did to one applied to them all.
    Of course that falls apart as the sun changes position across the sky. Or if a cloud goes by.
    Think of it like rotoscoping. A necessary evil?

  • [CS2][JS]Access indesign files using a script

    Scripters help.
    Can javascript access files then look for a character style then write its content to a text file as well as its page number where it was located?

    Hi charles darwin,
    Try something like this:
    //ExtractByCharacterStyle.jsx
    //An InDesign CS3/CS4 JavaScript
    //Extracts all of the text in all open documents
    //by a specified character style name, then writes
    //the text and the page number to a tab/return delimited
    //text file.
    main();
    function main(){
    if(app.documents.length != 0){
      var myDocumentArray = new Array;
      //Make a list of open document names; we'll use this later to refer to the documents.
      for(var myCounter = 0; myCounter < app.documents.length; myCounter ++){
       //If the document doesn't contain any text, don't add it to the list.
       if(app.documents.item(myCounter).stories.length != 0){
        myDocumentArray.push(app.documents.item(myCounter).name);
      if(myDocumentArray.length != 0){
       myDisplayDialog(myDocumentArray);
    function myDisplayDialog(myDocumentArray){
    var myDialog = app.dialogs.add({name:"Extract Text"});
    var myCharacterStyleNames = app.documents.item(0).characterStyles.everyItem().name;
    with(myDialog.dialogColumns.add()){
      with(dialogRows.add()){
       with(dialogColumns.add()){
        staticTexts.add({staticLabel:"Character Style:"});
       with(dialogColumns.add()){
        var myCharacterStyleDropdown = dropdowns.add({stringList:myCharacterStyleNames, selectedIndex:0});
    var myResult = myDialog.show();
    if(myResult == true){
      var myCharacterStyleName = myCharacterStyleNames[myCharacterStyleDropdown.selectedIndex];
      myDialog.destroy();
      myProcessDocuments(myDocumentArray, myCharacterStyleName);
    else{
      myDialog.destroy();
    function myProcessDocuments(myDocumentArray, myCharacterStyleName){
    var myDocument;
    var myArray = new Array;
    for(var myCounter = 0; myCounter < myDocumentArray.length; myCounter++){
      myDocument = app.documents.item(myDocumentArray[myCounter]);
      try{
       myDocument.characterStyles.item("myCharacterStyle").name;
       myExtractText(myDocument, myCharacterStyleName, myTextFile, myArray);
      catch (myError){
       alert("Something bad happened.");
    //Now sort the entire text file by page number.
    var myArray = myArray.sort(mySort);
    var myTextFile = File.saveDialog("Save text file as");
    //If the user clicked the Cancel button, the result is null; do nothing.
    if(myTextFile != null){
      //Open the file with write access.
      myTextFile.open("w");
      for(var myCounter = 0; myCounter < myArray.length; myCounter++){
       myTextFile.writeln(myArray[myCounter][0] + "\t" + myArray[myCounter][1]);
      myTextFile.close();
    //This sort feature sorts text references by their page.
    function mySort(a, b){
    if(a[1] > b[1]){
      return 1;
    else{
      if(a[1] <  b[1]){
       return -1
      else{
       //If the two entries are on the same page, sort alphabetically.
       if(a[0] >  b[0]){
        return 1
       else{
        return -1;
    function myExtractText(myDocument, myCharacterStyleName, myTextFile, myArray){
    var myFoundItem, myTempArray;
    var myCharacterStyle = myDocument.characterStyles.item(myCharacterStyleName);
    app.findTextPreferences = NothingEnum.nothing;
    app.changeTextPreferences = NothingEnum.nothing;
    app.findTextPreferences.appliedCharacterStyle = myCharacterStyle;
    var myFoundItems = myDocument.findText();
    if(myFoundItems.length != 0){
      for(var myCounter = 0; myCounter < myFoundItems.length; myCounter++){
       myTempArray = new Array;
       myString = myFoundItems[myCounter].contents;
       myPage = myFindParentPage(myFoundItems[myCounter].parentTextFrames[0]);
       myTempArray.push(myString);
       myTempArray.push(myPage);
       myArray.push(myTempArray);
    function myFindParentPage(myParent){
    switch(myParent.constructor.name){
      case "Page":
       myParentName = myParent.name;
       break;
      case "Spread":
       myParentName = "Pasteboard";
       break;
      case "Application":
       myParentName = "";
       break;
      case "Character":
       myFindParentPage(myParent.parentTextFrames[0]);
       break;
      default:
       myFindParentPage(myParent.parent);
       break;
    return myParentName;
    Thanks,
    Ole

  • Shortcut for Scripts... Menu Bar Item

    Is it possible to add a shortcut to the Scripts... menu item in Photoshop CC 2014?
    I have not been able to figure this out.
    OSX10.9

    I place a shortcut to my Photoshop Scripts tree into each Photoshop version Preset\Scripts folder to link all version to my Photoshop scripts.   CS2,  CS6 x32 and x64, CC x32 and x64 and CC 2014 all six Photoshop version use use the same script files.
    For short cut keys  I have to edit each Photoshop version keyboard Shortcuts or Create Photoshop Actions that use my scripts and assign shortcut key to these actions. While the Actions may sound stupid. They are all in a single Action set. Its much easier to load that action set into each version of Photoshop then to edit each Photoshop version shortcut keys and adding all the shortcuts or maintain Names sets of saved Photoshop shortcuts for both Script and other personal Photoshop shortcut keys. Well it is for my feeble mind. If Photoshop versions were more compatible one would not need so many versions installed....

  • Using CS2 script in Indesign CS4

    Hello,
    I am very sorry if this point has been already treated but I have not yet found the solution.
    I have Applescripts running on CS2, and I would like that these scripts could work either under CS2 and CS4 without any change
    I know there is a possibility of choosing the version but I can't find the code corresponding to applescript.
    Anymore I would be happy to find the applescript reference for Indesign CS4
    Thank you for your help
    Jean

    Please move this thread to Indesign forum, http://forums.adobe.com/community/indesign.

  • JS: Using CS2 Scripts with CS3

    We're getting ready to (finally) upgrade from InDesign CS2 to CS3. We use several scripts (Javascript) regularly. I know quite a bit changed with the object model in CS3. I've seen a couple of threads here where Olav mentions "script versioning" that allows you to reference the old object model, but I haven't been able to find HOW to do that.
    I want to upgrade all of our scripts to the CS3 model, but that will take some time, as I am no expert. Is there a way to use our CS2 scripts just as they are for now (until I'm able to get them all updated)?
    Thanks,
    Lisa

    That script won't see any styles that are in style groups in CS3 -- is that the problem?
    Or it could be that the effect of simply reasserting the style in CS3 is different from CS/CS2. I don't remember.
    Dave

  • RE: Is it possible to set 2 commands to 1 keyboard shortcut

    I am wondering if it is possible to set  2 commands to 1 keyboard shortcut.
    I have a script that saves copies of InDesign pages to the desktop. I would love to set the keyboard shortcut for this script to be the same as the Save shortcut (Command S), which saves the InDesign pages into our content management system. However, I can't seem to get this to work.
    Any suggestions?

    No, you cannot get a kbsc to do two things at the same time.
    But…you can set it run a script.
    Bob

  • Setting mouse cursor from script (JS, CS2, CS3)

    I'm working on scripts for Mac users. What I'd like to know is if there is a way to change the mouse pointer from within a script. Can one do this?
    The reason I need to do this is that when a script runs the cursor changes to the spinning beach ball. I display a dialog asking for information and may users think the script has hung InDesign because of the beach ball. People also don't know where the hotspot is on the beach ball so it's hard to click things accurately.
    Any tips?

    I have often noticed that spinning beachball and found it distasteful when working with a dialog, but there's not much choice, I'm afraid. ScriptUI might be a way out in CS3, but not in CS2. If you want the same script to work in both, then I think you're stuck with the beachball.
    Dave

  • Is it possible to make a keyboard shortcut for a specific color for fonts?

    I'm a novice InDesign user and these forums have been a great resource, so thank you for your time.
    I'm doing a very complicated "text art" project and I'd like to be able to change text colors right from the keyboard.
    In Word, one is able to make a keyboard shortcut (to an unused key combination) that would allow you to change text to white, for example and another combination to change it to black, etc.
    I'd love to be able to do that in InDesign without having to mouse over to the color swatch or over to a paragraph style with the text color set.
    Again, thank you in advance!

    For anyone else who has this problem - I actually found out an easy workaround.
    There's another forum that addresses the NumPad issue for MacBooks (http://forums.adobe.com/thread/324960) and I did a modified version for character styles v. paragraph styles per the final comment by Kaj-Ettore.
    ==
    (1) Open text edit and copy the below script (for me it was changing the text to white):
    try{app.selection[0].applyCharacterStyle
    (app.documents[0].characterStyles.item(1),true)}catch(e){}
    Watch the number '(1)' in brackets on the last line: This is the Style number according to the Styles listed in the 'Character Styles' Panel of InDesign (following "[None]").
    Per my setup, "White" is 1 and "Black" is 2.
    SEE SCREENSHOT:
    Decrement the style you'd like to be applied via this script from the styles listed in the InDesign-applet 'paragraph styles'.
    *Note - This Workaround only works for specific Documents – since InDesign links Styles with document templates.
    (2)  Save the Script to:
    %InDesign_Install_Folder%\Scripts\Scripts Panel\Samples\JavaScript\Style(%nmb%).jsx
    or name the file as you like. You'll have to assign a keyboard-shortcut to this and other files later, so it is wise to choose a common and memorable syntax for naming, e. g. numbers or style-names. (I used Style(White).jsx)
    (3)  Repeat this step for every style you'd like to be applicable via a keyboard shortcut...
    This is my "Black" script:
    try{app.selection[0].applyCharacterStyle
    (app.documents[0].characterStyles.item(2),true)}catch(e){}
    Saved as: Style(Black).jsx
    Assign a Shortcut to the Script
    (1)  Open InDesign > Preferences > Keyboard Shortcuts > %YourSetOfShortcuts%
    (2)  Select 'Scripts'
    (3)  Choose the first script you've written, e. g. 'style(body).jsx'
    (4)  Create Shortcuts for Standard- and Text-Environment
    (5)  Repeat for any script you've written
    (6)  Done.
    This worked perfectly for me and I can now use ONE keyboard shortcut (albeit 3 simultaneous keys) to change from black text to white text.

Maybe you are looking for

  • Javascript PopUp Page Passing Values

    Hi, I have a page which I am redirecting to from a report link column. The Column Link... URL is as follows: javascript:popupURL('f?p=&APP_ID.:8:&SESSION.::&DEBUG.::P8_SOURCE:#EXPRESSION#' ); My problem is that some values in #EXPRESSION# contain com

  • Error when updating status in bill of exchange

    Hello everyone, Our customer tried to move a bill of exchange status to "Failed" we get the following error : Reconciliation difference must be zero before reconciling [[Message 3821-8]] I then tried using the Reconciliation button but it pops up a m

  • OID hardcoded userid/password

    I have an application that enables users to self-register and upon registration stores their information within OID. In order to create users in oid I have to gain access to OID with a predefined userid/password. This is hardcoded in a java class. Al

  • NMac Pro 6core D500 problems with screen refresh: 10.9.3 warning!

    Avoid 10.9.3 on the Mac Pro 6 core, D500. Problem with screen refresh using Motion soon after updating OSX from Mac Pro late 2013 version of 10.9.2. I tried my Asus HDMI at all resolutions but to no avial. The screen juddered like it was Windows 95 w

  • Need to update Safari 10.1.3 on OS 10.4.11

    Is it possible to update my current version of Safari? I extensively use MS Hotmail, and since they have updated HOTMAIL to OUTLOOK, the display looks really crappy.  They suggest a update to Safari, but since my MACBOOK is a 2006 model running OS 10