How can I get Tex-Edit +  to operate correctly again?

In June of this year I got help in this forum on how to use Tex-Edit+ to italicize some text in parentheses. HD came up with a script that worked with Tex-Edit + and was shown in the Thread "How can I get Applescript to work correctly again."
I tried to apply the same script to another document but I can't get it to work this time. The procedure requires copying the document to a Tex-Edit + window. I get this window by opening Tex-Edit + and selecting "New". When I copy the document to this window, the type becomes larger and is colored blue. When I try to run the Tex-Edit + script, it returns "Cannot open document 1". I am making some kind of mistake but I don't know what it is.
Would appreciate comments.

Yvan-- Good idea. Here's the script:
"I don't know why this is happening. But I would recommend that if you have a large document to process, you get Tex-Edit Plus (not TextEdit), copy and paste the contents of your original document AppleWorks document into a new Tex-Edit Plus window, and use the following script instead:
tell application "Tex-Edit Plus"
tell document 1
replace looking for "^c" replacing with "rrparmarkrr"
replace looking for "(" replacing with "^cxxbeginitalsxx("
replace looking for ")" replacing with "^cxxenditalsxx)"
set parcount to count paragraphs
repeat with x from 1 to parcount
if paragraph x begins with "xxbeginitals" then set style of paragraph x to italic
end repeat
replace looking for "^cxxenditalsxx" replacing with ""
replace looking for "^cxxbeginitalsxx" replacing with ""
replace looking for "rrparmarkrr" replacing with "^c"
end tell
end tell
Almost instantaneous..."
H
As noted, this script worked fine on the first document I tried. (I pasted it into a Script Editor window.) With the second document, it doesn't work properly, as I explained in the first post above.
I don't know what I'm doing wrong.

