Bug when deleting hyperlinks?

Hello

There seems to be some leftovers whenever I have remove the link using extendscript causing problems after.

I posted this question on stackoverflow, so it would be easier if you can just read it there.

http://StackOverflow.com/questions/17490661/how-to-properly-remove-hyperlinks-from-indesig n-document-help-extendscript

Thank you

Eric

Someone on the stack as overflow found the solution and it's here.

app.activeDocument.hyperlinkTextDestinations.everyItem().remove();
app.activeDocument.hyperlinkTextSources.everyItem().remove();
app.activeDocument.hyperlinks.everyItem().remove();

Tags: InDesign

Similar Questions

  • StructCount bug when deleting a key of the FORM field

    Help, please.  I can't understand what I'm doing wrong.

    When I try to remove a key from the FORM field, the StructCount to the extent of the FORM remains unchanged, even if the key doesn't seem to be within the scope of the FORM any longer.  This is not the case when I create a struct in the scope of VARIABLES.  I enclose the code I used to test this.

    Is this a bug with ColdFusion?  Is there a fix / patch for this?  I use Coldfusion Enterprise version 8,0,0,176276.

    Unfortunately, I don't think you can avoid it as it seems to be a problem with the underlying FormScope class.  You could wrap your alternative 'counting' code in a cffunction.  Which would keep at least the logic in one place:

  • ManagedDataAccess bug when using mixed comments (reopened)

    Hello

    There is a bug when the sql text uses two types of comment (/ * / and -) together and also there is a comment at the beginning of sql. The unmanaged client with same sql works very well.

    Simple code to reproduce the bug:

    using (OracleConnection connection = new OracleConnection (connectionString))

    {

    connection. Open();

    string sqlCommandtext = @"" / * Hello * / select * from the double ";"      This works.

    string sqlCommandtext = @"" / * Hello * / select * from double / * Hello * / ";"      /this. work

    string sqlCommandtext = @"" select * from double - Hello '; "                     /this. work

    String sqlCommandtext = @"" / * Hello * / select * from the double - Hello ";"           //This doesn't work

    string sqlCommandtext = @"/ * Hello * / select * of the double / *-Hello * / "; "     //This doesn't work either.

    using (OracleCommand command = connection. CreateCommand())

    {

    cmd.CommandText = sqlCommandtext;

    using (IDataReader reader is cmd. ExecuteReader())

    {

    while (player. Read / / < < < without exception, the drive appears to be empty. Use of dataadapter issues the same behavior (buggy).

    {

    Console.WriteLine (reader. GetString (0));

    }

    }

    }

    }

    Can you confirm this bug?

    Thank you.

    This is a known bug (Bug 21811441). A fix is available in 12.1.0.2 Patch 11 and thereafter.

  • Muse is so slow, especially when adding hyperlinks

    As a designer than a programmer, I love Muse, so similar to the sensation to Indesign. She allowed me to do at my site design is amazing, but...

    Now really worried that I chose the wrong software to develop my new site. Get slower and slowest of the day.

    Now cannot be used professionally.

    Every action is so slow. Multicolor spinning wheel is displayed continuously.

    The slower action seems to be when adding hyperlinks. Certainly, there is a little (about 150 per page over 100 pages, it's a ticketing site).

    When clicking on the hyperlink insert the window of the menu drop-down appears quickly, but I have to wait almost 30 seconds before I can enter the link and then another 30 seconds by clicking on back for the link to be accepted.

    30 seconds may not seem like a long time but believe me, it's when we look at a multicoloured spinning wheel. With 150 links per page, which is more than 2 hours of wasted time.

    Is there anyway to speed up this process? Is there anywhere in preferences to say Muse to reduce the number of previous installations of links used in the menu drop-down? If it would expedite the operation?

    Any help would be appreciated, because I don't want to renounce the Muse. Thank you.

    Yes, 2015.2 is faster. But... you can not expect the sedan city it will be a big truck. Different tasks have different tools. Muse is not really suitable for large sites. Not only because of the speed.
    CMS is a completely different usability, allowing to work with directories. Muse can't. Everything must be done manually, which leads to loss of time and difficulties with seo.

  • Bug with deleting content

    On the deletion of old content from a collection - (18 collections in all!). The collection still keeps some data, although there is no items that it contains.

    Might be interesting to look at that? Attached image to a collection, which is EMPTY, apart from a single banner - and yet all these "unknown" entities are still listed.

    Screen Shot 2015-12-01 at 11.46.47.png

    Finally, there is a big delay when deleting articles, and the system seems to remove one by one.

    Had to wait for 30 minutes to see them all disappear.

  • Error when deleting a mapping

    Hi all

    I get the following error when deleting a mapping. My version of the client is 10.2.0.4.36

    API5072: Internal error: Null message for the exception. Please contact the Support of Oracle with the stack trace and details on how to reproduce it.
    oracle.wh.util.Assert: API5072: internal error: Null message for the exception. Please contact the Support of Oracle with the stack trace and details on how to reproduce it.
    at oracle.wh.util.Assert.owbAssert(Assert.java:51)
    at oracle.wh.ui.jcommon.OutputConfigure.showMsg(OutputConfigure.java:216)
    at oracle.wh.ui.common.CommonUtils.error(CommonUtils.java:370)
    at oracle.wh.ui.common.WhDeletion.doActualDel(WhDeletion.java:512)
    at oracle.wh.ui.common.WhDeletion.deleteObject(WhDeletion.java:203)
    at oracle.wh.ui.common.WhDeletion.deleteObject(WhDeletion.java:283)
    at oracle.wh.ui.jcommon.tree.WhTree.deleteItem(WhTree.java:346)
    at oracle.wh.ui.console.commands.DeleteCmd.performAction(DeleteCmd.java:50)
    to oracle.wh.ui.console.commands.TreeMenuHandler$ 1.run(TreeMenuHandler.java:188)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    Thanks in advance!
    Sebastian

    This type of internal errors are too widespread in OWB, and it is difficult to diagnose the problem.

    I suggest to close the Design Center, pick-me-up in the and try again to remove it, this will often solve internal errors.

    There is also an article on Metalink Doc ID: 460411.1 on errors when delete mappings, but it is specific to an error in ACLContainer, so may or may not be of use.

    One of the suggestions is to connect as the owner of the repository, and not a user and try to remove the mapping.

    See you soon
    If

    Published by: ScoobySi on September 10, 2009 11:44

  • Report deletions - WebOS 1.3.1 - pictures - old photos of bug when new decision-making

    Hello.  I just noticed that when you take new photos with me before (on WebOS 1.3.1), numbering has reset, from CIMG0001 and when I take pictures, old photographs designated as CIMG0001, CIMG0002, CIMG003, etc. are being eliminated and replaced with these new photos.  Currently, I have 164 pictures in my roll photo and noticed that when I take a new image, the number of photos still to 164 (instead of adding a new peak and making the new total 164).  I just noticed this bug yesterday, but I upgraded to WebOS1.3.1 last weekend.  I read another Pa everythingpre.com view possibly the same problem:

    Max 30 photo: WebOS 1.3.1 Bug

    Anyone else having this problem?

    Looks like we managed to find some additional information.

    The question would you please see if you have a request for a report called PhotoWall

    PhotoWall records the images in the folder DCIM/999PALM, which throws out of enforcement camera.

    Workaround solution:

    Go to the USB Mode

    Move 999Palm to DCIM folder images

    Delete 999Folder

  • Photos crash when deleting location

    On his return from holiday, I imported hundreds of photos from my camera Panasonic ZS40 in Photos. The ZS40 has a built-in GPS receiver and embeds location information in each photo if available.

    Seen in Photos, many (but not all) imported photos appear to have incorporated location information (the little icon 'card' is displayed in the corner down left), but photo location does not appear on the map in the information area.  A map appears, but there is no bug. On the other hand, the info box displays "looking for information about the location..." This opinion never disappears, and location of the photo never appears on the plan (which is not relevant to where the photo was taken).

    I suspect that the ZS40 had not yet acquired GPS lock when these photos were taken. Maybe he wrote by default (or defective) lat/long coordinates in EXIF data structure embedded in the JPG file.  In order to correctly assign to the right place in the Photos, I clicked on Image/location/delete location, with the intention to then manually add the location where the photo was taken.  Photos promptly crashes as soon as I click delete location.

    This happens every time. I have tried on dozens of different relevant photos, with the same result: pictures of accidents.

    There seems to be a coding bug in the program of Photos (I don't like any more whenever I use it).

    Can anyone suggest a work around with (or without) photos?

    Can anyone tell me the location of the actual JPG image file which Photos has hidden somewhere in its database? (With iPhoto, it was easy to find the actual file...). If I can find the JPGs, I might be able to inspect (and perhaps correct) defective lat/long data in the EXIF data with a geo-tagging 3rd party utility.

    1.3 photos

    10.11.3 OSX

    Try to manually add the correct location before removing the current location

    You can export the unmodified original (menu, file == > export) and then import the corrected photos and remove all original with Photos photos, as it should

    The original files are in your photo library in the Masters folder - you can see by clicking on the photo library and shows the contents of the package

    BUT, be VERY well sure, you have a great current backup

    It isn't really a good idea to waste time in it - there is no serviceable parts by the user in the photo library, it is not designed for human interaction and there is background and iCloud library current operations that may cause problems or even damage your library - it has never been taken in charge are smart to waste his time inside the library and with pictures it's very dangerous

    and there are a few user scripts to deal with GPS - they might be useful in determineing you have or even fix - Photos for Mac

    LN

  • Error when deleting the songs to the phone using wmp12

    I use my phone android in USB mode. I can see all the songs in my phone in wmp 12. When I try to delete any song in my phone, I get the following error:

    "Windows Media Player cannot delete a file from the device"
    I use Windows 7 and windows media player 12.
    For the screenshot, click here: https://www.dropbox.com/s/wy4xum97k0mmsn6/WMP-Sync.PNG

    I uninstalled WMP 12 and installed WMP 11. It worked like a charm. Seems that there is a bug in WMP 12.

    If you google "downgrade wmp 12 to wmp 11", you will find a Web page and youtube video explaining the process.
    WARNING: This is a 3-part solution
  • ADE 4.5 bugs when ebook is downloaded?

    I upgraded from 3.0 this morning to 4.5, big mistake. I uninstalled 3.0, allowed 4.5, downloaded an ebook from my local library, and... "this document cannot be opened... protected by DRM and is not currently authorized for use with your Adobe ID:"

    So, I uninstalled, removed everything, rebooted my laptop and repeated. Same message. Only now, three copies of the ebook appear on ADE 4.5, before I even downloaded the ebook.

    Contacted the people at cat at Adobe. They tell me after half an hour that they work not with ADE.

    I am very frustrated. BTW, this is a repeat of my experience in a few years when I upgraded from 2 to 3.5.

    Any expert can help? Should I go back to 3.5? He knows bugs with 4.5?

    Meanwhile, at least I can read on my iPad, but I miss my ereader.

    Thank you.

    Windows:

    Close all applications.

    Click Start > run.

    Open, type regedit in the text box and press ENTER. The Registry Editor opens.

    In the left pane of the registry editor, locate the following registry key: HKEY_CURRENT_USER\Software\Adobe\Adept

    Select the key of the follower.

    Choose file > export.

    In the export registry file dialog box, select the branch selected under export range. Enter a name and location for the backup registry key, and then click Save.

    Right click on the key to the follower, and then choose Remove.

    In the dialog box confirm the key deletion, click OK.

    Close the registry editor.

    Open Adobe Digital Editions and reauthorize.

    Macintosh:

    exit the Adobe Digital Editions software.

    Navigate to / Users / / Library/Application Support/Adobe/Digital Editions and drag the activation.dat file to the trash.

    If you use 10.7, see https://helpx.adobe.com/x-productkb/global/access-hidden-user-library-files.html

    Open Adobe Digital Editions and reauthorize.

  • HTML Editor: are there known with field bugs merges into hyperlinks?

    " I try inserting a merge into a hyperlink field (our contacts have custom subdomains I want to make a link to), which is the syntax: < a href =" http:// < span class = eloquaemail > field_merge1 </span >. website "> "

    However when I test the connection need me a URL that looks like: ' < span class = "eloquaemail" > field_merge1 </span >.» website' in the browser.

    The strange thing is I managed to get this merger of field working in other emails, but when you use exactly the same syntax for email newly uploaded - it breaks.

    Anyone have any idea why this is happening? There are the known bugs with the HTML editor or any workaround that exist?

    Have you added this link? Whenever we send a link with a fusion of field, you must disable the monitoring, otherwise the link appears just as it did in your example, with code fusion instead of the merged data.

    If this isn't the problem, have you checked the obvious candidates first: that the merger of field is correctly implemented, as recipients have contained in the appropriate field in the database, etc.. ? If you want just send test emails to yourself, it is possible that you have not contained in your file? If you have it right in your example, make sure that it is without the quotes in the span for the URL tag.

  • RoboHelp crash frequently when I am publishing excerpts - especially when adding hyperlinks

    Is this a known issue with RoboHelp 11.0.4.291? Is there a solution?

    Hi Jeff! Yes, I filed a bug report and heard back that Adobe is addressing the issue. I also spoke with a representative who has found a workaround.

    That being said, here's the info you requested:

    The project can be found here: C:\Users\[username]\Documents\My RoboHelp Projects\ [ProjectName]

    RoboHelp crashes every time when I click the hyperlink icon in the Ribbon and then paste it into the link box to a URL (for example, https://support.company.com/knowledgebase.php?article=110). The workaround is to select The Web address in link in the drop-down menu before pasting the URL (replacing the "https" which appears when you select Web address).

    I am satisfied with workaround, but will be even happier when Adobe fixes the error that causes the crash!

    Thanks for your interest! Let me know if you know something that I don't have.

  • Warn when deleting text anchors

    I use the destination of the hyperlink to create cross-references. However, sometimes, that I accidentally delete the created text anchors. Is it possible to display a warning or something like that, when a text anchor is removed somehow? Scripts would also be an option, it is possible this way.

    Thank you very much

    Jan

    Of course, just use a preflight profile that checks the suspense

    cross references.

    That way, whenever you accidentally remove a hyperlink destination, the

    little preflight button lights in red.

  • Image moves when a hyperlink?

    Hi guys,.

    When I add a hyperlink to the image at the top of my page of the image moves on toward the right, when I delete the link that he comes back to the Center, ideas whats the cause?

    K, r., Tony

    My title image was on my #wrapper div that had a code to float any image to the right, so when I applied my hyperlink he pushed my image to the right of the code.

    To combat this, I moved my image in its own div #header and apply different rules.

    Tony

  • Deleted hyperlinks always appear in exported PDF

    I have a real problem with hyperlinks that I deleted from a document Indesign CS5.

    Number of hypertext links that I removed still appear in a newly created in the update file and saved interactive PDF.

    Does anyone else have this problem and there at - it somewhere that these hyperlinks can hide (obviously not in the menu links as they were removed from there)?

    The index links are a nightmare when it comes to find what is hidden links... they stay also and I can't delete them all? Any ideas?

    Thank you! I hope someone can help with this one.

    Are these hyperlinks URLS?

    If so, you are probably hitting an Adobe Reader and Adobe Acrobat links creating URLS feature that is enabled by default.

    Uncheck this option and see if that solves your problem.

    -Dov

Maybe you are looking for

  • I tried all the fixes, but TB is so slow to delete messages 9-30secs every time.

    For several days, TB leaves sponsor for 9 to 30 seconds. This occurs when I try to delete an e-mail message, or open it. If I hit delete 2 times when it does not, it will eventually remove 2 emails.I tried albums off all the add ons not change; 1 rem

  • Value of the loop variable for begins with the last entry of the previous run

    I have a problem with a loop for... I am a beginner with Labview and perhaps do not follow the order of events (since it runs not on a line-by-line as typical of programming languages), but I think that my problem is trivial. Say I'm running a loop f

  • Win XP support deadline

    I understand that MS will no longer refreshes for Win XP after a certain date limit. What is this date? He has already spent?

  • My integrated camera app no longer works?

    I remember to update my computer and then when I turned it on my webcam application was no longer visible. It is nowhere more. I too tried unistall it and who did not. Also, I did a repair and detected that the application was not compatible, however

  • Cannot format external hard drive

    Formatting an external hard driveI can't get my external hard drive to format, the window says it is not formatted, so can someone please help me get this format? It is a 20 GB 2.5samsung, or is this even compatible with a Telechareger?