schroef
Advisor
schroef
Advisor
Activity
‎Dec 20, 2019
12:12 PM
I dont see the frames being rearranged, i see the order in the layers keeps the same?
... View more
‎Dec 20, 2019
12:06 PM
I got an error when using split all. Seems there was a small issue with line 165 and 172. I fixed it by changing myTextFrames.duplicate(); > myTextFrames[i].duplicate(); and further myTextFrames.remove(); > myTextFrames[i].remove(); Here's the adjusted code /*
---------------------------------------------------------------------- --------------------------------------------
StorySplitter
---------------------------------------------------------------------- --------------------------------------------
An InDesign CS/CS2/CS3 JavaScript by FourAces
© The Final Touch 2006
Version 3.0.0
Splits the selected Story to separate Text Frames, while maintaining their contents.
---------------------------------------------------------------------- --------------------------------------------
See https://community.adobe.com/t5/indesign/please-provide-the-story-splitter-script-by-adi-ravid/td-p/5657620
Fixed #165 > changed myTextFrames.duplicate(); to myTextFrames[i].duplicate(); as well as on #172
V 3.0.1 - 20-12-2019
*/
var myScriptVer = "3.0.1";
if (app.documents.length != 0) {
var mySelection = app.activeDocument.selection;
if (mySelection.length != 0) {
myObjectType = mySelection[0].constructor.name;
if (myObjectType == "TextFrame") {
//The Interface Dialog
var myDialog = app.dialogs.add({
name: "Story Splitter v" + myScriptVer
});
with (myDialog) {
with (dialogColumns.add()) {
with (dialogRows.add()) {
with (borderPanels.add()) {
var mySplitOptions = radiobuttonGroups.add();
with (mySplitOptions) {
radiobuttonControls.add({checkedState: true, staticLabel: "Split All Frames"});
radiobuttonControls.add({staticLabel: "Split Before Selected Frame"});
radiobuttonControls.add({staticLabel: "Split After Selected Frame"});
}
}
}
with (dialogRows.add()) {
staticTexts.add({staticLabel: "© The Final Touch"});
}
}
}
var myResult = myDialog.show({name: "SplitOptions"});
if (myResult == true) {
var myStory = mySelection[0].parentStory;
if (app.version.split(".")[0] >= 5) {
var myTextFrames = myStory.textContainers;
} else {
var myTextFrames = myStory.textFrames;
}
var myStoryFramesCount = myTextFrames.length;
if (myStoryFramesCount > 1) {
for (f = 0; f < myStoryFramesCount; f++) {
if (mySelection[0] == myTextFrames) {
var myTextFrame = f;
}
}
// alert(mySelection[0]);
switch (mySplitOptions.selectedButton) {
case 0:
mySplitAll();
break;
case 1:
mySplitBefore();
break;
case 2:
mySplitAfter();
break;
}
} else {
alert("Are You Kidding Me?!\nThe Story you selected has only ONE text frame.");
}
}
} else {
alert("Wrong Selection\nYou selected the wrong type of object. Please select a Text Frame.");
}
} else {
alert("No Selection Made.\nPlease select a Story to split.");
}
} else {
alert("No Active Document Found.\nPlease open an InDesign document and select a Story to split.");
}
//-------------------------------------------------------------------- --------
function mySplitAll() {
for (i = 0; i < myStoryFramesCount; i++) {
myTextFrames[i].duplicate();
}
for (i = 0; i < myStoryFramesCount; i++) {
if (app.version.split(".")[0] >= 5) {
myTextFrames[i].remove();
} else {
myTextFrames[0].remove();
}
}
}
function mySplitBefore() {
if (mySelection[0].previousTextFrame == null) {
alert("Unable to break thread.\nThe selected Text Frame is the FIRST text frame of the thread.");
} else {
var myBfBreakFrame = mySelection[0].previousTextFrame;
var myAfBreakFrame = mySelection[0];
var myBreakStory = myBfBreakFrame.parentStory;
mySelection[0].previousTextFrame = null;
if (myBfBreakFrame.overflows == true) {
var myOversetText = myBreakStory.texts.itemByRange(myBfBreakFrame.insertionPoints[-1], myBreakStory.insertionPoints[-1]);
myOversetText.select();
app.cut();
app.select(myAfBreakFrame.insertionPoints[0]);
app.paste();
}
}
}
function mySplitAfter() {
if (mySelection[0].nextTextFrame == null) {
alert("Unable Break Thread.\nThe selected Text Frame is the LAST text frame of the thread.");
} else {
var myBfBreakFrame = mySelection[0];
var myAfBreakFrame = mySelection[0].nextTextFrame;
var myBreakStory = myBfBreakFrame.parentStory;
mySelection[0].nextTextFrame = null;
if (myBfBreakFrame.overflows == true) {
var myOversetText = myBreakStory.texts.itemByRange(myBfBreakFrame.insertionPoints[-1], myBreakStory.insertionPoints[-1]);
myOversetText.select();
app.cut();
app.select(myAfBreakFrame.insertionPoints[0]);
app.paste();
}
}
}
... View more
‎Dec 20, 2019
10:58 AM
Okay i got it fixed now by change line 165 and line 172. I noticed it was looping of the FrameCount but was trying to duplicate a total number. I added [i] and now all frame get split. Here's my adjusted version, i bumped it to 3.0.1 now /*
---------------------------------------------------------------------- --------------------------------------------
StorySplitter
---------------------------------------------------------------------- --------------------------------------------
An InDesign CS/CS2/CS3 JavaScript by FourAces
© The Final Touch 2006
Version 3.0.0
Splits the selected Story to separate Text Frames, while maintaining their contents.
---------------------------------------------------------------------- --------------------------------------------
See https://community.adobe.com/t5/indesign/please-provide-the-story-splitter-script-by-adi-ravid/td-p/5657620
Fixed #165 > changed myTextFrames.duplicate(); to myTextFrames[i].duplicate(); as well as on #172
V 3.0.1 - 20-12-2019
*/
var myScriptVer = "3.0.1";
if (app.documents.length != 0) {
var mySelection = app.activeDocument.selection;
if (mySelection.length != 0) {
myObjectType = mySelection[0].constructor.name;
if (myObjectType == "TextFrame") {
//The Interface Dialog
var myDialog = app.dialogs.add({
name: "Story Splitter v" + myScriptVer
});
with (myDialog) {
with (dialogColumns.add()) {
with (dialogRows.add()) {
with (borderPanels.add()) {
var mySplitOptions = radiobuttonGroups.add();
with (mySplitOptions) {
radiobuttonControls.add({
staticLabel: "Split All Frames",
checkedState: true
});
radiobuttonControls.add({
staticLabel: "Split Before Selected Frame"
});
radiobuttonControls.add({
staticLabel: "Split After Selected Frame"
});
}
}
}
with (dialogRows.add()) {
staticTexts.add({
staticLabel: "© The Final Touch"
});
}
}
}
var myResult = myDialog.show({
name: "SplitOptions"
});
if (myResult == true) {
var myStory = mySelection[0].parentStory;
if (app.version.split(".")[0] >= 5) {
var myTextFrames = myStory.textContainers;
} else {
var myTextFrames = myStory.textFrames;
}
var myStoryFramesCount = myTextFrames.length;
if (myStoryFramesCount > 1) {
for (f = 0; f < myStoryFramesCount; f++) {
if (mySelection[0] == myTextFrames) {
var myTextFrame = f;
}
}
// alert(mySelection[0]);
switch (mySplitOptions.selectedButton) {
case 0:
mySplitAll();
break;
case 1:
mySplitBefore();
break;
case 2:
mySplitAfter();
break;
}
} else {
alert("Are You Kidding Me?!\nThe Story you selected has only ONE text frame.");
}
}
} else {
alert("Wrong Selection\nYou selected the wrong type of object. Please select a Text Frame.");
}
} else {
alert("No Selection Made.\nPlease select a Story to split.");
}
} else {
alert("No Active Document Found.\nPlease open an InDesign document and select a Story to split.");
}
//-------------------------------------------------------------------- --------
function mySplitAll() {
for (i = 0; i < myStoryFramesCount; i++) {
myTextFrames[i].duplicate();
}
for (i = 0; i < myStoryFramesCount; i++) {
if (app.version.split(".")[0] >= 5) {
myTextFrames[i].remove();
} else {
myTextFrames[0].remove();
}
}
}
function mySplitBefore() {
if (mySelection[0].previousTextFrame == null) {
alert("Unable to break thread.\nThe selected Text Frame is the FIRST text frame of the thread.");
} else {
var myBfBreakFrame = mySelection[0].previousTextFrame;
var myAfBreakFrame = mySelection[0];
var myBreakStory = myBfBreakFrame.parentStory;
mySelection[0].previousTextFrame = null;
if (myBfBreakFrame.overflows == true) {
var myOversetText = myBreakStory.texts.itemByRange(myBfBreakFrame.insertionPoints[-1], myBreakStory.insertionPoints[-1]);
myOversetText.select();
app.cut();
app.select(myAfBreakFrame.insertionPoints[0]);
app.paste();
}
}
}
function mySplitAfter() {
if (mySelection[0].nextTextFrame == null) {
alert("Unable Break Thread.\nThe selected Text Frame is the LAST text frame of the thread.");
} else {
var myBfBreakFrame = mySelection[0];
var myAfBreakFrame = mySelection[0].nextTextFrame;
var myBreakStory = myBfBreakFrame.parentStory;
mySelection[0].nextTextFrame = null;
if (myBfBreakFrame.overflows == true) {
var myOversetText = myBreakStory.texts.itemByRange(myBfBreakFrame.insertionPoints[-1], myBreakStory.insertionPoints[-1]);
myOversetText.select();
app.cut();
app.select(myAfBreakFrame.insertionPoints[0]);
app.paste();
}
}
}
... View more
‎Dec 20, 2019
10:24 AM
@Sleem, im getting an error in indesign 2018cc It returns an error for the line 166 > myTextFrames.duplicate(); says its not a functions, error number 24 I see the variable is declared in a different function though?
... View more
‎Nov 26, 2019
11:57 AM
1 Upvote
Sorry but never seen that option to inclide ICC profiles. You can create Color Profiles but no iCC profiles
... View more
‎Nov 15, 2019
07:57 AM
@SJDes, i got those *.mrk files working again. I dove into the files and did testing removing some of the comments in them. Eventually, the file started working again. There is some issue with some of those comments in that .mrk file. Ive attached a working version of the Japanese Cropmarks http://www.filedropper.com/printermarks In the ZIP there is the Japanese version, i also added a QuarkXpress version. Not sure why, does anyone use that app? I did add the plate color to the QuarkX verion, this will show on each plate. Now looks a bit messy
... View more
‎Oct 08, 2019
01:06 PM
Yes nice and dandy, but this makes batching useless when you need JPG. You can use custom filenaming with save for web
... View more
‎Oct 08, 2019
01:00 PM
Its not working properly, even setting it low as 3 or low. Its just 100kb smaller than high. That can be right, because in web sve as this difference would be HUGE. Saves as dialog with JPEG seems broken
... View more
‎Oct 08, 2019
12:57 PM
Prblem with save for web, it cant be used with batch operations. Im trying Export As. Hope that does work.
... View more
‎Oct 08, 2019
12:52 PM
Your better off using save for Web. The save as command and using JPEG is horribly bad, it hardly makes any difference, even when setting it to low. When using Saves for Web, files will be about 60% smaller. Not sure why this is, it seems like the Saves JPEG method doesnt work properly. What i do find strange is that i read there thinking of dropping the Sve for Web command, its very old and slow. Hope they come with a good alternative, because saves as is just not good in my opinion.
... View more
‎Mar 21, 2019
06:38 PM
srishtib8795206​,, why does some admin state there that the issue is fixed while its not?? Many people still keep reporting this. I dont understand how such an imported "little" feature cant be fixed. IT completly ruins the illutrator experience i always had. Its bugging the hell out of me because it takes much more time now selecting stuff bcause i need to do 3-4 extra steps.
... View more
‎Mar 20, 2019
10:49 AM
@apelike_22. dang so easy... i was going nuts. I should do more tuts about the basics
... View more
‎Jan 25, 2019
05:06 PM
Im new to AE and to everything sort of. I have worked just a bit now and then with AE. I had the same issue, but it would not show 'Color over Life' panel at all. I just figured out that it will only show in the Effects Control panel and NOT in the layers panel. I was freaking out, search for more than a hour to find a solution...
... View more
‎Dec 17, 2018
08:55 AM
Problem is save using artboards is very buggy, works half of the time. You need to pay attention you go over all inputs each time otherwise it will still save all artboards in a single file. The script is nice but export illustrator basic PDF setting, which not includes color profile. SO thats not handy
... View more
‎Dec 11, 2018
05:29 AM
Than you end with probably wrong RGB values. When you check Pantone site you will notice that the "official" RGB values are different than when you convert from LAB to RGB. Than there's another nice Adobe "gift", each program seems to shift the LAB values a tiny bit. Well that is handy for controlled space
... View more
‎Dec 08, 2018
01:49 PM
BobbyH5280​, I'm willing to bet there's a lot of graphics people specifying Pantone spot colors on jobs without having one of those costly physical swatch books on hand. I confess, im guilty sir.... I dont have have the money to get those. I use them as a guide and then work in CMYK.
... View more
‎Dec 08, 2018
01:45 PM
Those apps should convert the same otherwise their color procedure will never be accurate. That is a big problem than
... View more
‎Dec 08, 2018
01:44 PM
@Rob, sorry but converting LAB to RGB or CMYK gives you faulty numbers according to their site and app. I noted this in the other thread as well
... View more
‎Dec 07, 2018
03:43 PM
NOw they also need to work out there faults i noticed in their books when you export them for illustrator and photoshop. Some PMS show wrong numbers or different LAB numbers in both apps
... View more
‎Dec 07, 2018
02:45 PM
1 Upvote
Well seems Pantone has some issues with there numbers than. In illustrator the cool and warm do difference, however the number also differ than those to Photoshop??? Both documents set to sRGB > Cool Gray #6 Illustrator > Warm Gray #6 Illustrator > Cool Gray #6 Photoshop > Warm Gray #6 Photoshop All books exported using LAB settings from PCM
... View more
‎Dec 07, 2018
02:43 PM
@Danny white, Sorry but that fellow is out of this game. Why forget RGB values, if those are important to a designer they cant be neglected. Not everybody works with print
... View more
‎Dec 06, 2018
03:21 PM
@rob day, thanks it almost works perfect. The issue is that the Pantone app exports files as PANTONELIB.abs.bak. Because it ends with .bak it caused an error. I believe that is some windows format. Error after exporting lib from PCM I tried a easy dirty fix by deleting ,bak and than they do load just fine. So now i have up to date Libs. File with wrong extension on OSX, bottom one works after deleting .bak Ive just send them an email, let's see what the response is. There is one more thing i noticed. When you export the book you can choose between LAB or sRGB. When you choose RGB and add the lib in Illustrator, the RG values dont match to numbers given on their site. For instance PMS 3515c on there site 87-7-118 but in illustrator using sRGB color profile the color is 97-0-125? Does anyone know if the RGB values on their site are using a specific RGB Color Profile? However after checking the PCM app, i see the sRGB value for 3515c is indeed also 97-0-125 in there app. Now im wondering what that RGB is on their page with colors??? Ive also mailed them about this
... View more
‎Dec 06, 2018
02:49 PM
Because if Adobe provides a service, its awkward this is not up to date. I dont own any Pantone products, i can try Pantone Color Manager as trial. I believe im than able to update the libs within the trial period.
... View more
‎Dec 05, 2018
04:36 PM
Shouldnt Adobe provide a proper lib though?
... View more
‎Dec 05, 2018
01:43 PM
Im also missing a PMS color, its PMS 3515c. Neither in Illustrator nor Photoshop 2018cc
... View more
‎Dec 05, 2018
01:19 PM
I got sort of the same issue, though when i check the Pantone site it does exist. It seems illustrator hasnt either updated their Color Books from PMS or i did something wrong. I need PMS 3515c (dark purple), this is the page on PMS site which contains the correct number. Anyone got an idea why this does not show in Illustrator? I also tried other books, nothing
... View more
‎Sep 24, 2018
08:52 PM
Just as i looked in the script folder, i noticed the same. than saw your post as i wanted to add this info here.
... View more
‎Jun 14, 2018
03:17 PM
3 Upvotes
I had the same issue, composition panel near the bottom one of the settings was set to draft. Therefor blur didnt seem to work properly
... View more
‎Apr 05, 2018
02:21 PM
Still its weird that Illustrator acts different then Photos and Indesign. Forget about what i said earlier. Those that did showup under print when i added them had complete wrong dimensions suddenly
... View more
‎Apr 05, 2018
11:06 AM
PS i do see them show up now, they are showing under the "Print" presets and not under "Saved" presets. However Photoshop saves the saved document custom presets in the preferences folder, that is here: /Users/USERNAME/Library/Preferences/Adobe Photoshop CC 2018 Settings/ Here there are 2 files located; New Doc Sizes.json and MRU New Doc Sizes.jason, these 2 files contain the custom saved doc sizes. This is what illustrator is missing and to me seems like a bug or broken GUI.
... View more