Please provide the script story Splitter by Adi Ravid?
Hello
I'm working on a book complex and need to separate stories threaded in many places. I know that I can do it manually via the editor of history but have really set my eyes on the script to split history created by Adi Ravid. I found its place @ the Adobe Exchange website (http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail & loc = en_us & extid = 1302 # 518), but get an error "sorry, we have encountered an error while processing your request." - also when pressing on ' author Email: Adi Ravid.
So, someone who has the script, please report it here could?
Thank you very much in advance
/*
------------------------------------------------------------------------------------------ ------------------------
StorySplitter
------------------------------------------------------------------------------------------ ------------------------
A JavaScript InDesign CS/CS2/CS3 by FourAces
On the final 2006 touch
Version 3.0.0
Divides history chosen to separate blocks of text, while maintaining their content.
------------------------------------------------------------------------------------------ ------------------------
*/
var myScriptVer = "3.0"
If (app.documents.length! = 0) {}
mySelection var = app.activeDocument.selection;
If (mySelection.length! = 0) {}
myObjectType = mySelection [0].constructor.name;
If (myObjectType == "TextFrame") {}
The dialog box Interface
myDialog = app.dialogs.add var ({name: 'History 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: "Scinder front Selected Frame"});
radiobuttonControls.add ({staticLabel: "Scinder after Selected Frame"});
}
}
}
with (dialogRows.add ()) {}
staticTexts.add ({staticLabel: "© The Final Touch"});
}
}
}
Ditto var = myDialog.show({name:"SplitOptions"});)
if(myResult == true) {}
monarticle var = 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;="">
{If (mySelection [0] == {[f] myStory.textFrames)}
var myTextFrame = f;
}
}
{Switch (mySplitOptions.selectedButton)}
case 0:
mySplitAll();
break;
case 1:
mySplitBefore();
break;
case 2:
mySplitAfter();
break;
}
}
else {}
Alert ("are you kidding Me? \nThe history you selected has only a SINGLE block of text. ») ;
}
}
}
else {}
Alert ("Selection\nYou evil chosen the wrong type of object. Please select a block of text. ») ;
}
}
else {}
Alert ("No selection Made. \nPlease specify a history 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;="">
myTextFrames [i] .duplicate ();
}
for (i = 0; i< mystoryframescount;="">
If (App.version.Split(".") [0] >= 5){
myTextFrames [i] .remove ();
}
else {}
myTextFrames [0] .remove ();
}
}
}
function mySplitBefore() {}
If (.previousTextFrame mySelection [0] == null) {}
Alert ("unable to break Thread. \nThe selected text block is the FIRST block of text in the thread.");
}
else {}
var myBfBreakFrame = .previousTextFrame mySelection [0];
var myAfBreakFrame = mySelection [0];
var myBreakStory = myBfBreakFrame.parentStory;
mySelection [0] .previousTextFrame = null;
if(myBfBreakFrame.Overflows == true) {}
var myOversetText = myBreakStory.texts.itemByRange (myBfBreakFrame.insertionPoints [-1], anointed myBreakStory.insertionP [-1]);
myOversetText.select ();
App.Cut ();
App.Select(myAfBreakFrame.insertionPoints[0]);
App.Paste ();
}
}
}
function mySplitAfter() {}
If (.nextTextFrame mySelection [0] == null) {}
Alert ("unable to break Thread. \nThe selected text block is the LAST block of text in the thread.");
}
else {}
var myBfBreakFrame = mySelection [0];
var myAfBreakFrame = .nextTextFrame mySelection [0];
var myBreakStory = myBfBreakFrame.parentStory;
mySelection [0] .nextTextFrame = null;
if(myBfBreakFrame.Overflows == true) {}
var myOversetText = myBreakStory.texts.itemByRange (myBfBreakFrame.insertionPoints [-1], anointed myBreakStory.insertionP [-1]);
myOversetText.select ();
App.Cut ();
App.Select(myAfBreakFrame.insertionPoints[0]);
App.Paste ();
}
}
}
Tags: InDesign
Similar Questions
-
while I connect to my computer with the samsung wave y kies wi - fi computer displays an error as a peripheral denied connection permission, please provide the solution.
earlier, I used internet and transfer files through this link, but now it is showing the device refused permission. I have checked all the settings, but could not remedy any problem so kindly help me so that I can connect via wifi to my mobile samsung kies.
Also, I am facing problem in sending files via Bluetooth, and at the same time my mobile can easily transfer the file and the music file actions with my computer via bluetooth which I did not understand.
Rental offer the solution to both problems. In my computer I have window7 profeessional.
Marie-Odile THE
Hello
1. What is the brand and model of the computer?
2 have you made any changes to the computer before the show?
Reinstalling the Kies application and check if it helps.
See this link:
http://Windows.Microsoft.com/en-us/Windows7/uninstall-or-change-a-program
I also suggest you to contact Samsung and check: http://www.samsung.com/us/support/
Regarding Bluetooth check out these links:
Open the hardware and devices Troubleshooter
http://Windows.Microsoft.com/en-us/Windows7/open-the-hardware-and-devices-TroubleshooterBluetooth devices do not work correctly on a computer that is running Windows 7:
http://support.Microsoft.com/kb/980396
Also see this link: http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-Bluetooth-enabled-devices
Note: The article mentioned above is also applicable to Windows 7.
I hope this helps!
-
Please share the Script to retrieve the name of host, HBA, HBAstatus, WWN, pathpolicy and dualpathinfo
Take a look on Re: information on the host hardware with information about the HBA drivers and nic
-
Hello
Please provide the last group number of hotfixes in the module AP, AR, FA, GL, INV, IN., OM and LOCATION to 11.5.10.2 base.
Kind regards.Salvation;
Please use metalink. Metalink login > patches and updates & > check Lastest 11i Packs for module group of patches
Assessment of the location
11i EMEA locations - cross-country ski [ID 404120.1] module
Guide to specific features of each country (globalisations/locations) [ID 403211.1]Respect of
HELIOS -
Please provide the last link to download "Windows Update Agent"
Please provide last download link 'Windows Update Agent' for Windows XSp Sp3 and Windows 2003 Sp2.
Hello
How to get the last Update Agent.
http://support.Microsoft.com/kb/949104
Or visit the site Web of WU.
http://windowsupdate.Microsoft.com/
Good luck.
-
My network adapter does not work correctly. When I tried to install Bluetooth + wireless driver for my laptop dell 3542 which runs on windows 7, it says activate Bluetooth using the wireless switch. I turned on by doing Fn + prtscr key, even if I do, it shows the same error.
I provide you my network controller hardware id:PCI\VEN_168C & DEV_0036 & SUBSYS_020C1028 & REV_01
PCI\VEN_168C & DEV_0036 & SUBSYS_020C1028
PCI\VEN_168C & DEV_0036 & CC_028000
PCI\VEN_168C & DEV_0036 & CC_0280Please provide me the drivers.
manufacturing system is Dell
system model - Inspiron 3542
BIOS Version Date of DEll Inc. A10, 03/11/2015Thank you
Please click the http://dell.to/14eHxj3 link to download the drivers and follow the instructions on the screen to extract and install.
Dell 1703/1705 WiFi + Bluetooth wireless driver
This package provides the driver for Dell 1703/1705 WiFi + BT and is supported on Inspiron and Vostro Notebook running the following windows operating systems: Windows 7
-
Please provide the URL to install firefox 33
I wanted to install firefox 33 for some activities, please give the link
Hello Meerasugu, firefox 33 is currently in version beta (code-named aurora). You can get it from: https://www.mozilla.org/firefox/channel/#aurora
-
I've already included *. Adobe.com*, but this does not solve the problem. If I disable the proxy, there are no conversion issues. The error I get with proxy is error contacting server.
EDIT: Just for clarification, we use a proxy.pac file
As you've identified, your proxy is the problem. Only you can provide the fix.
Be well...
-
Help please change the script number
Hello!
There is one such script or plugin, hand Controller.jsx and there is a single track camera parameter limit somehow the number that allows you to control up to 1370, for example, I need to infinity, or at least to 20,000, to try to change the number in the main Controller.jsx file but nothing changed. wrote one person here, he said the difficulty of "PresetEffects.xml" in the folder "C:-Program Files-Adobe------Adobe after effects CC 2015------Support Files. I changed the track camera up to the desired value, but as soon as I change more than 1370 all is lost. Plug-and-project joint. project of https://Cloud.mail.ru/public/3AwZ/fCu2WcPSh and https://cloud.mail.ru/public/H6C8/smxDKdXPM
Help me please.
-
Hi all
Someone please inform how to set rules of cost group in WMS
How org inventory to choose default cost group.
Concerning
Vincent
Hello
You can go thorough below link for detials
Defining different groups for different subinv in the same FIFO cost org Defining different groups for different subinv in the same FIFO cost org
-
How to start the discoverer - please provide the stuff related to discoverer
Hello
you add please related links to learn the discoverer of export and import the data from excel and etc.
I tried searching on google, but I hope that I don't have good things...
Please add links to pass by the discoverer.
Thank youHello
You can also visit the website LearnDiscoverer .
Rod West
-
Please provide the URL to download the trackball explore 1.0 driver for Ubuntu Linux
I reformatted my hard drive for Ubuntu Linux.
I'll also need access to other drivers for Microsoft Natural Keyboard multimedia 1. 0a
Thank youHello
Check out the links and check if that helps:
http://www.Microsoft.com/hardware/en-us/d/Trackball-Explorer
If the problem is not resolved, see the link for the support of Ubuntu :
-
Hello
I want to know if we can add gpedit.msc admin tool for windows 7 Home premium ?
If so, please provide the procedure...Why don't WIN 7 HP does not come with it?
As far as I know, you can't. Home Premium is not due to the HOME in the title! It is not designed for a commercial environment.
You would like to watch this work around:
http://superuser.com/questions/103683/replacement-for-gpedit-MSC-in-Windows-7-Home-Edition
If you find my answer helpful, please click the button "Vote as helpful"! Thank you!
My Windows Blog -
Hi all
DECLARE
SYSDATE DATE ;
START
SYSDATE := SYSDATE ;
DBMS_OUTPUT . Put_line ('Date is ' || SYSDATE );
END ;Can you please provide the o/p?
Thank you
Do not use function names Oracle integrated variables.
What is happening here is that you declare SYSDATE as an uninitialized variable, SYSDATE then: = SYSDATE assigns NULL to SYSDATE. Where the output for SYSDATE is NULL.
-
How can I get the script all the tables and the reference system?
Hello
I'm trying to get the scripts of all the tables in my exquema MADE. Please can someone help me?Try this - the first script creates a 'tab_ddls' table to hold the table DDLS and second script generates the DDL and stores in this "table"tab_ddls ":
{code}
create the table tab_ddls (table_name, varchar2 (50))
table_ddl clob)
/declare
cursor tab_cur is
Select table_name
from all_tables
where owner = "MADE";
CLOB table_ddl;
Start
for rec in tab_cur
loop
Select dbms_metadata.get_ddl ('TABLE', rec.table_name, 'MADE')
in table_ddl
Double;
insert into tab_ddls (rec.table_name, table_ddl) values;
end loop;
dbms_output.put_line ('done');
commit;
end;
/Select * from tab_ddls
/{code}
Please modify the script to fit your needs.
HTH
Published by: user130038 on August 2, 2011 11:08
Maybe you are looking for
-
Airport Extreme, Time Capsule best practices configuration
I searched for articles showing exactly what are the settings that I would see in my Airport Extreme Time Capsule. I put in place of the years before, but more recently WIFI was slow or choked several times a day. Our internet service provider recent
-
Facebook in the center column, not load 3
I recently downloaded Firefox 6 and Facebook was working fine but all of a sudden yesterday it started to load all the content to the bottom of the center column instead of on the left and right. I noticed on the wall of their help, that others have
-
can not access my 2 phones from verizon on PC by uploading photo.
I have a 2 year, HP pavilion slimline computer desk, model # is S5-1224. I improved our Verizon phones recently and told me that the USB cord for the charger could also enter the PC to d/l images. Cool I thought, but it does not work. I'm working my
-
Moto Z Force - another terrible experience "pre-order".
I pre-ordered one bike Z Force, and later the same day, a wireless bike Mod loader direct from Motorola last weekend. Just had an email of confirmation on the bike Mod. Called Support to motorcycle, last Monday, after the State of the command line di
-
I can't save my iPhone 6 on my iMac or the cloud. Phone works fine.