Alter and update text from C#?

Does anybody know if it's possible to alter and update text from C#?
I've added a reference to Interop.Illustrator.dll COM type library and managed to cobble together have this bit of code
            Illustrator.Application app = new Illustrator.Application();
            Illustrator.Document doc = app.Open(
                "c:\\MyIllustratorDoc.ai",
                Illustrator.AiDocumentColorSpace.aiDocumentRGBColor,
                null);
            foreach(Illustrator.TextFrame textFrame in doc.TextFrames)
                Console.Write(textFrame.Contents);
which just dumps out the contents of all the TextFrames but from the documentation I've found, Contents and everything else that gives access to any text, is read only.
I was hoping to be able to automate the maintenance of various bits of text by picking them up from SQL Server and then amending them directly in the ai file where needed.  Any help would be greatly appreciated.
Cheers,
Tim

Hi,
IPQ-2007-08-20 YES is in 1 field ..
At first is only 'IPQ-2007-08-20' in that field RM06I-LTEX2 now user want to fully utilize this long text field. so want to add something at RHS of this field.
You may refer this link to get clearer idea, what is the user want.
<a href="http://allyoucanupload.webshots.com/v/2003186583194973129">[IMG]http://aycu16.webshots.com/image/37295/2003186583194973129_rs.jpg[/IMG]</a>
How should I insert 2 column of data (eg 'IPQ-2007-08-20'  and 'YES' ) into this 1 field (RM06I-LTEX2) without overwrite each other?
Message was edited by:
        Peai Chun Ong

