XML files are being read as PBEM game file format!!

Hello,
I am trying to edit some .xml files in Script Editor but everytime I try to open them I am told :
'Script Editor cannot open files in the "PBEM game file" format'
(Double clicking the .xml file opens up the Big Bang game)
Does anyone know how to get round this? also is Script Editor the best application to use? I want to use an editor that has colours.
Many thanks, rob

Script Editor has one purpose - editing and compiling AppleScript.
I can't account for the wording of the error message, but for sure I wouldn't expect it to handle XML files directly.
You could use AppleScript to manipulate the XML data, but that's probably not ideal either.
What you need is a text editor. BBEdit would be my first choice, or its cheaper (read: free) sibling TextWrangler.
Both can handle any type of text file, including syntax highlighting for many structured files including programming source code.

Similar Messages

  • Mime type mismatch (.TIF file are being opened as a .FAX file)

    we have the same problem mentioned in SAP Note 1025341.  we applied the correction patch provided in the Note but it does not resolve our issue.  we are using ECC 6 and SAP GUI 7.1
    please suggest what else we can try

    Hi there,
    Did you ever solve this problem? We are experiencing the same issue.
    Thanks

  • How to check if a file is being read by another program?

    Hey all,
    I just have a few question for a project I am doing:
    How do I check if a file is being read by another program?
    How do I check how many lines it read?
    How do I get Keyboard input from the user when he is using another program other than mine? Ex: Pressing Ctrl-G to take a screenshot.
    How can I halt another program from reading a file when it already opened it? Ex: The other program opened a file and began reading. Now it is at line 2 and I want to make it skip 10 lines and contontinue.
    Thanks,
    Bluelikeu

    How do I check if a file is being read by another
    program?This is about the only partially sensible question you asked. But the answer is that unless you use some native code, you can't.
    How do I check how many lines it read?It doesn't even make sense to ask this question. First of all, what's a "line" anyway? Files are just sequences of bytes. A "line" is only in the interpretation of those bytes, such as if it contains <cr><lf> sequences an application may choose to render the contents of those bytes as logical "lines" of string sequences. Second of all, why the heck would it matter to you how many bytes have already been read by some other process(es)?
    How do I get Keyboard input from the user when he is
    using another program other than mine? Ex: Pressing
    Ctrl-G to take a screenshot.You want to spy on other applications? Shame on you, Mr. Spyware creator.
    How can I halt another program from reading a file
    when it already opened it? Ex: The other program
    opened a file and began reading. Now it is at line 2
    and I want to make it skip 10 lines and contontinue.Shame on you Mr. Spyware creator.

  • File corruption on SDCard when multiple files are being written from WinCE 6.0R3

    We currently have file corruption problems which we have been able to reproduce on our system which uses WinCE 6.0R3. We have an SDCard in our system which is mounted as the root FS.  When multiple files are being written to the file system we occasionally
    see file corruption with data destined from one file, ending up in another file, or in another location in the same file.  We have already written test SW that we have been able to use to reproduce the problem, and have worked with the SDCard vendor to
    check that the memory controller on the card is not the source of the problems.
    We know that the data we send to WriteFile() is correct, and that the data which eventually gets sent through the SDCard driver to the SD card is already corrupted.
    We believe that the problem is somewhere in the microsoft private sources between the high level filesystem API calls and the low level device calls that get the data onto the HW.
    We have confirmed that the cards that get corrupted are all good and this is not a case ofpoor quality flash memory in the cards. The same cards that fail under WinCE 6.0R3 never fail under the same types of testing on Windows, Mac OX, or linux.  We
    can hammer the cards with single files writes over and over, but as soon as multiple threads are writing multiple files it is only a matter of time before a corruption occurs.
    One of the big problems is that we are using the sqlcompact DB for storing some data and this DB uses a cache which get's flushed on it's own schedule. Often the DB gets corrupted because other files are being written when the DB decides to flush.
    So we can reproduce the error (with enough time), and we know that data into the windows CE stack of code is good, but it comes out to the SDcard driver corrupted.  We have tried to minimize writes to the file system, but so far we have not found a
    way to make sure only one file can be written at once. Is there a setting or an API call that we can make to force the OS into only allowing one file write at a time, or a way of seeing how the multiple files are managed in the private sources?
    Thanks
    Peter

    All QFE's have been applied we are building the image so we have some control.
    I have build an image which used the debug DLL's of the FATFS and I have enabled all of the DebugZones.  The problem is still happening. From the timings in the debug logs and the timestamps in the data which corrupts the test file I have been able
    to see that the file is corrupted AFTER the write is complete. Or at least that's how it seems.
    We finished writing the file and closed the handle. Then more data is written to other files. When we get around to verifying the file it now contains data from the files that were subsequently written.
    What I think I need to do is figure out in detail how the two files were "laid down" onto the SDCard.  If the system used the same cluster to write the 2 files then that would explain the issue.

  • Communication Channel marked all files as being read on FTP

    The Mailbox FTP has all the files flagged as being read when a single file is read through a communication channel.  I manually unflagged the status field so all files had a status of N so none were pulled.  I had 14 files for this test flagged as N.   I turned off all our CCu2019s.  I activated one that was pulling the last file in the list based on the Service Ref# which is unique file name.  I refreshed the dir of the FTP several times as the CC was running.  One by one as the flag was changed to Y (file read) from top to bottom.  It only took a second for each one until it got to three very large files and the status stopped while it was reading the file.  After a minute it continued to change the flag until it read the last one.   All 14 files on the ftp now had the status flag changed to Y.  It appears it actually read the file content one by one and set the flag until it was done.  Do you have any ideas why it would do this?  From a dos prompt I donu2019t have any of these issues so Iu2019m guessing itu2019s something unique in the SAP FTP adapter that is doing it?
    From a dos prompt I can successfully do a get 003520827870964903 c:data.txt and it will only update that ST flag for that one file as being read.  I can also do a get %EDT39A22%W_Z1JI4960 c:data.txt  and it will only flag the four files as being read that have that Mailbox/APRF value.  Now I'm trying to get my CC to do the same but no matter what I try it marks all six files as being read.   I have in my source directory %EDT39A22%W_Z1JI4960 and * for a file name and this will mark all files as being read when activated.   I have entered 003520827870964903 for a file name to further qualify and it still marks all files as being read.  It seems to be getting the file I want cause when I view the communication channel monitor it shows the right data in the payload but it always refers to another file for the archive / delete / test option from the processing tab.  There are no problems having a CC write a file out using similar parms for Mailbox/APRF, but trying to read a single file using the Service Ref # or a collection of files using a Mailbox/APRF mask seem to update the status for all files as being read.  Any suggestions are welcome.
    Mailbox ID           St    APRF                SNRF              Service Ref. #
    CMS                  N     CCR_GRIEF           filekh5LhC0000    003520599937481654
    CMS                  N     CLAIM_STLMNTS       fileza2TBr0004    003520769829611413
    EDT39A22             N     W_Z1JI4960          ileh3s0e60000     003520827846664146
    EDT39A22             N     W_Z1JI4960          fileUfXjR     003520827868994913
    EDT39A22             N     W_Z1JI4960          filePDFfKP0000    003520827870124419
    EDT39A22             N     W_Z1JI4960          fileQ7RFdR0000    003520827870964903
    Edited by: Kenbrown on Jul 28, 2011 9:10 PM
    Edited by: Kenbrown on Jul 28, 2011 9:13 PM

    Have you installed any apps that auto display the emails when they come in? If so the auto read feature may be triggering this, I had a app at one time that showed my emails in the preview window and it made the emails be listed as read... I would check your apps and make sure you are not using something like this unknowingly.

  • Special characters being read from the unicode file for greek language

    Hi All,
    I have a report which would upload a unicode file and then update the vendor master data accordingly.
    The file contains greek characters too.
    when the file is being read in the code, some special characters are being added up to the vendor number which is the first entry. The special characters are not included in the file , but are added up only to the first vendor number and not any other vendor numbers.
    The logic that is being used is as follows :
    TRY.
          IF unicode IS INITIAL.
            IF codepage IS INITIAL.
    *-->      For backward compatibility where this FM might be called from
    *         other dependent objects (FMs/dynamic subroutines)
    *         which donot have access to  user's input w.r.t Unicode parameters
              OPEN DATASET filename FOR INPUT
                   IN LEGACY TEXT MODE
                   MESSAGE msg
                   REPLACEMENT CHARACTER repl_char
                   IGNORING CONVERSION ERRORS
                   FILTER filter.                         
            ELSE.
    *--> System in non-unicode and Unicode Environment (Phases I and II)
              OPEN DATASET filename FOR INPUT
                   IN LEGACY TEXT MODE CODE PAGE codepage MESSAGE msg
                   REPLACEMENT CHARACTER repl_char
                   IGNORING CONVERSION ERRORS
                   FILTER filter.                          
            ENDIF.
          ELSE.
    *-->  Extract File in Unicode format - Phase III
            OPEN DATASET filename FOR INPUT IN TEXT MODE ENCODING UTF-8
            MESSAGE msg
            FILTER filter.                                 
          ENDIF.
          IF sy-subrc NE 0.
            MESSAGE e001(zuni) WITH filename sy-subrc
             RAISING file_open_error.
          ENDIF.
    the unicode parameters used are : codepage = 8000.
    An early reply is most appreciated.
    Regards,
    Manu.

    Please check SAP notes for Eastern European Characters in Unicode system. and may be below code helps you
    DATA:
        ltp_bom                  TYPE sychar01,
        ltp_encoding             TYPE sychar01,
        ltp_codepage             TYPE cpcodepage.
    Processing --------------------------------------------------------- *
      TRY.
          CALL METHOD cl_abap_file_utilities=>check_utf8
            EXPORTING
              file_name         = itp_filename
              max_kb            = -1
              all_if_7bit_ascii = abap_true
            IMPORTING
              bom               = ltp_bom
              encoding          = ltp_encoding.
        CATCH cx_sy_file_open .
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                  RAISING file_open_error.
        CATCH cx_sy_file_authority .
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                  RAISING file_authority_error.
        CATCH cx_sy_file_io .
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                  RAISING file_io_error.
      ENDTRY.
      CASE ltp_encoding.
        WHEN cl_abap_file_utilities=>encoding_utf8
          OR cl_abap_file_utilities=>encoding_7bit_ascii.
          CASE ltp_bom.
            WHEN cl_abap_file_utilities=>no_bom.
              OPEN DATASET itp_filename FOR INPUT IN TEXT MODE
                ENCODING UTF-8.
            WHEN cl_abap_file_utilities=>bom_utf8.
              OPEN DATASET itp_filename FOR INPUT IN TEXT MODE
                ENCODING UTF-8
                  SKIPPING BYTE-ORDER MARK.
            WHEN cl_abap_file_utilities=>bom_utf16_be.
              ltp_codepage = '4102'.
              OPEN DATASET itp_filename FOR INPUT IN LEGACY BINARY MODE
                BIG ENDIAN CODE PAGE ltp_codepage.
            WHEN cl_abap_file_utilities=>bom_utf16_le.
              ltp_codepage = '4103'.
              OPEN DATASET itp_filename FOR INPUT IN LEGACY BINARY MODE
                LITTLE ENDIAN CODE PAGE ltp_codepage.
            WHEN OTHERS.
              OPEN DATASET itp_filename FOR INPUT IN TEXT MODE
                ENCODING UTF-8.
          ENDCASE.
        WHEN OTHERS.
          OPEN DATASET itp_filename FOR INPUT IN LEGACY TEXT MODE.
      ENDCASE.
    Edited by: Nilesh Shete on May 7, 2010 5:29 PM

  • My CR2 files are being saved as PNG and not PSD

    When I import files into Elements 12 Organizer, I want to use the Instant Fix Smart Fix option. The CR2 files are being exported to the PNG format, and I want them to be PSD files, I don't have a way to return to the options of how to save my files by using the Instant Fix button. I really would appreciate some help on this. I can't seem to get any tech support by navigating the Adobe Web site - I always land in the Forums.

    In PSE12, whenever I want to use the smart fix option in the organizer for a raw file, I get a dialog with various format options and the possibility to check one of those formats by default. If I check the checkbox to always use that format and not to display the menu, I find myself in the same situation as yours.
    I don't know of a way to get the menu back... Deleting the organizer preferences should help, unless other users have a better idea.

  • AppleWorks documents are being saved automatically as Unix files. How?

    Working on a G3 iBook with OS X (10.3), all AppleWorks documents are being saved as Unix Executable Files by the program despite the dialogue box saying they will be saved as Appleworks documents complete with ".cwk".
    After a while of successfully opening these files via Get Info/ Open As, AppleWorks itself refuses to open up and I have to reload Appleworks onto the computer from disk for another brief lifespan.
    Ideas? Help please.
    MacBook   Mac OS X (10.4.8)  

    Welcome to Apple Discussions
    The files aren't actually saved as Unix executables, your system just thinks they are. I find this kind of file confusion often occurs if permissions aren't repaired using Disk Utility after a system update.
    You can "re-teach" your system what program opens those files. Click a known AppleWorks document in the Finder to highlight it & choose Get Info from the File menu. In the Get Info box, click the triangle next to "Open With." Click on this drop-down menu & choose AppleWorks 6. If AppleWorks 6 is not a choice, choose "Other" & navigate to the AppleWorks 6 application. Now click the "Change" button under the text that asks if you want to open all documents like this with AppleWorks 6.

  • HT1339 My nano won't restore, it says  it can't because "files are being used"  Please help me get the "chipmunk's and Beiber" off my ipod!!!

    I am trying to restore my nano to get my kids' chipmunk and beiber music off and it replys that it cant because files are being used.....what do i need to do???

    First and foremost, just say no to Beiber
    First, close all open apps on your computer and restart your computer. Open only iTunes when it restarts.
    Then, I would reset your iPod, probably not needed but I would do it  any way. Hold the sleep/wake button and the volume down button until the Apple logo appears. Wait for it to completely start  up to where it is ready to use.
    Now try and restore. If the iPod was synced with your own computer to put the music on, you can use it to remove it. Usually that is preferred instead of restoring.

  • Flash player in Firefox acts as if keyboard buttons are being held down during games

    I am running Flash Player version 11.5.502.146 for Firefox.  While playing flash games online, I often notice that the game thinks that a button is being held down on the keyboard.  I have not noticed a patten as to which games are affected or which buttons are being "pressed", but a game that is affected will always act as if the same button is being pressed.  For example, one game will always be pressing "Left" (the A key), even when I shut down all processes or restart the browser or computer.  Another game will always behave as if the Pause button is being pressed, causing the pause menu to constantly appear and disappear.  I have opened these games in Internet Explorer and did not have the same problem.  Anyone else having these problems, or have any suggestions?

    Flash Player Plug-in (All other browsers)
    THAT'S a full offline installer.
    Save it.
    CLose your browser.
    Run it.
    You're good to go.

  • Ipod cannot restore"because files are being used by another application"

    Hello all,
    I hope someone can help me. I think I mad a big mistake. I did a favor for my father who bought the newest IPod clip on shuffle for my mom. I agreed to get it up and running using my laptop, (which has Itunes for my Ipod w/video) would this create a conflict. Unfortunately I didn't think of asking BEFORE i tried to get the shuffle up and running. The shuffle works fine now but my 30GB Ipod is not able to sync any songs and has requested me to restore to the default settings. Which I tried but when I do it states that I can't because "files are being used by another application" So I tried to use the chat help on this website and when I logged in it picked my product type as a SHUFFLE. Can someone give me any advice. Thanks

    I get this messager and I have no other ipods or dev. to my system and have problems when I disconnect also?? Even have done a complete restore, to no help. Help

  • Recording which articles are being read

    I want to create a cloud tag of popular topics
    What i need to work out
    1. How to record which articles are being read
    2. How to display these in a tag cloud
    3. Then when a user clicks on a tag - all the articles which
    similar
    tag are displayed
    What i have done so far (how am i going?)
    Db called tags
    Tables
    tag, article title, article url, article description
    # each article has a few different tags
    e.g
    article for preventing std has the following tags
    std, sex, safe sex, HIV
    # the article itself doesnt exist in the database as i read
    this
    wasn't good for SEO. so the article itself exists on a static
    page.
    I have close to 100 medicla articles and add about 4 or 5 a
    month
    so i would love to get this working to save me time and
    effort.
    Many thanks
    Mark Holloway
    coordinator
    www.healthhokkaido.com

    Have been using this code from the pete frei tutorial - cloud
    tags -. It is working fine.
    In the case of my database, each article has 3 tags
    associated.
    So there are 3 fields as opposed to 1 from which to count the
    tags.
    How could I adjust the code to take accountfor this?
    Also I am a begineer so if you had the time to provide a
    short explanation that would also be great.
    <cfquery datasource="cart" name="tags">
    SELECT COUNT(tag) AS tagCount, tag
    FROM list
    GROUP BY tag
    </cfquery>
    <cfset tagValueArray =
    ListToArray(ValueList(tags.tagCount))>
    <cfset max = ArrayMax(tagValueArray)>
    <cfset min = ArrayMin(tagValueArray)>
    <cfset diff = max - min>
    <cfset distribution = diff / 3>
    <style type="text/css">
    <!--
    .smallestTag { font-size: xx-small; }
    .smallTag { font-size: small; }
    .mediumTag { font-size: medium; }
    .largeTag { font-size: large; }
    .largestTag { font-size: xx-large; }
    -->
    </style>
    <cfoutput query="tags">
    <cfif tags.tagCount EQ min>
    <cfset class="smallestTag">
    <cfelseif tags.tagCount EQ max>
    <cfset class="largestTag">
    <cfelseif tags.tagCount GT (min + (distribution*2))>
    <cfset class="largeTag">
    <cfelseif tags.tagCount GT (min + distribution)>
    <cfset class="mediumTag">
    <cfelse>
    <cfset class="smallTag">
    </cfif>
    <a href="/tag/#tags.tag#"
    class="#class#">#tags.tag#</a>
    </cfoutput>

  • I am trying to change the order of one of my audiobooks (media kind: audiobook), but the ID tags are greyed out.  I can't change tags for almost all my audiobooks.  Music files OK. Files are all read/write. Repaired disc perms. OS 10.9.4. ITunes11.4

    I am trying to change the order of one of my audiobooks (media kind: audiobook), but the ID tags are greyed out.  I can't change tags for almost all my audiobooks.  Music files OK. Files are all read/write. Repaired disc perms. OS 10.9.4. ITunes 11.4  I don't have iTunes Match.

    Select all the songs and then Advanced -> Convert ID3 tags.
    http://docs.info.apple.com/article.html?path=iTunesWin/6.0/en/655win.html

  • Pleaswait while the downloaded files are being extracted-100% completed

    With the trial dnload
    of PS5 ext the message
    "Please wait while the downloaded files are being extracted…100% completed"
    was as far as things went. My Downloads File
    shows no CS5 activity. Please help.

    I'm (let's say over 50) and have worked with PCs for 30 years, and bigger computers for some years before that.  No hassles here.  But I'm a computer engineer.
    It's kind of like that scene with the satellite phone in Jurassic Park II when they first get to the island...  "You've gotta love it for it to work."  "I'll love it when it works." 
    -Noel

  • New user- all my files are now read only -

    I am using a Dell Inspiron 8600 laptop with Windows XP  and my husband has a Dell Dimesion 4600 desktop.  Two weeks ago I installed a Linksys Compact Wireless-G USB adapter on his computer and then installed a WRT54G v.6 wireless router.  All is working fine for internet connection. Today I discovered all my files are now read only and even when I uncheck the read only box and click apply, then close the file, on re-opening it it is again read only.  Even the files on my external hard drive are now read only. 
    I am backtracking to see where a change was made that was unintended and the wireless router was the last thing I installed.  Is there a connection?  And if so, can someone help me make the necessary changes or tell me where to find out?
    I read through a lot of messages but did not immediately see this situation addressed. 
    Sandra

    seems to be an OS issue , because there is nothing on the router setting that could change the configuration on the computer....try System Restore....can't think of anything else at this point...

Maybe you are looking for

  • Best way to layout multiple images on a page

    Hi , I am a complete newbie to Dreamweaver and CSS, but am getting there :) I have a page with a <div>  #container that is 400 px wide, and is wish to install 4 images as a 2 x 2 matrix in this container.  What is the best way  to do this with CS4? 

  • RAW bug

    Be gentle, I normally don't post unless I've exhausted all my options. I'm generally very patient but the problem I'm experiencing is incredibly frustrating. Running CS5, with most recent updates on a late 2009 17" macbook pro (unibody) As of the las

  • Issue with Action in Transaction

    Hi Experts I have Created new action and assigned it to lead., this action is to create work flow ( WS10001011 ) for opportunities from lead if the user status is equal to "Accepted by sales". But when ever lead status is changing to "Accepted by sal

  • Maven plugin

    hi, while mvn compile following error is ocuring.can anyone give me any clue. [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found Thanks&Regards Nirmal kumar Ghosh

  • HDOne or EVO HD

    They seem almost identical. Which would you prefer and why? I primarily edit HDV-ProRes and occasionally DVCProHD. If I purchase an 8 bay with only 2 or 4 drives in it, what is the process for adding other drives? They have to be added before data is