Similar Messages

  • How can I get the edited pictures from the thumbnails to full size?

    I upgraded to iPhoto 11, the thumbnail photos show my previous edits, but when I click on the photo to make it bigger, it reverts back to the unedited, original picture.  How can I get the edited pictures from the thumbnails to full size?

    Verify you are using iPhoto11 ver 9.5
    if not run the >Software update or check your apps folder and make sure the correct iPhoto is launched,  not an older ver.

  • How can I get the edited value from the editor in JTable

    I have a JTextField added as an editor to a cell in JTable.
    I value gets changed when I press enter.
    but in actionPerformed of the JTextField when I say
    String txtEditorValue = txtEditor.getText();
    I am getting the old value. How can I get the edited value? Thanks.

    Hi,
    I guess, your understanding of how JTable works together with its models is not good enough - for example the method getTableCellEditorComponent(...) of the TableCellEditor interface is used to get the component, that should be used as editing component - its second parameter is a value that should be used to setup the editing component - it is normally not the editing component itself.
    JTable uses an underlying TableModel to store the cell values - if you have edited a cell, JTable gets the value of the editing component by itself and stores it in the TableModel using its setValueAt(...) method. To retrieve this data you only need to query the TableModel using row and column of this cell as parameters
    say jt is your JTable, and row and column are the row and column of the cell - so to get the value, simply use
    Object obj = jt.getModel().getValueAt(row,column);
    if you know, that there is a String in this cell use
    String str = (String) jt.getModel().getValueAt(row,column);
    The editor component is used for the view of the JTable - you only want the data, which is stored in the model - you don't have to deal with the GUI components in this case.
    greetings Marsian

  • How can I get my editing changes to stay when uploading to Facebook?

    How can I get my editing changes to stay when uploading to Facebook? For example, I have a picture that I have adjusted the sharpness,highlights and I De-noise it,however,when uploaded it to Facebook, the changes I made are not reflected in the picture.

    exactly how are you uploading?
    LN

  • My iPod Classic is seen by Windows but not by iTunes.  I have reset it, gone to disk mode and it won't show up in iTunes.  There appears to be music on it in a file called MUSICSAVE.  How can I get this to work with iTunes again?

    My iPod Classic is seen by Windows but not by iTunes.  I have reset it, gone to disk mode and it won't show up in iTunes.  There appears to be music on it in a file called MUSICSAVE.  How can I get this to work with iTunes again?

    1. Update iTunes to the latest version. Plug in your iPod. If iTunes still can't recognize it, then in iTunes in the top left corner click help> run diagnostics. On the box that comes up, check the last two things. Click next and it should identify your iPod.
    2. Click on your windows start menu. Type in "services". Click on it and when it pops up, on the bottom of it click on "standard". Now Scroll down to find "Apple Mobile Device" Right click it when you see it and click on "Start". When it has started, close iTunes and replug in your iPod and it should show up.
    3. Check the USB cable
    4 Verify that Apple Mobile Device Support is installed
    5. Restart the Apple Mobile Device Service and verify that the Apple Mobile Device USB Driver is installed.
    6. If you just want to add some photos, songs and movies from computer to your devices, you can use an iTunes alternative to do the job
    7. Check for third-party software conflicts.
    <Link Edited By Host>

  • After I reset my Ipod (deleted all data and settings) windows 7 doesn't recognize by ipod touch, and it doesn't appear in the itunes library or in the device menu, but it does charge. How can I get my computer to recognize it again?

    After I reset my Ipod (deleted all data and settings) windows 7 doesn't recognize by ipod touch, and it doesn't appear in the itunes library or in the device menu, but it does charge. How can I get my computer to recognize it again?

    Refer to this article:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538

  • After purchasing a song on the iTunes store, the song did not download entirely. How can I get a refund or download it again without rep[urchasing it?

    After purchasing a song in the iTunes store, the song was downloaded, but when I went to play it, it was not completely recorded. How can I get a refund or download it again without being charged again on my account?

    Hi Dan,
    If the song does not appear in your Purchased folder, then you can go back to the Store, select the song again, go select "Buy", and press Enter. iTunes knows you already purchased it, so it won't charge you again. It will, in fact, tell you that you have already purchased this item, and will ask you if you want to download it again for free....
    Just in case it is not to be found in the Purchased folder!
    Hope this helps!
    Cheers,
    GB

  • How can I get you tube playlists to open again, QuickTimePlayer can't open video.3gp

    How can I get you tube playlists to open again after upgrading to Mavericks, QuickTimePlayer can't open video.3gp

    DL and install the 10.6.8 v 1.1 COMBO update, repair permissions, restart, and try the store again. If still no go, try http://www.apple.com/support/mac/app-store/

  • HT4528 I can't remember my icloud ID and password. How can I get that to activate my phone again?

    I can't remember my icloud ID and password. How can I get that to activate my phone again? When I went to update it .. there was an error .. so I restored it from the icloud and now I can't activate it.

    I already started there and I need to reset my icloud info, because I know my apple ID and password and for whatever reason I just reset my apple ID password to see if that did anything, (Which it didn't) In other words, how can I get my icloud reset so I can activate my phone?!!

  • Macbook upgraded from 10.5.8 to mountain lion. I lost the update when I tried to restore my old information. How can I get my update back without paying again?

    I took my mac to an iStore in South Africa however my country does not have an iStore. Macbook upgraded from 10.5.8 to mountain lion. I lost the update when I tried to restore my old information. How can I get my update back without paying again?

    Ok, that sounds like a valid approach...but now the question is, when you say you lost the upgrade when you tried to restore, exactly what do you mean?  Restore from a Time Machine backup, or another kind of backup?  What happened to the operating system when you did that?
    If it damaged the operating system, you should be able to recover it by restarting your computer holding either the Option key (should result in a grey screen that shows the macintosh hard drive and a recovery hard drive), or by holding the Command and R keys while starting.
    You can use the recovery hard drive to reinstall Mac OS X either way.  If the Option key restart, click on the recovery hard drive to boot from that.
    Then with either approach you will have a screen with a drop-down that gives you choices, such as install Mac OS X, Disk Utility, Terminal.  You will want to use Install (or Reinstall) Mac OS X...note, you must be connected to the internet from this point on.

  • How can I get the scrubber software to correct a driver installation error?

    I am currently on Windows 8.1.  When I try to install the printer driver for my OfficeJet Pro L7650 I get the following error message:  "System cannot find file specified".  
    I have read that there is a scrubber software that will solve this issue.  How can I get this software?
    This question was solved.
    View Solution.

    You can get that HP program here.
    Restart your computer.
    Next run the HP Printer Install Wizard program found here.
    Please mark the post that solves your issue as "Accept as Solution".
    If my answer was helpful click the “Thumbs Up" on the left to say “Thanks”!
    I am not a HP employee.

  • After updating to mavericks I have to constantly enter my apple ID for mail, iBooks, iTunes and many other applications that used to be part of my keychain. How can I get my log-in to work again?

    After updating to mavericks I have to constantly enter my apple ID for mail, iBooks, iTunes and many other applications that used to be part of my keychain. How can I get my apple ID log-in to work again?

    Several times I've re-entered my passwords under Preferences/Internet Accounts/iCloud and it won't save since I've installed Mavericks.  Also, the iCloud icon in the left column in Preferences/Internet Accounts/iCloud is greyed out but allows me to click on it to set-up.  When I click on iCloud the password is filled out but the "Enable this account" check-box is not checked.  I check it, and all seems correct.  The icon is no longer grey, the password is correct, the "activate this account" check-box is checked.  Then, when I launch mail, notes etc. I'm still prompted to re-enter my apple ID.  The log-in loop continues.  For years my keychain has worked perfectly.  What has changed in Mavericks?

  • How can I get my home button to work again

    How can I get my home button to work again

    Well, if your Home button is broken, you won't be able to reset your phone, and if the Sleep/Wake button won't turn your phone on, it's a trip to the Apple store.

  • How can I get Apple to send my password again?

    After being locked out of my ipad, i had to restore, but did not remember my password.  Apple sent me the password by email, but i had trouble getting in my email and by the time I got it opened the link to my password had expired.  How do I get them to send me it again??

    Hi spoiled2001,
    Welcome to the Support Communities!
    The article below may be able to help you with this issue.
    Click on the link to see more details.
    Apple ID: If you forget your password
    http://support.apple.com/kb/HT5787
    Cheers,
    - Judy

  • My iTunes library is not appearing in the main window, only the iCloud stuff.  How can I get my full library to appear again?

    I just opened up iTunes and my full music and film library was not visible.  Only files that have a cloud icon next to them show up.  How do I get full music and film access back again?
    I never use iCloud and don;'t believe I ever set it up to operate on my system.

    Hello Stormjib,
    After reviewing your post, I have located an article that can help in this situation. It contains a number of troubleshooting steps and helpful advice concerning iTunes Library issues. Your iTunes media folder may have been move or modified, which would explain why you can only see media in the cloud:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

Maybe you are looking for

  • F4 help not working in mss requisition form for erec

    HI,      I am getting a problem while filling a mss requisition form for E recruting Ehp 4 . F4 help is not working for position id & org unit.it is not returning values while searching.I am using form scenarion sqr03.Plz suggest any solution.

  • Problem while running the xml report in concurrent program

    Hi, In EBS r12, we have requirement to have a standard report output in excel. I got the report's xml output to create the xml template (.RTF layout) using BI Publisher. I created the .RTF layout and it works fine on my laptop using Bi Publisher.. th

  • Web Gallery- Make the Site Title a link

    Not sure if this is common knowledge, so I figured I'd pass it along... You can make the Site Title a link by entering the following: <a href="www.your-url.com">Your Site Title</a>

  • Do I *need* to open iPhoto to get Photostream photos into the iPhoto library?

    Hi all, I don't really use iPhoto that much but since I started using my iPhone 4S as my principle out-and-about camera rather than lugging my DSLR everywhere I have started using it to archive all my mobile snaps using Photostream so that there's on

  • What's the quickest way to slice up this image...

    I found this image and would like to slice it up into separate images. What's the quickest way to do this without having to manally select each one or manually draw slice lines? My idea was to get them all surrounded by a marquee or path, and then so