Pictures in fold seem to load a text document

when i want to look at my pictures they load as a text not a picture?

What format are the pics in (.jpg, .png, .tif or what?)
What application are they opening in?
Are these pics you've taken yourself or downloaded from web sites?

Similar Messages

  • Pictures and events seem to be disappeared of iPhoto, as if it had just installed . However, libraries remain in the 'pictures' folder. How to return them to iPhoto? Thank  you

    Pictures and events seem to be disappeared of iPhoto, as if it had just installed . However, libraries remain in the 'pictures' folder. How to return them to iPhoto? Thank  you.

    What is your iPhoto version? If you are using iPhoto '11, simply double click the iPhoto library in the Pictures folder to launch iPhoto on this library.
    In earlier versions hold down the options/alt ⌥-key and double click iPhoto in the Dock to get to the Library Choser panel. Use this to point iPhoto to the correct library.
    Regards
    Léonie

  • How to load a text file?

    I'm trying to load a text file and I've run into a wall. So
    far, I've loaded swf files, image files and XML files without
    problems. But the text files just don't seem to load.
    It's not a tough situation. The files are in the same
    directory as the application. When I run it, I see no sign that the
    file has loaded, but haven't found the error trapping to tell me
    what is (not) going on.
    The code below was culled from examples on the web, they seem
    fairly consistent, and they are copied pretty much exactly. and I
    put them both into a single action to test them.
    Any clues as to what is not happening? I need to read an old
    txt data file that was used with AS2, with pairs of names and
    variables. The first example just reads a couple of variables. The
    second just reads some random text. I'm just trying to see what
    works here, so I can incorporate working code into the real
    program.
    Thanks for your help.

    Thanks Joergen,
    I put in the changes you suggested and still no sign that the
    files are even being opened., but it's very good to have the
    feedback. Just the fact that someone is getting them to run gives
    me confidence in the basic code. I'll hack on it more and let you
    know what the answer turns out to be for me.
    Thanks.

  • Error loading a text file during creation of data load rule

    Hi,
    I am trying to load this text file but whenever I open File -> Open Data File and then click on the file, it says "Invalid Blank Character in name". I tried changing the name of the file and everything but I do not understand what it really means. Can anyone help me out please? This seems like a simple error but I am unable to figure it out. Thanks.
    -- Adi

    As Glenn said, there should not be any space in the path that causes the error.For instance if you have ur file in the desktop(C:\Documents and Settings\Desktop), there would be space in between Documents and Settings. To avoid this, you could directly save in your local disk drive(C:\, D:, E:\).
    Regards
    Cnee

  • Possible to Remove, Then Load All Text Styles?

    I'd like to remove all the Paragraph Styles and Character Styles from an InDesign CS4 document, and replace them with Paragraph Styles and Character Styles from another InDesign document. A search of this forum resulted in a similar discussion, http://forums.adobe.com/message/2919544 in which a script was utilized to remove all the text styles from a file.  The script is shown below.
    The script is a timesaver as is, but I was wondering if it could mofified to "Load All Text Styles" from a file path/InDesign document that I specify?
    Thanks in advance for any ideas on this.
    var myDoc = app.activeDocument;
    var myParStyles = myDoc.paragraphStyles;
    var myCharStyles = myDoc.characterStyles;
    for (j = myParStyles.length-1; j >= 2; j-- ) {
       removeUnusedParaStyle(myParStyles[j]);
    for (i = myCharStyles.length-1; i >= 1; i-- ) {
       removeUnusedCharStyle(myCharStyles[i]);
    function removeUnusedParaStyle(myPaStyle) {
       app.findTextPreferences = NothingEnum.nothing;
       app.changeTextPreferences = NothingEnum.nothing;
       app.findTextPreferences.appliedParagraphStyle = myPaStyle;
       var myFoundStyles = myDoc.findText();
          if (myFoundStyles == 0) {
             myPaStyle.remove();
       app.findTextPreferences = NothingEnum.nothing;
       app.changeTextPreferences = NothingEnum.nothing;
    function removeUnusedCharStyle(myChStyle) {
       app.findTextPreferences = NothingEnum.nothing;
       app.changeTextPreferences = NothingEnum.nothing;
       app.findTextPreferences.appliedCharacterStyle = myChStyle;
       var myFoundStyles = myDoc.findText();
          if (myFoundStyles == 0) {
             myChStyle.remove();
       app.findTextPreferences = NothingEnum.nothing;
       app.changeTextPreferences = NothingEnum.nothing;

    Sample of how to load styles from indd-file to document or app:
    #target InDesign 
    var myFolder = Folder('C:/path/to/Folder/with/Indd-Files');
    var allStyleFiles = myFolder.getFiles("*.indd");
    var arrayOfStyleFileNames = [];
    for(var myIndex = 0; myIndex < allStyleFiles.length; myIndex++ ){arrayOfStyleFileNames.push(allStyleFiles[myIndex].name)}
    var selectedStyleFile = chooseStyleFile (arrayOfStyleFileNames)
    function chooseStyleFile(arrayOfStyleFileNames){
            var myDialog = app.dialogs.add({name:"Optionale Formatdateien", canCancel:true});
        with(myDialog){
    with(dialogColumns.add()){
            with(borderPanels.add()){
                    with(dialogColumns.add()){
                        staticTexts.add({staticLabel:"Bitte eine Formatdatei wählen:"});
                    with(dialogColumns.add()){
                        var pickedStyle = dropdowns.add({stringList:arrayOfStyleFileNames, selectedIndex:0});
        if(myDialog.show() == true){
                    var pickedStyle = pickedStyle.selectedIndex;
                    myDialog.destroy();
        return File(myFolder.toString() + '/' + arrayOfStyleFileNames[pickedStyle])
        else{
            myDialog.destroy()
            exit();
    if(app.documents.length == 0){
         try{
                     RemoveIdStyles();
    app.importStyles (ImportFormat.PARAGRAPH_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.importStyles (ImportFormat.CHARACTER_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.importStyles (ImportFormat.OBJECT_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.importStyles (ImportFormat.TABLE_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.importStyles (ImportFormat.CELL_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.importStyles (ImportFormat.TABLE_AND_CELL_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.loadSwatches (selectedStyleFile)
                     delEmptyParStyleGroups();
    alert("Die Formate für " + selectedStyleFile.name + " wurden geladen.")
        }catch (e){
        alert ("Folgender Fehler trat auf: " + e)
    if(app.documents.length != 0){
         try{
    app.activeDocument.importStyles (ImportFormat.PARAGRAPH_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.activeDocument.importStyles (ImportFormat.CHARACTER_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.activeDocument.importStyles (ImportFormat.OBJECT_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.activeDocument.importStyles (ImportFormat.TABLE_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.activeDocument.importStyles (ImportFormat.CELL_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.activeDocument.importStyles (ImportFormat.TABLE_AND_CELL_STYLES_FORMAT, selectedStyleFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
    app.activeDocument.loadSwatches (selectedStyleFile)
                     delEmptyParStyleGroups();
    alert("Die Formate für " + selectedStyleFile.name + " wurden nachgeladen.")
        }catch (e){
        alert ("Folgender Fehler trat auf: " + e)
    //Formate in InDesign löschen
    function RemoveIdStyles(){
        var _pS = app.allParagraphStyles;
        for    (var i=0; i<_pS.length; i++) {
            try {
            _pS[i].remove(); }
         catch (e)            {
        var _cS = app.allCharacterStyles;
        for    (var i=0; i<_cS.length; i++) {
                    try {
            _cS[i].remove();}
         catch (e)            {
    var _pS = app.allObjectStyles;
        for    (var i=0; i<_pS.length; i++) {
            try {
            _pS[i].remove(); }
         catch (e)            {
            var _pS = app.swatches;
        for    (var i=1; i<_pS.length; i++) {
            try {
            _pS[i].remove();
         catch (e)            {
        //Leere Formatgruppen löschen
    function delEmptyParStyleGroups(){
    var pGroups = app.paragraphStyleGroups;
    for(var z=pGroups.length -1; z >=0; z--){
    if(pGroups[z].allParagraphStyles.length <= 0){
        pGroups[z].remove();

  • How to load external text file into a Form?

    Hi,
    I made a menu with 1-5 in a Form and 5 external text files. I want the user who is able to view the text content of the text file when he chooses one of them from the menu. And the text file screen has a "Back" command button to let him go back.
    How can I do it and can it support other languages such as Chinese and Japanese?
    Thanks for help.
    gogo

    Sorry, I made the mistake about the subject, it should be loading local file, not external file through http.
    I wrote a method but it throwed an exception when the midlet was run.
    private void loadText()
    try {
    InputStream is = this.getClass().getResourceAsStream("/text.txt");
    StringBuffer sb = new StringBuffer();
    int chr;
    while ((chr = is.read()) != -1)
    sb.append((char) chr);
    is.close();
    catch (Exception e)
    System.out.println("Error occurs while reading file");
    I put the text.txt file in the same folder with the main file (extends midlet). How can I load the text content and display it on StringItem?
    Thanks for any help.
    gogo

  • Load dynamic text into Captivate form external file

    Is it possible to load dynamic text into a Captivate file from an external file like an XML using Javascript.
    I see there's a way to get it form the query scring of the URL ( http://captivatedev.com/2011/05/01/how-to-jump-to-a-specific-slide-in-a-separate-course/ ), but I have a project where I want  several pieces of text to be replaced and we want to be able to edit it externally from the Captivate file.
    Thanks!

    Hi Ned,
    What I'm doing is using a yahoo map to load addresses and
    place custom swf files as the placemarkers. The main stage has an
    instance of myMap, which is the map that yahoo sets us to display
    the ACTUAL map. They have also provided coding for placing markers
    on the map, which is what I'm using.
    I have the addresses throughout multiple xml files, which I
    am actually loading through 1 single xml file. These addresses are
    being stored in an array, then called by the AS below to place
    markers. All the markers are placed correctly, however, I am trying
    to have them actually say the address - this is where the problem
    lies.
    The marker that is being located and placed has a text field
    called load_text in it. I want that field to load the same address
    that is being used to place it (from the array addressA).
    I'm very confused because every loop through the * for (i=0;
    i<addressA.length; i++) * loop the marker is placed at the
    correct addressA
    location, but I cannot actually get the address to load into the
    load_txt field in the marker. I can even run a trace during that
    loop and it traces addressA for each address, but I can't seem
    to actually load those values into the load_txt box.
    Do you have any ideas?

  • I have saved My Google Chrome bookmarks as HTML and want to import them into my mozilla bookmarks, when I go to import HTML it seems to load somthing but when I go back to check my bookmarks in mozilla they are not there. I would like to use mozilla more

    I have saved My Google Chrome bookmarks as HTML and want to import them into my mozilla bookmarks, when I go to import HTML it seems to load something but when I go back to check my bookmarks in mozilla they are not there. I would like to use mozilla more often then Chrome so I need please help keeping my Chrome bookmarks.

    @Carolyn:
    Yes, I did search before but restricted it to the past month, because I had the feeling that it’s worse now since the update to 5.1.10, but I may be wrong.
    It seems this is an old and unsolved common problem.
    @andy:
    “Top Sites” is hot, but I’ve never used that funny dots without any mouse-over text.
    After deleting (before starting Safari)  it’s restored by a default TopSites.plist, it seems these cookies
    - are only reloaded when viewing the Top Sites (?)
    - are not among my reappearing cookies, I have never seen such a cookie / cache on my system before (e.g. expedia, orbitz, monster, usatoday, disney, craigslist).
    And Top Sites would not explain why the Web Inspector has different infos regarding use of cookies and local storage than Safari’s “Privacy” tab.
    After playing with deleting TopSites.plist, without surfing, suddenly I have ”121 cookies or other data” at Safari’s Privacy tab, nearly all are listed as “Cache” or “Cache, Cookies” but the Web Inspector doesn’t show any of them, only my google.co.uk items.
    ---> Thanks, I’ll send a feedback to Apple.

  • Loading large text files in JTextArea

    JTextArea can't seem to load an 8MB text file, as doing so will throw an OutOfMemoryError. The problem is, 8MB really isn't that much data, and there are files in our system which are much bigger than that. And I'm at a loss to find why a mere 8MB is causing Java to run out of its 64MB of memory.
    So I'm starting to try another approach.
    Here's the idea:
        public void doStuff() {
            Reader reader = dataStore.retrieve(...);
            RandomAccessFile tempFile = new RandomAccessFile(...);
            FileChannel tempChannel = tempFile.getChannel();
            // CODE OMITTED: copying reader to tempChannel as Java chars.
            // Now, map the file into memory.
            CharBuffer charBuffer = tempChannel.map(FileChannel.MapMode.READ_WRITE, 0, fileLength).asCharBuffer();
            Document doc = new CharBufferDocument(charBuffer);
            textArea.setDocument(doc);
        }This should work in theory. The problem I'm having is figuring out how to make this custom document.
    Here's what I have so far:
        public class CharBufferDocument extends PlainDocument {
            private CharBufferDocument(CharBuffer charBuffer) {
                super(new CharBufferContent(charBuffer));
        class CharBuffeclass CharBufferContent implements AbstractDocument.Content {
            private CharBuffer charBuffer;
            private CharBufferContent(CharBuffer charBuffer) {
                this.charBuffer = charBuffer;
            public Position createPosition(int offset) throws BadLocationException {
                return new FixedPosition(offset);
            public int length() {
                return charBuffer.length();
            public UndoableEdit insertString(int where, String str) throws BadLocationException {
                throw new UnsupportedOperationException("Editing not supported");
            public UndoableEdit remove(int where, int nitems) throws BadLocationException {
                throw new UnsupportedOperationException("Editing not supported");
            public String getString(int where, int len) throws BadLocationException {
                Segment segment = new Segment();
                getChars(where, len, segment);
                return segment.toString();
            public void getChars(int where, int len, Segment txt) throws BadLocationException {
                char[] buf = new char[len];
                // Sync this, as the get method moves the cursor.
                synchronized (this) {
                    charBuffer.get(buf, where, len);
                    charBuffer.rewind();
                txt.array = buf;
                txt.offset = where;
                txt.count = len;
        class FixedPosition implements Position {
            private int offset;
            private FixedPosition(int offset) {
                this.offset = offset;
            public int getOffset() {
                return offset;
        }When I run this, I get a text area which only shows one character. What's happening is that my getChars(int,int,Segment) method is being called from Swing's classes, and only being asked for one character!
    Does anyone have any idea how this is supposed to work? It seems that if Swing only ever asks for the first character, I'm never going to be able to display 8,000,000 characters. :-)

    Not too sure though how to go about reading the last 5 lines say.One solution would be to read in an increasingly large block (estimate the typical line size * 5 + some bonus) of the file starting at position file size[i] - block size. As long as the block doesn't contains 5 complete lines (count newline chars), increase it by a given size and try again. Should still be faster than scanning the whole file from start to end.

  • Load earlier text messages option

    Help! Previously I remember using an option at the top of my text conversation screen to "Load earlier text messages" This option now seems to have disappeared.... Any ideas?
    Thanks

    The option is there only if there are more text messages. It says "Load Earlier Messages".
    Did you restore your phone recently, maybe losing the previous messages?

  • Final trigger for lightbox seems to load in active state

    i am a total noob
    i designed a site with a lightbox and 5 triggers.
    i made the triggers blank boxes and overlayed them on a grid of 5 photos.
    i also added txt to each trigger to define its rollover state- normal is no fill/ rollover and pushed is filled/ active is no fill.
    for some reason, the final trigger does not do the roll over action for the text box. i think it is because it loads into the active state but i can not be sure.
    i noticed that once the corresponding triggers are activated, the text boxes do not resume they're roll over behavior- they remain in the active state.
    this is the site www.joepennella.com
    the trigger i'm taling about is on the bottom right- for "commencement"
    any guidance would be greatly appreciated
    max

    how do i change it so that when the page loads that text frame loads normal state? i can't seem to get this particular txt frame to do that. all the others do it. i've deleted it, copied another, made it from scratch- this last one always seems to load in active state
    also, after coming out of the lightbox- is it possible to make the txt frame return to normal state?

  • I have an IMac.  I put a folder on the desk top and now want to delete it.  The folder seems to be locked.  I went to get info and tried to unlock it but still can't delete it.  The folder has nothing in it.  Any help would be great.  Thanks

    I have an IMac.   I put a folder on the desk top and now want to delete it.  The folder seems to be locked.  I went into Get Info and attemted to unlock the folder and delete it.  Won't go away.   There is nothing in the folder.   How do I unlock this folder and delete it?   When I try to delete it, I'm asked for my password which I put in and is accepted, but will not delete the folder.  Any help would be great.

    If you are sure there is nothing in it, download trashit, a useful free app.   That will dispose of it.
    Download Trash It! for Mac - Force-empty your trash can. MacUpdate.com

  • How to load long text in BOM line item

    Hello Experts
    How do i load Long text in BOM Line item using LSMW
    Thanks
    S
    Edited by: Alvaro Tejada Galindo on Jan 31, 2008 5:11 PM

    Use Read_text function module.
    you need to pass
    ID
    LANGUAGE
    NAME
    OBJECT   to the function moduel
    To find the Text id name language and object these are the following steps. Example: FB02
    1. goto FB02, Enter Document number
    2. from menuselect Goto>Header-->header Text..... New window will be displayed 
    3. select the Header Text. here you can see all the text. 
    4. click on the TEXT (which you want to know the Text id) , then press log ICON (you can find in bottom right of the text window) it looks like a rolled paper. 
    5. in the Next window you will find Text Name. Text ID, Language. etc...
    Regards,
    Lalit Mohan Gupta.

  • How can I use sql loader to load a text file into a table

    Hi, I need to load a text file that has records on lines tab delimited into a table. How would I be able to use the sql loader to do this? I am using korn shell to do this. I am very new at this...so any kind of helpful examples or documentation would be very appreciated. I would love to see some examples to help me understand if possible. I need help! Thanks alot!

    You should check out the documentation on SQL*Loader in the online Oracle document titled Utilities. Here's a link to the 9iR2 version of it: http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96652/part2.htm#436160
    Hope this helps.

  • How to load a text file int JEditorPane and highlight some words (Urgent !)

    I want to load a text file into a JEditorPane and then highlights some keywords such as while,if and else.I am using an EditorKit in order to style the JEditorPane. I have no difficulty while giving the input through the keyboard but lots of exceptions are thrown if i try to load the string from a file.

    Hi,
    I think the setCharacterAttributes(int offset, int length, AttributeSet s, boolean replace) will solve the problem.
    You can create your own Styled Document and set it to the Editor Pane.

Maybe you are looking for