Compatible with CS5?
Hi, I hope someone can help, the following script does not work in CS5?
============================================================
Generated by CoffeeScript 1.7.1
var LayerRenamer, layerRenamer;
LayerRenamer = (function() {}
function LayerRenamer() {}
If (app.activeDocument.selection.length > 0) {}
This.Replacements = [guest ("what would you change?", "Eg: source"), fast ("what would you like to replace it with?", "Eg: replace")];
this.renameLayers (app.activeDocument.selection);
} else {}
Alert ("select the layers you want to rename.");
}
}
LayerRenamer.prototype.renameLayers = {function (layers)}
layer var name, _i, _len, _results;
_Results = [];
for (_i = 0, _len = layers.length; _i < _len; _i ++) {}
layer = Layer [_i];
layer = layer.parent;
name = layer.name;
_Results.push (layer.name = name.replace (this.replacements [0], this.replacements [1]));
}
_Results return;
};
Return LayerRenamer;
})();
layerRenamer = new LayerRenamer();
This gives a shot and see if it works for you.
var doc = app.activeDocument, lays = []; for(var i = 0; i < doc.layers.length; i++){ lays.push(doc.layers[i].name); } var w = new Window('dialog',"Layer Name Editor"); var list = w.add('group'); list.orientation = "Column"; var head = list.add('group'); head.alignment = "left"; var p = head.add('statictext', undefined, "Prefix"); var n = head.add('statictext', [0,0,165,20], " Layer Name"); var s = head.add('statictext', undefined, "Suffix"); var pre = [], nam = [], suf = []; for(var i = 0; i < lays.length; i++){ newLine(i,"item" + i); } function newLine(num,item){ item = list.add('group'); item.alignment = "left"; pre[num] = item.add('checkbox', undefined,""); nam[num] = item.add('edittext', [0,0,200,20], lays[i]); nam[num].characters = 50; suf[num] = item.add('checkbox', undefined, ""); } var sep1 = list.add("panel"); sep1.alignment = ["fill","fill"]; sep1.minimumSize.height = sep1.maximumSize.height = 2; var prefixt = list.add('statictext', undefined, "Prefix to add to checked layers"); var prefix = list.add('edittext', [0,0,250,20], ""); var sep2 = list.add("panel"); sep2.alignment = ["fill","fill"]; sep2.minimumSize.height = sep2.maximumSize.height = 2; var prefixt = list.add('statictext', undefined, "Suffix to add to checked layers"); var suffix = list.add('edittext', [0,0,250,20], ""); var sep3 = list.add("panel"); sep3.alignment = ["fill","fill"]; sep3.minimumSize.height = sep3.maximumSize.height = 2; var ButtonGroup = w.add("group"); ButtonGroup.margins = [0,-10,0,-8]; ButtonGroup.alignment = "right"; var go = ButtonGroup.add ("button", undefined, "OK"); var stop = ButtonGroup.add ("button", undefined, "Cancel"); stop.onClick = function(){ w.close(); } go.onClick = function(){ var validatePre = false, validateSuf = false, validateMessage = ""; for(var i = 0; i < lays.length; i++){ if(pre[i].value == true && prefix.text == ""){validatePre = true} if(suf[i].value == true && suffix.text == ""){validateSuf = true} } if(validatePre == true){validateMessage = "Layers have been marked for Prefix, but no Prefix entered\n"} if(validateSuf == true){validateMessage = validateMessage + "Layers have been marked for Suffix, but no Suffix entered"} if(validateMessage != ""){ alert(validateMessage); }else{ w.close(); goTime(); } } w.show(); function goTime(){ for(var i = 0; i < lays.length; i++){ var na = nam[i].text; var pr = ""; var su = ""; if(pre[i].value == true){pr = prefix.text + " - "} if(suf[i].value == true){su = " - " + suffix.text} doc.layers[i].name = pr + na + su; } }
Tags: Illustrator
Similar Questions
-
Is there a plugin raw for Nikon D7200 compatible with CS5?
Is there a plugin raw for Nikon D7200 compatible with CS5?
Hi kariranch
You must use the DNG Converter and convert the files to DNG. This device requires camera raw version 9.0 or higher see cameras supported in Camera Raw
Download link for Dng converter Adobe - Adobe Camera Raw and DNG Converter: for Macintosh: Adobe DNG Converter 9.1.1
Adobe - Adobe Camera Raw and DNG Converter: for Windows: Adobe DNG Converter 9.1.1
Concerning
~ Assani
-
Get a new Mac Mini OS 10.10.3. Looking to buy InDesign or CC, which is also compatible with the old Creative Suite 5.5 on network.
Your only regular channel options are now a perpetual license for CS6, who will never see another update, or a subscription to CC (which also includes the CS6). You can open files CS5.5, either, but you need to export IDML pourUtilisateurs CS5.5 open. Collaboration with others using different version is a bad heavy workflow problems...
-
Backward compatible with CS5.5 CS6?
I have a bunch of machines, some with CS4, some with CS5.5, editing and I am looking for CS6.
I now use the demo, but the sequences and even the transcoded files may not be transferable to the PR CS5.5.
Is there a backwards compatibility at all?
Thank you.
wolv-
In fact - you can open the project first Pro CS6 in first Pro CS5.5
How?
Open your project file in any text editor and change-> Version = '25' to-> Version = '24' (4th place)
After that - you can open it.
Make a copy of your project for backup.
Hope this helps you.
BR!
Nik
-
Is there a version of ACR which is compatible with CS5 eos7dmk2 and canon?
Any help would be appreciated
Hi musaffa00,
The latest version of Camera Raw for CS5 would not support the Canon EOS 7 d Mark 2 camera, however, you can use the DNG Converter, and you will be able to use the files.
DNG Converter for Windows: Adobe - Adobe Camera Raw and DNG Converter: for Windows: Adobe DNG Converter 9.2
DNG Converter for MAC: Adobe - Adobe Camera Raw and DNG Converter: for Macintosh: Adobe DNG Converter 9.2
Kind regards
Tanuj
-
What is Camera Raw compatible with CS5 7.1? [was: question]
Camera raw plugin 7.1 is able to be installed in photoshop CS5?
If you try to import files of Raw files from a camera that requires Raw 7.1 or later, then your other option is to convert Raw to DNG files using the free Adobe's DNG Converter
http://www.Adobe.com/products/Photoshop/extend.displayTab2.html
You can then change the DNG in CS5.
-
How can I make DreamWeaver compatible with version CS5 CS6?
I've already finished my work at the CS6, but my teacher wants to submit us under the CS5 it will be compatible with what is on his computer. How can I do this?
There is nothing to do. Whatever it is created to CS6 will be compatible with CS5 unless you used some CS6 features only.
Submit as-is and see if your teacher has problems with it.
-
Who is the newest version of Mac OS compatible with Adobe Creative Suite 5? I need something more current than OS 7.5 without loss of functionality of the Adobe products...
CS5 is designed for Mac OS X 10.5 or 10.6. Anything beyond that would not be tested. You're on your own. Your software is out of use and will never be updated.
-
Photoshop 64-bit CS5.1 is compatible with Windows 10?
Please could you tell me if Photoshop 64-bit CS5.1 is compatible with Windows 10?
Please see the Photoshop and Lightroom with Windows 10 compatibility
Photoshop cs5 is not officially tested on Windows 10, but if you upgrade Windows 8 it should work ideally.
If you can try to install only once, if there is no problem to use it, let know us.
Kind regards
Assani
-
Hello
Currently, I use Photoshop CS5 with Windows 7 Pro 64-bit operating system. I love the CS5 and need not upgrade to CC products. I also think to buy a new PC with Windows 10 64-bit OS. What is my Photoshop CS5 works with Windows 10?
In addition, if CS5 is compatible with Win 10, must I first uninstall CS5 on my current computer before you install on the new machine, or can I just use my CS5 disk to install directly on the new PC with Win 10?
Thank you
Richard
No need to uninstall CS 5 old machine. it is very very important to turn off activation in the menu helps to record the number of activations.
All individual applications can be activated on 2 machines. Regarding the number of activations for more details, you can check with the help of Adobe once and get confirmation.
Hmm, what about compatibility... cannot say it is completely compatible, but you can give a try. most of the cases, it works fine, but we cannot guarantee or say how it will work smoothly or can be installed on Windows 10 without any problem.
If you face any problems with the installation disc, you can download at the bottom of the link:
Download Adobe Creative Suite 5 products
If you get an error, we are here to help you 24 * 7
-
Adobe Audition CS5.5 is compatible with Windows 8.1? Installation freezes almost immediately.
Hello
Please pass by Adobe Creative Suite and Windows 8 "Caveat Lector .
You can also read the FAQ | Adobe Creative Suite for compatibility queries.
Kind regards
Sheena
-
Windows compatible with adobe cs5 10
Windows compatible with adobe cs5 10
Moving to download, installation, setting up
Hello
Compatibility can be a problem because BONE is the last, but the product is very old.
You can go through CS5 Master Collection Windows 10 compatibility
Kind regards
Sheena
-
Hello - I have a laptop Windows 8 and am under Photoshop CS3. NIK software is no longer compatible with CS3 - can I upgrade to CS4 or CS5? If so, what is the price? Thank you.
CS5 is no longer sold and as far as I know, CS3 is too old to qualify for the CS6 upgrade price
But call to find out - Link to buy CS6 via phone http://www.adobe.com/products/cs6.html
Or consider buying Photoshop Elements - Photoshop elements Forum http://forums.adobe.com/community/photoshop_elements
-
What is the higher for Mac OS which is compatible with the Creative Suite CS5 Master programs?
What is the higher for Mac OS which is compatible with the Creative Suite CS5 Master programs? I use OS 10.6.8.
I think you're at max that he has been tested with:
Adobe - Creative Suite 5 Master Collection: System requirements
Later versions may or may not work.
-
What adobe acrobat is compatible with indesign cs5 and has preflight tools, like to check the density of the ink?
You posted in an old, dead, forum. But now, I found your message... Acrobat is not compatible with InDesign, they did not need to work together. You should NEVER use always distill with InDesign, export. Acrobat Pro preflight tools has, and the only version you can buy is Acrobat Pro DC.
Maybe you are looking for
-
How can I cancle Sweet IM of my firefox I want normal
Thank you very much
-
AnalogWafeform Timing.StartTime is the same for the different records continues mode!
We read samples from the Commission NI 6132 DAQmx interface in continuous mode, i.e. inputTask.Timing.ConfigureSampleClock (string. Empty, 1000000, SampleClockActiveEdge.Falling, SampleQuantityMode.ContinuousSamples, 1000); We read the analog wavefor
-
Bit Torrent keeps windows from sleep
Hi, so I finally found the culprit. It's bittorrent keeps my pc mode 'sleep'. Here's the powercfg-file of queries: Microsoft Windows [Version 6.1.7601]Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Windows\System32>Powercfg-demand
-
Signature blackBerry Smartphones Blackberry 8900 email settings
Hi again, I noticed that when I send an e-mail to another computer on my 8900 handheld, the signature is all over the place (not online). For example... Handheld Kurt Cobain The guitarist 111-222-3344 America On the computer of the 8900 sector Kurt C
-
How di import a Word Document into my movie