[CS5] [JS] How to remove the entire contents of the TextFrame?

Hello

I wonder what the best way is to remove ALL the CONTENT (text, graphics, etc.) of a textframe? Previously, I did it in a loop because of the risk of overflow:

while(TextFrame.Overflow == true) {}

TextFrame.contents = "";

}

It works very well if there is text in the frame, but if there is a graph or if text is horizontal and some vertical is, it becomes an infinite loops because he can't remove the rest of the content.

It seems that there should be a better way to remove everything from a textframe, anyone know of a way?

Thanks in advance,

Lloyd

Not sure if this is what you want...

textFrame.parentStory.contents = "";

Substances

Tags: InDesign

Similar Questions

  • How to remove the spaces of a template header

    I'm trying to work myself through the understanding of the html codes using a model dreamweaver and creating a page for my company. I used dreamweaver before CC, but I try to understand the new changes.

    I came across a problem with the fact that I'm hoping to get help.

    I tried to replace a logo placeholder on the template with my own logo. I seem to have a little space to white at the bottom of the logo when I see mode live view or a browser. How can I get rid of him. I've tried combinations of 0 margins and changing the filling, but it seems I'm just whistling in the dark. Here is the code:

    The CSS associated with this page is here:

    !-[CodeBlockStart:dec9d6ff-17ba-4058-9575-0b88476c1251]-->@charset "UTF-8"; body {make: 100% / 1.4 Verdana, Arial, Helvetica, without serif;}]   background-color: # 42413.   margin: 0;   padding: 0;   Color: #000; } / * ~ ~ Tag of the element selectors / ~ ~ * / ul, ol, dl {/ * because of variations between the browsers, it's best practices to zero padding and the margin on lists.} For consistency, you can specify the amounts you want to here, or on the list (LI, DT, DD) items they contain. Don't forget that what you're doing here cascade to the .nav list unless you write a more specific selector. * / padding: 0;   margin: 0; } h1, h2, h3, h4, h5, h6, p {margin-top: 0; / * deletion of the top margin works around a problem where margins can escape its container block.} The margin of the low rest it will take away from all of the following items. * / padding-right: 15px;   padding-left: 15px; / * adding padding to the sides of the elements within the blocks, instead of the block elements themselves, gets rid of any mathematical model of box. A block nested with side pads can also be used as an alternative method. {* /} an img {/ * this switch how to remove the default blue border displayed in some browsers around an image when it is surrounded by a link * / border: none ;} / * ~ ~ style for your site links must remain in this order - including the Group of selectors that create the hover effect.} ~ ~ * / a: link {color: # 42413;}   text-decoration: underline; {/ * unless that you style your links seem to be extremely unique, it is best to predict stresses quick visual identification * /} a: visited {color: #6E6C64;}   text-decoration: underline; } a: hover, a: active, a: focus {/ * this group of selectors will give a browser keyboard the same experience of hovering as the person who uses a mouse. * / text-decoration: none ;} / * ~ ~ this container fixed-width surrounds all the other blocks ~ ~ * / .container {width: 960px;}}   background-color: #FFFFFF;   margin: 0 auto; {/ * set to auto on the sides, coupled with the width available to the centres * /} / * ~ ~ the header is not given a width. It will extend to the entire width of your layout. ~ ~ * / header {background-color: #A36BE8 ;} / * ~ ~ these are the columns for layout.} (~ ~ 1) padding is only placed on the top and/or bottom block elements. The elements contained in these blocks have padding on their sides. This avoids any «mathematical model of box» Keep in mind, if you add lateral pads or border to the block itself, it will be added to the width that you set to create the * total width. You can also remove the padding of the element in the block element and place a second inner block with no width element and the necessary padding for your design. (2) no margin was given to the columns, because they all floated. If you need to add the margin, avoid placing on the side you're floating into (for example: a right margin on a block set to float to the right). Many times, padding can be used instead. For blocks where this rule needs to be broken, you need to add a statement of ' display: inline ' to the rule of the block element to tame a bug where some versions of Internet Explorer double the margin. (3) given that the classes can be used several times in a document (and an element can also have several classes applied), the columns have received the names of classes instead of IDs. For example, two blocks from the sidebar could be stacked if necessary. These can easily be changed to the ID if that's your preference, as long as you don't use them once per document. (4) If you prefer your nav on the left instead of the right, just float those columns the opposite direction (to the left instead of all rights), and they will return in reverse order. There is no need to move the blocks in the HTML source code. * / .sidebar1 {float: right;}   Width: 180px;   background-color: #C5C2B8;   padding-bottom: 10px; } content {padding: 10px 0;}   Width: 780px;   float: right; } / * ~ ~ This group selector gives the lists in the domain content space ~ ~ * / content ul, ol content {padding: 0 15px 15px 40px; / * this padding reflects the right padding in the titles and the paragraph above net.} Padding was placed on the bottom for the space between the other elements in the lists and on the left to create the withdrawal. These can be customized as you wish. {* /} / * ~ ~ The list of navigation styles (can be removed if you choose to use a contextual menu premade as Spry) ~ ~ * / nav ul {list-style: none; / * this command deletes the list marker * / border-top: 1px solid #666; / * this creates the top border for the links - all others are placed using a bottom border on the LI * / margin-bottom: 15px; / * it creates space between the following content browsing * /} nav li {border-bottom : 1px solid #666; {/ * Creates the separation of button * /} has nav, nav a: visited {/ * these selectors of grouping allows you to ensure that your links to retain their look button even after visiting * / padding: 5px 5px 5px 15px;}   display: block; / * Gives the link properties block causing it to fill the whole container LI. This causes the entire area responds to a mouse click. * / Width: 160px;  / * This width makes all the clickable button for IE6. If you do not need to support IE6, it can be removed. Calculate the width by subtracting the padding on this link of the width of your sidebar container. * / text-decoration: none;   background-color: #15EE00; } nav a: hover nav a: active, nav a: focus {/ * this changes the background and color of text for browsers of mouse and keyboard * / background-color: #ADB96E;}   color: #FFF; } / * ~ ~ Footer ~ ~ * / footer {padding: 10px 0;}   background-color: #CCC49F;   position: relative; / * This gives hasLayout IE6 to erase correctly * / clear: both; {/ * This clear property forces the .container to understand where the columns end up and contain them * /} / * HTML 5 support - sets new HTML 5 tags to display: block so browsers know how to render the tags correctly. * / section, footer, said by the way, article, header, figure {display: block ;}}

    Thank you very much for your help!

    Try this-

    What you are because space is the placeholder for the descenders of glyph on any item that is rendered in a text box (that is, an inline element). By making the image "display: block" you eliminate that space, because a block element is not top-down. If it works to your satisfaction then you can give the logo an id and creation of a CSS selector that contains this kind of block.

  • any ideas on how to remove the software malicious zebrouss?

    any ideas on how to remove the software malicious zebrouss?

    This thing I replaces my setting of search in safari - can get rid of it - don't know who got it

    You may have installed ad-injecting malicious software ("adware").

    Do not use any type of product, "anti-virus" or "anti-malware" on a Mac. It is never necessary for her, and relying on it for protection makes you more vulnerable to attacks, not less.

    Save all data first.

    Some of the most common types of adware can be removed by following the instructions from Apple. But before you follow these instructions, you can try an automatic removal.

    If you are not already running the latest version of Mac OS X ("El Capitan"), update or upgrade in the App Store you could adware to automatically remove. If you are already using the latest version of El Capitan, you can still download the current update of the Apple Support downloads page and run it. Still, some types of malware will be deleted, not all. There is no such thing as the automatic removal of all possible malware, either by OS X third party software. That's why you can't rely on software to protect you.

    If the malware is deleted in your case, you will still need to make changes to the way you use your computer to protect you from new attacks. Ask if you need advice.

    If the malware is not automatically deleted, and you cannot remove yourself by following the instructions from Apple, see below.

    This simple procedure to detect any type of adware that I know. Disabling is a procedure distinct and better still.

    Some legitimate software is funded by advertising and may display advertisements in its own windows or in a web browser while it is running. It's not malware and it may not appear. In addition, some Web sites display advertising intrusive popup that can be confused with adware.

    If none of your web browsers work well enough to carry out these instructions, restart the computer in safe mode. Allows to temporarily disable the malware.

    Step 1

    Please triple - click on the line below on this page to select it, and then copy the text to the Clipboard by pressing Control-C key combination:

    ~/Library/LaunchAgents

    In the Finder, select

    Go ▹ go to the folder...

    from the menu bar and paste it into the box that opens by pressing command + v press return. Open a folder named "LaunchAgents", or you will get a notice stating that the file cannot be found. If the file is not found, proceed to the next step.

    If the folder opens, press the combination of keys command-2 to select the display of the list, if it is not already selected. Please don't skip this step.

    There should be a column in the update Finder window. Click this title two times to sort the content by date with the most recent at the top. If necessary, enlarge the window so that all the content show.

    Follow the instructions in this support article under the heading "take a screenshot of a window." An image file with a name starting in 'Screenshot' should be saved to the desktop. Open the capture screen and make sure it is readable. If this isn't the case, capture a small part of the screen indicating that what needs to be shown.

    Start a reply to this message. Drag the image file in the editing window downloading. Alternatively, you can include text in the response.

    Leave the case open for now.

    Step 2

    Do as in step 1 with this line:

    /Library/LaunchAgents

    The record which can open up will have the same name but is not the same as in step 1. In this step, the folder does not exist.

    Step 3

    Repeat with this line:

    /Library/LaunchDaemons

    This time the file will be called "LaunchDaemons."

    Step 4

    Open Safari preferences window and select the tab 'Extensions'. If the extensions are listed, post a screenshot. If there are no extensions, or if you cannot launch Safari, skip this step.

    Step 5

    If you use Firefox or Chrome browser, open the list of extensions and do as in step 4.

  • How to remove the SD of the slot of the card reader - Satellite A100?

    Hello
    Is there someone to help me? I inserted a 64 MB SD card into the slot of the player card of my Toshiba A100 model. This is the first time that I inserted the card. The card is inside the slot. I can't get out! I have no idea how to remove the card from the card reader location. I can see the contents of my SD card, can open files too. But how to remove it out of the slot. Help me please give your idea to remove the card from the slot.

    Arjun

    Hello

    To my knowledge the SD card slot doesn't have a whole extra help as the slot PCMCIA to remove the card.
    You have to remove everything simply. Try to enter the map and move it. You can try using a pair of tweezers. Maybe it helps

  • Z500 how to remove the battery?


    Hi Flory2011,

    Len mentioned the Maintenance Manual material that is found on the link below...

    http://download.Lenovo.com/consumer/mobiles_pub/lenovo_z_p_series_hmm_v1.0.PDF

    You can also watch online tutorials on how to remove the bottom cover and the battery at this link in the section FRU...

    http://service.Lenovo.partner-management.com/content/CourseWarePublic/18359/player.html

  • How to remove the default for a limited only account gateway (with static ip address)

    I have 1 pc with 4 accounts 1 account administrator and user the rest is limited accounts. I use a static ip address and the question is how to remove the default gateway on these limited account so that they cannot access the internet

    The entry door is fixed to the adapter and selectively cannot set properties of the different adapter for different users, all users use the same adapter.

    With Internet Explorer (does not work with other browsers), you can configure a proxy server with a fake address, you can do this through Group Policy, or you can do it manually for each individual user through the Internet Options settings.  You can set the proxy server address map of loopback (127.0.0.1) or you can set it to a bogus address of your private address range (usually the range 192.168.xxx.xxx)

    If you are using other browsers, you can use NTFS permissions to deny access to the Explorer or the program directory or you can use software restriction policies to deny access to specific programs.

    Alternatively, you can use a logon script to activate the network connection service when you open a session and the other to turn it off when you log, but if you do this you will disable the entire network for limited users if it cannot be a solution for them.  The script can be a simple two-line script:

    Logon script:

    SC config Netman start = demand
    net start netman

    Logoff script:

    net stop netman
    SC config Netman start = disabled

    These can be useful:

    http://www.howtonetworking.com/Internet/restrictie11.htm
    http://www.christianblog.com/blog/abelajohnb/disable-Internet-access-in-Windows-for-specific-user-accounts/

    John

  • How to remove the old sansa playlist on another computer?

    Hello

    I changed my computer and I can't delete the playlists of my sansa clip:

    in the new computer, the old files (that are currently on my sansa clip) do not appear in windows media player.

    and they do not even appear in windows Explorer [Sansa Clip (E )]

    I can only connect to the computer in MSC mode.

    I know I can delete one of the MP3 directly from the device while listening to, but how to remove the titles of the playlist?

    I have so much of...

    You can't just reset everything?

    You could just reformat the drive under the system settings?  This will clear all user content, but note that this includes your music or audio books - transfer you want to save on your PC first.

  • How to remove the Access Manager

    Can someone tell me how to remove the Manager of my computer it makes me crazy that I can't do anything online without entering the password anywhere from 10 to 15 times and sometimes more.

    Thank you

    Hi DeannaKing,

    Thanks for posting your query in the Microsoft Community Forums.

    I understand from the description of the problem you are getting pop-ups on the Windows 7 computer access Manager.

    Please provide more information on this issue.

    1 have you ever had the password?

    2. you are the administrator of the computer?

    3. what browser you use on the computer?

    If you use Internet Explorer see the steps.

    Access Manager is a tool that blocks or allows websites specific, based on the ranking of the site content.

    You can disable content advisor by following these steps.

    (a) open Internet Explorer. Go to tools and click on Internet Options.

    (b) select the tab content and here if your Content Advisor is enabled, you will find a button to turn it off.

    (c) click on disable.

    Check out the link:

    Internet Explorer Content Advisor: Frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/Internet-Explorer-Content-Advisor-frequently-asked-questions

    It will be useful.

    Let us know if you encounter problems under windows in the future. We will be happy to help you.

  • How to remove the upgrade Windows 7 Professional of D:-drive?

    I bought Windows 7 Professional Upgrade from Windows Vista Home Basic. HUGE MISTAKE! On the Microsoft Store is a nightmare. Finally, I just received a refund. Now, how do the Windows 7 on my D drive where is where idiots to the Microsoft sortore had me download in the first place. now I have vista on drive c and one broke * windows 7 on drive d. HELP, apparently, not a microsoft support t know how?

    If the Visa is still functions (you can load a running Vista), then install EasyBCD and follow the instuctions for EasyBCD listed below. When you are finished with the removal of Windows 7 in the boot (according to instructions) menu, then you can reformat the D: partition, which is where you said Windows 7 was installed.

    ================================================

    EasyBCD - how to remove the invalid entry:
    http://NeoSmart.NET/DL.php?id=1

    When you run EasyBCD, you will see the following great tabs/buttons on the left.

    (1) the display settings: displays the number of entries (bootable version valid and is no longer valid to Windows). The one marked 'default' in the version of Windows that starts if you sit and wait 30 seconds without making a selection using the keyboard. The entrance of remaining are classified by 'Name' (unless renamed all entires will call Windows 7). Drive letter represents the partition that version. If everything that you installed multiple copies of Windows 7 and Vista the path "Bootloader" will always be the same.

    (2) menu of Boot edit: four options 'Up', 'Down', 'Rename' (is very convenient if you want to see a significant name when you first start (I have 5 versions of Windows on one of my test systems, so I reamed the plain jane "Windows 7" "Windows 7 Pro 64-bit" and "Windows 7 Home Premium 32 - Bt, etc." ").)
     
    The last option is "Delete", click on the entry of is no longer valid (for highlight), and click 'delete '.

    You will also see a check mark in the "default" (when 30 timeout expires) version of Windows (vista in your case), the computer will start to place a check mark to one you want to keep.

    Located at the bottom of 'edit Boot Menu' page is the time-out value, if you want automatically to your only remaining version of Windows just place a check mark in the box "Skip boot menu."

    When your done with your changes, be sure to 'Save Settings'.

    J W Stuart: http://www.pagestart.com

  • How to remove the scroll bar in the view table obiee 11g

    Hello

    How to remove the scroll bar in the view table obiee 11g other than TNA config.

    Thank you

    In 11.1.1.7 you can change it in the table's properties. By default, it will be

    "Fixed headers with active scroll.

    To take

    "Pagination of the content" and check

    Thank you

    AJ

  • How to remove the Tables of HFM Application in SQL

    Hi gurus

    1. how to remove the HFM Application Tables in SQL?
    Its manual removal but each application having 120-150 tables? How to do this in one fell swoop?

    I deleted some applications using the workspace / shared services, but still its display under HFM under the Tables of SQL Server.

    Please help me

    concerning
    Smilee

    Hi Smilee,

    1. If the application opens in the web management interface, go to Taskflows management module and make sure that no taskflows exist yet for this application. Remove any existing taskflows.

    2. If demand exists in Shared Services, right-click on the demand for Shared Services and try to remove the application from here

    3. stop Hyperion Shared Services and all the Windows of financial management processes and backups of the relational database of the two patterns.

    4. check the relational database of Hyperion Shared Services repository, in the "ces_apps" table and make sure that there are no lines containing the appname "EXAMPLE." If the line still exists you should enlist the help of Oracle Global Support software to clean Hyperion Shared Services before proceeding.

    5. it is possible to remove all content removed from the relational database of financial management application. Must be very careful when handling manually tables database that permanent damage can be done at the application and other applications if the wrong content is removed.

    (a) first remove all tables, indexes, sequences, and the package objects that begin with the name of the application
    (b) remove all tables starting HSV_appname_xxxxxx
    (c) remove all rows in tables referring to demand HSX_CLUSTER_xxxxx.
    (d) delete all the HSV_ACTIVITY_KILL_USERS, HSV_ACTIVITY_NO_ACCESS, HSV_ACTIVITY_SESSIONS and HSV_ACTIVITY_USERS and HSV_USERS_ON_SYSTEM lines that refer to the name of the application.
    (d) remove the line containing the name of the application from the HSX_DATASOURCES table.

    6. the next time that all Hyperion services are restarted, the application must be removed safely from Windows client.

    You can contact your DBA to write a query on how to remove it.

    Hope this helps,

    Thank you
    Charles Babu J

  • How to remove the underlining on text links in Muse...

    Hello

    Someone knows how to remove the annoying underlining of text links in Muse. I of course, my link to have no underlining - Muse who works, but does not work once online style.

    Even better - nobody how to create a style of hover through Muse? I used to do it via Dreamweaver without problem - but have had no luck with the Muse so far.

    And is it possible to style 2 links to text in a sentence? It seems to only be able to style the entire sentence rather than just links

    If anyone can help?

    Laura

    Not to worry - it worked!

    For someone who does not know, go to file/Site properties and click on the text tab. Its all here!

  • How to remove the rear work plan in photoshop CS6

    Hello

    I'm trying to find how to remove the rear work plan in photoshop CS6?

    I always looking for the "preference", but I can't find the solution.

    I really prefer to have no background as the CS5 because I always work with "drag & drop" and now, it is impossible to see my office.

    Capture d’écran 2012-03-28 à 11.15.15.png

    Thank you

    Concerning

    You could ask on the cs6 forum, but I think thre an option under window or view to remove the frame of the application.

    http://forums.Adobe.com/community/Labs/photoshopcs6?view=discussions&start=0

    I have a question if you don't mind. What resolution is your screen?

  • How to remove the Manager package SCORM framework?

    Does anyone know how to remove the frame of package SCORM (or TOC?) Manager of a multi-SCO project I create?

    I've attached a screenshot of what I mean.

    Thanks for your help!

    Kind regards

    If I'm not mistaken this framework is a product of the LMS and not Captivate. Arrange for having the content with LMS people launched in the desired frame type.

    HTH,

    Mike

  • How to remove the permission of pc

    How to remove the permission of pc

    On the latest version of iTunes: account > permissions > Deauthorise This Computer (store > Deauthorise computer on older iTunes) on this computer: Deauthorize your computer using iTunes - Apple Support

Maybe you are looking for

  • Piriform CCleaner2.33

    Is the CCleaner2.33 piriform a reliable tool to use, and is it safe?

  • Pilot missing Teredo tunneling adapter

    Computer listed in devices and printers is always checked for problems and when I always said that this map of tunnel has no driver. I do not know what harm this causes me but I still have a problem. What should I put in that the properties for the v

  • Managed file transfer - error deployment

    HelloWhenever I try to deploy a source I get an error sayingOriginal XXX deployment error. An another source XXX were found deployed to record XXXI removed all transfers of old, sources and targets of the Design tab and deployments from the Tracking

  • Mixer missing in CC 2015 Photoshop Brush tool

    The mixer brush or color replacement tool is not on the version of my 'teacher' of CC PS?  I click on the Brush tool in the tools Panel, and only the Brush tool and the pencil appear... no mixer brush.  Should I have a cheapo version or do I have to

  • Get the message of sufficient permissions to retrieve the data when I try to access Update Manager vCenter 5.5

    I've recently upgraded to VMware 5.5 and I'm having a problem with the Update Manager for where it says I don't have permissions to use it.  The plugin installs fine without errors.  I myself install as administrator, but it still doesn't let me use