Similar Messages

  • How do I copy and paste text from a converted Word document?

    I just converted a pdf file into word.  I want to copy and paste the informatiuon into another document.  How do I do that?

    Hi Sara.  Tanks for responding.  If I cannot figure this out (I  was up
    until 2am last night), I want to cancel my subscription.
    Here are two files you can check on/help me with.  When I try again,  it
    comes up 'an error has occurred when trying to access the service.'
    Please advise.
    Pat Tomassi
    In a message dated 11/1/2014 12:55:23 A.M. Eastern Daylight Time, 
    [email protected] writes:
    How  do I copy and paste text from a converted Word document?
    created by Sara.Forsberg (https://forums.adobe.com/people/Sara.Forsberg) 
    in Adobe Acrobat.com Services - View the full  discussion
    (https://forums.adobe.com/message/6888908#6888908)

  • How do I cut and paste text from a Word doc to my yahoo email?

    I am suddenly unable to cut and paste from a Word document into the body of my yahoo email. I never had this problem before, but recently trying to paste my resume into the site 4entertainmentjobs.com, I ran into trouble. I followed your instructions and found my profile folder, but there was no user.js file in there. I created one in text edit and replaced mozilla.org with 4entertainmentjobs.com, but it still didn't work. Today I tried to go back and put Mozilla back in, but I still cannot get it to work. Then I downloaded your add-on "allow clipboard". That did not work either.

    Hi Sara.  Tanks for responding.  If I cannot figure this out (I  was up
    until 2am last night), I want to cancel my subscription.
    Here are two files you can check on/help me with.  When I try again,  it
    comes up 'an error has occurred when trying to access the service.'
    Please advise.
    Pat Tomassi
    In a message dated 11/1/2014 12:55:23 A.M. Eastern Daylight Time, 
    [email protected] writes:
    How  do I copy and paste text from a converted Word document?
    created by Sara.Forsberg (https://forums.adobe.com/people/Sara.Forsberg) 
    in Adobe Acrobat.com Services - View the full  discussion
    (https://forums.adobe.com/message/6888908#6888908)

  • Preview - Cannot copy and paste text from pdf

    Hi there ...
    I usually have no problem copying and pasting text from a pdf using Preview ...
    However .. I recently received a pdf ... and there is no way it will highlight the text to copy ...
    The older pdf's are not affected ...
    I did a get info on the pdf ... it's not locked ... and it was made by Adobe In Design CS2
    I tried opening it with Adobe Reader 9 ...... but still no luck
    IN my search .. I noticed one other person had the same problem ... but he didn't get any responses..
    Thanks for any info ....

    If it's behind something else then you can open it in Illustrator and select the specific object you want. If it's rasterized then no.
    If this is a document you can share with the world then I'm sure we could tell you what specifically is going on if you posted it here.

  • Why am I no longer able to copy and paste text from a website?

    I am trying to copy and past text from a website and it will not even let me select it.  I am very familiar with how to do this, and it worked yesterday on the same page in safari.  Please advise if anyone knows how to fix this.
    Thanks,

    Hi, Jrpaige7. 
    Thank you for visiting Apple Support Communities. 
    You can still copy and paste material from various applications in iOS 7.  Here are the steps on how to process these steps. 
    iPhone User Guide
    If you are experiencing issues with this functionality, I would recommend closing multitasking and power cycling the device. 
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Cheers,
    Jason H. 

  • Creating a external content type for Read and Update data from two tables in sqlserver using sharepoint designer

    Hi
    how to create a external content type for  Read and Update data from two tables in  sqlserver using sharepoint designer 2010
    i created a bcs service using centraladministration site
    i have two tables in sqlserver
    1)Employee
    -empno
    -firstname
    -lastname
    2)EmpDepartment
    -empno
    -deptno
    -location
    i want to just create a list to display employee details from two tables
    empid firstname deptno location
    and same time update  in two tables
    adil

    When I try to create an external content type based on a view (AdventureWorks2012.vSalesPerson) - I can display the data in an external list.  When I attempt to edit it, I get an error:
    External List fails when attached to a SQL view        
    Sorry, something went wrong
    Failed to update a list item for this external list based on the Entity (External Content Type) 'SalesForce' in EntityNamespace 'http://xxxxxxxx'. Details: The query against the database caused an error.
    I can edit the view in SQL Manager, so it seems strange that it fails.
    Any advice would be greatly GREATLY appreciated. 
    Thanks,
    Randy

  • Is It Possible To Select And Copy Text From A PDF Document ?

    Occasionally I would like to copy and paste text from .pdf documents.
    I have not found any way of doing it - is it impossible ?
    If it can be done - how ?
    Ian.

    Well, first off, if the problem pdf was made from a web page, then the text on that web page probably wasn't built as html text. But that's not your problem. As for the pdf itself, you have a couple options, although neither of them are as good as being able to copy/paste the real text.
    1) Use a screengrab (Cmd-Shft-4) of the text you want. This will create a .png file on your desktop of the area you selected. You may be able to insert this into Appleworks, although by nature it will still be a lo-res image, which won't print that great. May still be better than what you got originally. If you can't insert the .png, you can open it in Preview and save it in another format.
    2) If available, you could open the problem pdf in Illustrator or Photoshop, see if that works better. Some pdfs, depending on where they originate, can be text-editable when opened in Illustrator (although the fonts used must be installed on your Mac to show up correctly).
    Finally, if you like, you could email me the pdf or URL and I could take a look at it to see what I can do to help.

  • How to copy and paste text from a web site viewed in Chrome using the Xperia z3v?

    I have searched high and low for a way to copy and paste text from a web site in Chrome using the Xperia z3v.  I've tried a long tap, a double tap, a triple tap - nothing works. I am able to select text, copy and paste it in a Word doc, however.  There must be some way to do this on a web site in Chrome. I'm certain I am not trying to select text that is really an image. I am trying to copy text. Here is the link where I'm trying to get the text. It's a recipe.http://www.foodnetwork.com/recipes/ree-drummond/mushroom-pilaf.html#! Maybe I should try to get Firefox for smart phones and see if that works. Any ideas?Thank you!

    Curnow 1 wrote the following:  "you should do a tap wait a sec and 1 more tap in the same place and hold the Second tap ;https://www.dropbox.com/s/23whtlt2gizxu27/MOV_1048.mp4?dl=0" Curnow1, this actually worked! Holy Cow, who'da thought?!!Thank you. I gave you a kudo and I marked this as a solution. Thanks again!PS - I'm amazed at how long it takes me to accomplish seemingly simple things with a smart phone. This is my first smart phone ever. I am a former computer programmer and am very PC literate. Still, sometimes I pull my hair out. Thanks again! 

  • Muse 3.1 crashes often upon copy and paste 'text'from illustrator

    Experience persistent crashes in Muse 3.1 whenever I copy and paste text from illustrator to  Muse.

    I would use the older version so you can continue working while troubleshooting continues in CC2014, if you haven't uninstalled it yet (and it didn't also lose the ability to copy/paste).
    Have you tried any of the usual suspects?
    Clear program cache and/or rename config folder: Deleting a corrupted cache file
    Restore Preferences: Restore preferences | Dreamweaver CS4, CS5, CS5.5, CS6

  • Why can't you copy and paste text from the Dictionary widget?

    I use this dictionary often, but I wish that I was able to copy and paste the text from it.

    Just use the Dictionary application in the Applications folder. You will have no problem copying and pasting text from the full application. I just tried it and it works fine.

  • HT4641 How do you copy and paste text from a website to a pages document please. I could do this on my old ipad but not with ipad air  thank you

    How do you copy and paste text from a website to a Pages document please. I could do this from my old ipad but not from ipad air. Thank you

    Welcome to the Apple Community.
    Why what happens when you try.

  • Why cant I copy and paste text from my book thats in the library?

    Why cant I copy and paste text from my book thats in the library?

    MCWEB wrote:
    Can I Copy and Paste text from one Contact to Another on iPhone 3G?
    You will be able to do copy & paste when 3.0 comes out this summer.
    Or even better while the iPhone is connected to my PC can I view the address book on the iPhone and make changes using my PC keyboard?
    No. You would make changes to the address book on your PC and then sync via iTunes.

  • How to copy and paste text from one photo book page to another.

    hello,i downloaded this software 2days ago,and i've been having so much fun with it. pls i need help on how to copy and paste text from one photo book page to another. Secondly how to copy my completed photo book pages project to another laptop for printing. thanks
    This question was solved.
    View Solution.

    Hi DG.
    The easiest way to copy an HP Photo Creations project to another computer is to click the Share button. That will upload the project to the Web and give you a link you can paste into an email. Clicking the link on the other computer allows you to download the project and personalize it. This quick video shows the process. (The screen looks slightly different now, but the concept is the same.)
    Another way to share a project is copy the project folder to a thumb drive. Look in Documents/HP Photo Creations/My Things to find your saved projects.
    Our customer support team would be happy to walk you through the process. Contact them at [email protected]
    Hope this helps,
    RocketLife 
    RocketLife, developer of HP Photo Creations
    » Visit the HP Photo Creations Facebook page — news, tips, and inspiration
    » See the HP Photo Creations video tours — cool tips in under 2 minutes
    » Contact Customer Support — get answers from the experts

  • Can I Copy and Paste text from one Contact to Another on iPhone 3G?

    Can I Copy and Paste text from one Contact to Another on iPhone 3G?
    Or even better while the iPhone is connected to my PC can I view the address book on the iPhone and make changes using my PC keyboard?
    I had a challenge importing from my outlook as it created dual entries for people I had with multiple email addresses or telephone numbers so I need to copy and paste contact info from one to antoher.
    Can anyone help?

    MCWEB wrote:
    Can I Copy and Paste text from one Contact to Another on iPhone 3G?
    You will be able to do copy & paste when 3.0 comes out this summer.
    Or even better while the iPhone is connected to my PC can I view the address book on the iPhone and make changes using my PC keyboard?
    No. You would make changes to the address book on your PC and then sync via iTunes.

  • Trying to copy and paste text from a pdf to a webpage

    trying to copy and paste text from a pdf to my iWeb edit page shows up as red lines,  only shows up on the website if I highlight it, please help

    If it only shows up when you highlight it, then it could be your font or your font color. Try changing both to a different font to see if that helps. If not, copy it into a word processor such as Microsoft Word, Pages, or Text Edit to see if it shows up there. If it does, try copying it again from the processor to your webpage.

