Extendscript that duplicates a hypertext marker in a TOC entry

Hi everybody,
I guess many Framemaker users have encountered the following issue in Framemaker: when adding a character format to a word/character inside a heading (while the rest of the heading has its "usual" format), the corresponding TOC link area is partially clickable. The reason for this is that the “foreign” character format somehow disrupts the hypertext command. The only workaround proposed on the Web is to use a Framescript to duplicate the hypertext marker in the TOC entry each time the character format is changed. Is it possible to create an Extendscript that does that?
Thank you for your input in advance!
Kind regards,
Roman

Roman,
Yes this is definiotely possible and the algorithm could be identical to the FrameScript solution. I can think of two methods: Either using Copy and Paste to create the second instance of the marker or – as a marker is such a simple object – just read the MarkerText property from the existing marker and create a new Hypertext marker at the appropriate text location and set the MarkerText.
I once did a comparison between FrameScript and ExtendScript solutions (see http://wp.me/p25LLF-4n ) and you can use the same algorithms.
- Michael

Similar Messages

  • The keyboard shortcut that turns an exclamation mark into an apostrophe no longer works in iOS 6. How can I restore that shortcut?

    the keyboard shortcut that turns an exclamation mark into an apostrophe no longer works in iOS 6. How can I restore that shortcut?

    Well, I for one really hate when they change this stuff.  They get us used to doing it one way for years and then they change it.  Why?  Really, seriously, truly......WHY?
    In fact, I originally noticed it had changed and then when I'd hit it, I thought it required me to touch both so I ended up with an apostrophe but then also a letter "l".  I just left commas everywhere I went for a while cuz it ticked me off so bad I just rebelled.
    In ios5 it was actually faster because it's the same move and time involved, but without the extra "slide".  So, in essence, Apple went backwards.
    Nice, eh?

  • My macair won't turn on. when I try to turn it on, the white screen appears. But instead of the apple logo, there is a flashing folder that has a question mark on it. how do i fix this?

    my macair won't turn on. when I try to turn it on, the white screen appears. But instead of the apple logo, there is a flashing folder that has a question mark on it. how do i fix this?

    Try this.
    Erase and Reinstall OS X
    Note: This will delete all data on the disk. Back up important files before continuing.
    Erasing and then reinstalling OS X can give you a fresh start, making your computer exactly as it was whenever you received it from Apple. This can solve various problems such as corrupt system files.
    Shut down the computer by going to Apple () > Shut Down…
    Select Shut Down or allow the computer to shut down automatically.
    Plug in the MagSafe power adapter into a power source and then connect it to your Mac if you have not already done so.
    Press the Power Button to turn on the computer.
    Press and hold both the R and Command (⌘) keys on the keyboard until the Recovery partition loads.
    Select Disk Utility and then choose Continue.
    Select your startup disk (Macintosh HD by default) from the left.
    Select the Erase tab.
    Choose the Format pop-up menu and choose Mac OS Extended (Journaled), enter a name for your disk, and then click Erase.
    After the disk is erased, choose Disk Utility > Quit Disk Utility.
    Select Reinstall OS X and then choose Continue.
    Follow the instructions.
    I hope I solved your question.
    Austin

  • My old iMac (screen sits on a white dome) opens with a tiny folder that flashes a question mark, instead of a login to user's desktop

    My old iMac (screen sits on a white dome) opens with a tiny folder that flashes a question mark, instead of a login to user's desktop, when booting up after a forced shutdown. How do I get my operating system working again? Thanks --Jim

    The blinking question mark indicates that the firmware could not find a valid Operating System on your machine.
    Your harddrive may have failed. Your filesystem may have be come corrupted.
    Try these things.
    -- try to boot up from the installation disc.
    The startup manager will list all of your bootable partitions then give you a choice of which to boot.  Hold down the option key then power on. Continue holding down the option key until you see the startup manager. This brings up the startup manager. Click on your hd or disc. Click on right arrow key.
    -- Sometimes if volumes don't appear in Startup Manager (what you get when you hold down the Option key at startup), you need to reset the Mac's PRAM, NVRAM, and Open Firmware. Shut down the Mac, then power it up, and before the screen lights up, quickly hold down the Command, Option, P, and R keys, until the Mac has chimed twice more after the powerup chime.
    Then, before the screen lights up, hold down Command-Option-O-F until the Open Firmware screen appears. Then enter these lines, pressing Return after each one:
    reset-nvram
    set-defaults
    reset-all
    "The reset-all command should restart your Mac. If so, you have successfully reset the Open Firmware settings."
    http://support.apple.com/kb/TS1812?viewlocale=en_US
    Should the fail...
    Try taking the battery out for 10 minutes.  Put battery back in.  Cross fingers. Power the machine back on.
    How to eject a cd from the internal cd drive:
    eject cd
    List of devices:
    devalias
    List of variables:
    printenv
    More than you ever wanted to know about open firmware
    http://www.firmworks.com/QuickRef.html

  • I need a program that will creat registration marks.  can I do this in Adobe elements 11?

    I need a program that will creat registration marks.  can I do this in Adobe elements 11?

    Most of the users look for copyrighting or having a watermark on their images to protect them from illiegal usage.
    If you are looking for this perfect use then below links can help you:
    There are multiple ways to add captions/watermark/copyright info in Photoshop Elements
    Below KB articales should be helpful in this context depending on your need and usage and expertise
    http://kb2.adobe.com/community/publishing/851/cpsid_85114.html
    http://kb2.adobe.com/community/publishing/851/cpsid_85127.html
    http://kb2.adobe.com/community/publishing/851/cpsid_85128.html
    Thanks,
    Garry

  • Having a problem with dates when I send my numbers doc to excel. dates are all out and that they have to cut and paste individual entries onto their spreadsheet. Any idea how I can prevent this

    having a problem with dates when I send my numbers doc to excel. dates are all out and that they have to cut and paste individual entries onto their spreadsheet. Any idea how I can prevent this.
    I'm using Lion on an MBP and Numbers is the latest version

    May you give more details about what is wrong with your dates ?
    M…oSoft products aren't allowed on my machines but I use LibreOffice which is a clone of Office.
    When I export from Numbers to Excel and open the result with LibreOffice, the dates are correctly treated.
    To be precise, dates after 01/01/1904 are correctly treated. dates before 01/01/1904 are exported as strings but, as it's flagged during the export process, it's not surprising.
    Yvan KOENIG (VALLAURIS, France) mardi 3 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : http://public.me.com/koenigyvan
    Please : Search for questions similar to your own before submitting them to the community
    For iWork's applications dedicated to iOS, go to :
    https://discussions.apple.com/community/app_store/iwork_for_ios

  • I downloaded iTunes onto my laptop and kept getting an Apple Application error so I also downloaded that and now I'm getting a Procedure Entry Point error as well as Error 7 (Windows Error 127) and I have no clue what to do. Can anyone help me?

    I downloaded iTunes onto my laptop and was getting an Apple Application Support error so I downloaded that and now I'm getting a Procedure Entry Point and Error 7 (Windows Error 127) messages. I have no clue how to go about fixing whatever the problem is...can anyone help me?

    iTunes.exe - Entry Point Not Found
    The procedure entry point
    AVCFAssetCreatWithByteStreamAndOptions could not be located in the dynamic link library AVFoundationCF.dll.
    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. If you're using Vista or 7,now head into your Uninstall a program control panel, select "Apple Application Support" and then click "Repair". If you're using XP, head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (If you've got XP, although the procedure is for Vista and 7, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever

  • Right align page numbers that are to the left of TOC entries

    I posted a similar question about a year ago that I believe Harbs or Peter answered, but darned if I can find the thread. At that time they provided a script that did a GREP search, finding a sentence that starts with a digit and replacing it with a tab. I still have the script, but for some reason it is not working correctly with my new TOC layout.It should insert a tab to the left of the page number (page numbers are to the left of the TOC entries), and force the numbers to right align so that a single digit page number right aligns with the right edge of a double-digit page number.
    Find: ^(\d+)
    Change to: \t$1
    What happens in the new TOC is the script finds a digit and inserts a tab to the left of the page number. The page numbers move to the right, but they don't right align. They are further to the right, but they numbers themselves are still left aligned.
    I'm mystified as to why the script doesn't work on this new layout. I'm using CS4 now, and it still works on the old layout. There is nothing terribly different about the new layout except that the column is much narrower, and there are several threaded colums in the TOC instead of one long column, and the chapter titles don't have page numbers (but all other entries do have page numbers.)

    Peter,
    Thanks for your reply. Between the page number and the entry is an en-space.
    I started with these settings:
    I then changed the left aligned tab to a right aligned tab:
    But still no luck.

  • How to calculate Page Size that allows for Trim Marks?

    I have made a Word document in 4.75" x 7' Page Size and the print company is demanding they have Trim Marks so they can
    cut the document to the precise size.
    I went to Save As in the Word doc and converted the Word doc to PDF, no problem.
    Then I found how to insert Trim Marks onto the PDF using Adobe Pro 9.
    The Trim Marks are L shaped but with the 90 degree corner bit missing so they look like 2 straight lines that would tell the
    print company where the sides and the top and the bottom are to be cut if the 2 lines were extended to the intersection of the L.
    Something like this for Top Left   _I   and this for the Top Right    I_    and the mirror of those two for the bottom Trim Marks -
    However when I use Acrobat Pro 9 to insert Trim Marks on a 4.75" x 7' Page Size, the Trim Marks themselves encroach on
    the print area by about 9 mm or just under 0.375" because they are marking the corner of the page but it reduces the Page Size
    by about 9 mm or just under 0.375" if I leave them there, ie, by the length of the Trim Marks themselves.
    Is there a way to position Trim Marks where I want them?
    If not then I presume I need to make my original Page Size bigger by the length of the Trim Marks all round?
    If I need to up my original Page Size to accommodate the Trim Marks I need to know the exact length of the Trim Marks don't I?
    Other wise if I get the length of the Trim Marks wrong they could either encroach slightly on the printed area or denote the
    wrong Page Size.
    Or perhaps I've got it wrong and it's not the 90 degree intersection that marks the Page Size but rather it is the other ends of the
    Trim Marks where the Trim Marks touch the border of the 4.75" x 7' Page Size that denotes the Trim Size?
    But that would mean the Trim Marks do not show up on the Camera Ready page and are not seen after printing but somehow I
    don't think that's the case.
    The attachment is a screen shot showing the Trim Marks on my 4.75" x 7' Page Size PDF.
    Help would be very much appreciated.

    Go to the Crop Pages command first and choose a page size bigger than the one you want. In Acrobat 8 it is at the bottom of the dialog box where it says change page sizes. Make sure to select for all the pages you want to have crops for. This will make the pages larger, but still no trim marks yet.
    Next to to Advanced, Print Production, Add Printer Marks, choose trim marks. Make sure you have selected all the pages you wanted the trim marks to appear on. The trim marks will appear on your pages.
    Kinda reverse of what you'd expect, but it will do it.
    By the way this needs Acrobat Pro, not Reader.
    Tom

  • That little blue question mark

    I place a hyperlink to 'sending an email' and publish. On the published site a small blue question mark appears however the link is active. Why doesn't the email address show up as on the page in iWeb?
    Any ideas?

    The little blue question mark on your published pages as viewed in a browser usually indicates that an image was not loaded. You may have to reload the page in order to force the image to download. It might also help to empty your browser cache (Safari>Empty cache) and/or add a "?" to the end of your URL to force the browser/server to fetch a fresh copy of things.
    If any of this proves to be useful to you, please do me a favor and mark my reply as "solved" or "helpful" using the little buttons that you see in the title bar of this reply. Thanks.

  • I am trying to copy a color that shows a question mark in display window.

    I am trying to copy a colro that shows as a question mark in the display window.  This shown below.

    Just a broken link, Paul.
    Are you sure the link is viable?
    If you just wish to show an image, you may use the Insert Image button, which looks like a camera, at the top of the box where you write your post.

  • Got a brand new lens that came with a mark on it.. What to do?

    Hi everyone,
    I just received a brand new Canon 75-300mm f4-5.6 III lens as part of a Rebel t3i bundle I ordered from a company called Cameta Camera. I took it out of the box and took the front lens cap off to inspect the outer glass because I am **bleep** like that. I saw what i thought was a few specs of dust so i capped it and put it in my bag until later that night. I tried to clean it several times and everything came off except one tiny mark that is close to one edge of the glass. I tried everything to remove it and finally I figured out that it is a defect in the actual glass, not sure if to call it a pit or a tiny scratch or what. Anyway, it bugs me a lot so i called the company and the have this process for returning that is a pain where you have to pay shipping to send it back, they inspect it, and if they decide you didnt do it, they will send a new one and reemburse you part of the shipping. It also has what looks like some air bubbles in the inner glass but i know thats normal, those are actually near the center and i hear they would not affect the image quality.
    I am just wondering if you guys think this would affect the image or not and would you bother with the pain in the butt return process? I have taken a few photos with the lens but i am not sure whether it affects the image or not i am not a pro and really dont know what to look for, i do not see anything obvious though like you would with sensor dust.
    I would love to hear from some pros or anyone who has encountered this or knows anything about it.. I only have 5 days to decide what to do and the 4th is coming up so i probably need to decide by tomorrow.
    Thanks

    Yeah the speck is the size of a piece of dust, close to the rim of the front lens element. It looks exactly like a piece of dust but isn't one.. You have to shine a light in the lens at an angle to see it. I dont know if i mentioned or not but there is also a piece of dust in the inner lens glass close to the center but i have read that is completely normal and isnt something to worry about. At this point from what you guys said and everything I researched, i do not believe it will show itself on my photos. I am curious though why you and Skirball would tell me that, and then tell me i should return the entire kit and buy it from B&H though... It seems you guys are super biased towards B&H lol. I know B&H is good and I got my last video equipment from them a few years ago... But they cannot come close to giving me the price that I got for the stuff in this bundle. I paid less for everything I got including the camera with the extra lens, than if I had of bought the camera and extra lens seperate from anywhere else including B&H. I am on a budget so i researched heavily before buying for the best price i feel pretty good about that.
    So do you think I should swap the lens just for the fact that I paid good money for it and it is supposed to be new, therefore not having any permanant specks on it (thats how i think and it seems a lot of folks do about lenses).. Or is there some other reason?

  • Help with Outoing Email that is being incorrectly marked as spam by Verizon

    I'm trying to send my daughter's livejournal homepage link to a few people and Verizon keeps flagging it as spam.  When my daughter sent me the link on 1/4/10, her email ended up in my spam folder, even though she used her .edu email address as she usually does.  Is the problem with the link or has her email address suddenly been flagged as suspicious? HELP!!

    I suggest you take a look at the link provided in the error: www.verizon.net/spamfaq
    It is the content of the message that is being flagged as spam. If you feel that the content should not be blocked, you can forward the message to [email protected] as an attachment.
    As stated in the Spam FAQ page, you will not get any response when sending the message to [email protected] for review. You attach the message that you are unable to send, and they review it. Depending on the outcome of the investigation, the filter will either be updated to allow the content that was previously blocked, or it will be determined to be a legitimate block and no changes will be made.
    Some troubleshooting steps you can try:
    If you have a signature, try removing one line at a time from it and attempting to send the message again. Some signatures look like "ads" to the filters, apparently.
    If you are using a pop3 client (Outlook, Outlook Express, etc.) try sending your message from the verizon.net website. If this resolves the issue, then it is something that your client is adding to the message that is causing it to be blocked.
    If the Subject line of your message has a whole bunch of "Fwd: Fwd: Re: Fwd:" try removing some of them.
    Remove any links/URLs from the email one at a time to isolate if one of them is causing the block.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • Duplicate exs instruments marked with a plus sign?

    Hello,
    I recently upgraded to Logic Pro x and performed a full-content install from the App Store.  Afterwards, when looking through the exs instruments, I noticed that there were a fair amount of what looked like duplicate instruments installed, with one of the two including a "+" at the end of the file name to distinguish the one from the other.  After auditioning several of the pairs, I feel as if they are the same exact instrument, though I am confused as to why two similar exs instruments  would be installed . . .
    Are they really dupes and why would they be a part of the installation package in the first place?  Thank you!

    I'm pretty sure the ones with + signs utilize articulation IDs.  If you open the event list, in the view menu, you will see an option to show this column. It is how you switch between articulations (legato, pizzicato, etc. on strings for example).  That used to be done with the mod wheel when applicable.  Sometimes, but not always, there will also be a smart control mapped to this.  Not all the + sign ones have an equivilant without the + sign (at least on my install).

  • On my older I-MAC (2005) the computer turns on, but all I see is a grey screen with a small file that has a question mark and smiling FINDER face on it. Then the fan comes on and becomes very loud. Please help...

    My older I-MAC gives me a grey screen and flashes a question mark and smiling FINDER face inside a FILE icon. Then the fan begins to run and becomes very loud...and thats as far as it will let me go.

    See KB Articles:  http://docs.info.apple.com/article.html?artnum=106805 Mac OS X: "Broken folder" icon, prohibitory sign, or kernel panic when computer starts
    http://docs.info.apple.com/article.html?artnum=31355 Mac OS: Flashing Globe When Computer Turns On or A folder that has an alternating flashing question mark
    http://docs.info.apple.com/article.html?artnum=301733 iMac G5: How to Reset the SMU (iMac G5, the iMac G5 (Ambient Light Sensor), and the iMac G5 (iSight)).

Maybe you are looking for

  • Displaying all sublevels from root folder

    Hi, Can anyone please help me out from the following task, I need to display all folders from the following example. Eg:- Folder (Level 0) Folder1(Level 1) Folder11(Level2) Folder111(Level3) Folder2(Level1) Folder22(Level2) Note: Level is not fixed.

  • ITunes is telling me my iPad is synced to another library - how can this be?

    Hopefully someone can help with this! I just connected my iPad to my mac mini, opened iTunes, clicked "iPad", and then clicked "music".  I've been having issues with my playlists and was going to try to edit them this way.  iTunes wouldn't let me eve

  • Wish list for iOS iTunes

    Why on the iPad version of iTunes am I not able to add movies to my wish list?

  • Invalid key length: exception

    Hi, I will really appreciate if someone can help me on this. I created a keystore using below tool keytool -genkey -v -alias myAlias -keyalg DSA -keystore myKey.keystore -storetype JCEKS -provider com.sun.crypto.provider.SunJCEI am using following co

  • Q-Info Record found for material rev level 06

    Dear All I have an error Q-info record found for material xxx rev level 06 while doing migo inbound delivery. Even i verify with some documents also but till not to come out of this problem. Is any body having solution. Please specify whether it is m