Maybe you are looking for

  • Why is native resolution not shown HDMI?

    Hi, Just bought a new mac mini, connected to Samsung 932MW via HDMI cable.  Can't choose native 1400x900 - not available.  Display looks unclear. Any ideas? Cheers, Chris

  • Big help request...

    I am writing a program for school (and as such I cannot write it in a way that makes sense to normal people) using a one dimensional array with 50 integers. After prompting the user for the initial value (and making it an odd number no matter what th

  • Unable to connect to a Wireless Printer (Printer always Offline)

    Hi, please help me. I am desperate now, even though I feel very happy at first when I purchase my macbook air. My computer: 1. 13.3" macbook air with latest OSX Lion installed. 2. 12" Acer notebook with Windows 7 installed. My wireless router: 1. Lin

  • Banking Loan Product Types

    Hi experts;      I need to create a taken loan from bank for my client. After search on the forum I found that it can be done through FN1V as mentioned below in the following thread: Akhil Poddar                    Jul 12, 2012 6:56 AM               

  • Kernel overload on Solaris 9 and V20Z

    Hy, I have just buy some new v20z, install Solaris 9x86 apllied all the patchs and if I take a look on top, I have 30-40% used by the kernel !! and the server do nothing !!! If I bring one of the CPU offline, the system comes back to a normal state !