Traverse a file

How would I traverse a directory structure ...and also read the content of each file
Advance Thanks

Rm. wrote:
I ve listed the files but i am not able to read its content.....Why not? Did you not find the part of the tutorial that describes that? Or did you have trouble understanding some part of it?
Without a a more specific question you won't get any more help than just another pointer to the tutorial.

Similar Messages

  • How can i traverse between files in a directory

    how can i traverse between files in a directory. I ahve seen in the site that isFile can be used to switch from one file to other but i didn't found such method. I am working in Eclipse. I would be thankful if u send me the solution.I mean the way to traverse

    listFiles() returns all the files in a directory. You can check if it is a file and read it. Read the API docs.
    If you have specific problem with your code, post the code and the problem description.

  • Need help  traversing through files

    i have a folder with 99,999 xml files. i need to access each and everyone of these files to look for a certain value.my question is: is there any convenient way of traversing through these files?
    File xmlfile = new File("");
    File onefolder = new File("C:\\Documents and Settings\\drstempprojects\\Desktop\\Compiled\\NLB_Recam");
    String[] arroffiles = onefolder.list();
    for (int i=0;i<arroffiles.length;i++) {
        xmlfile = new File("...\\NLB_Recam\\" + arroffiles);
    this method is inefficient and takes a hell load of memory since we are creating an array of 99,999 strings and using each array slot only once. i'm pretty sure there are better solutions to this. suggestions pls anyone?thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    i'm pretty sure there are better solutions to this. suggestions pls anyoneDon't store 100k files in the same directory.

  • Need help writing a script to traverse through files in a directory

    I want to go through a directory and sub directories and convert files into jpg ones
    I have this code I've been using: mkdir jpegs; sips -s format jpeg *.png --out jpegs
    This is great for one directory at a time
    But, what I want is to apply this to all sub directories, create a jpeg directory in each of the sub directories and then create jpg's and put them in there
    I'm not sure where to start
    Should I be looking for 'scripting in linux'?
    Thanks
    Omar

    Hello
    You may also try something like this. Set DIR to the root directory to start the search.
    #!/bin/bash
    #     convert png to jpeg and put jpeg in jpegs sub-directory
    DIR=~/Desktop/test
    while read -d $'\0' f
    do
        d=${f%/*}/jpegs
        [[ -d "$d" ]] || mkdir "$d"
        sips -s format jpeg "$f" --out "$d"
    done < <(find "$DIR" -type f -iname '*.png' -print0)
    In case, here's an AppleScript wrapper:
    set f to (choose folder with prompt "Choose root folder to process")'s POSIX path
    if f ends with "/" then set f to f's text 1 thru -2
    do shell script "/bin/bash -s <<'EOF' -- " & f's quoted form & "
    #     convert png to jpeg and put jpeg in jpegs sub-directory
    DIR=\"$1\"
    while read -d $'\\0' f
    do
        d=${f%/*}/jpegs
        [[ -d \"$d\" ]] || mkdir \"$d\"
        sips -s format jpeg \"$f\" --out \"$d\"
    done < <(find \"$DIR\" -type f -iname '*.png' -print0)
    EOF"
    Regards,
    H

  • IsTraversable making files invisible, rather than non-traversable

    I have some files stored in a folder (some kind of "compound" file) so when the user opens the folder it acts like a file. At the moment I am drawing its own little icon and stuff, everything works fine except the user can "double click" on the file and instead of opening it, they will go into it and see all the guts inside. I found the isTraversable method of the FileView object and that does half the job (other half would be to support double - click opening) However, when i try to use it anything I set as non traversable becomes invisible. I suppose its doing its job (I cannot traverse the file that isnt there) but i would like to be able to choose this file.
    public Boolean isTraversable(File f)
              Boolean ret = super.isTraversable(f);
              if (QuantitationFileChooser.isQuantitationFile(f, false))
                   ret= new Boolean(false);
              return ret;
         }Am i missing the point of this function or something? It seem pretty simple, i have no idea what i am doing wrong! The documentation says its exactly what i want:
    "public Boolean isTraversable(File f) Whether the directory is traversable or not. This might be useful, for example, if you want a directory to represent a compound document and don't want the user to descend into it. "
    Thanks for any help

    794057 wrote:
    Am i missing the point of this function or something? It seem pretty simple, i have no idea what i am doing wrong! The documentation says its exactly what i want:
    "public Boolean isTraversable(File f) Whether the directory is traversable or not. This might be useful, for example, if you want a directory to represent a compound document and don't want the user to descend into it. "Works as documented for me. Run this code and try double-clicking around.import java.io.File;
    import javax.swing.JFileChooser;
    import javax.swing.SwingUtilities;
    import javax.swing.filechooser.FileView;
    public class ChooserWithView {
      public static void main(String[] args) {
        SwingUtilities.invokeLater(new Runnable() {
          @Override
          public void run() {
            JFileChooser chooser = new JFileChooser();
            chooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
            chooser.setFileView(new FileView() {
              @Override
              public Boolean isTraversable(File f) {
                if (f.getName().contains("o")) {
                  return false;
                return null;
            chooser.showOpenDialog(null);
            System.out.println(chooser.getSelectedFile());
    }

  • STORE A COMPLETE FILE SYSTEM IN THE DATABASE 11GR2

    Hi everyone
    I have the following issue:
    I tried to store in an oracle database TABLE the completre file structure
    of a file system that includes the follwing:
    -Name of the file
    -Date of last modification
    -Location
    -The entire content of the phisical file BLOB datatype
    I have the following piece of code to archieve this, but i still have a
    problem...
    When i tried to add the records to the database by implememting all
    the connecttions stuffs, oracle and java classes required the program
    inserts a FEW RECORDS and after that:
    ¡¡¡hangs up!!!.
    The main problem is that i cant release the connection and get another new when i using
    JDBC POOL so the server full their available connections.
    Please tell me what is the best approach or programming practice on order to
    meet this goal.
    Thanks from Colombia - Latin America..
    HERE IS THE CODE:
    import java.io.* ;
    * A simple class to demonstrate a recursive directory traversal
    * in Java.
    * Error handling was left out to make the code easier to understand.
    * In production code, you should check if the arguments from the
    * command line are really file files or directories.
    public class RecursiveTraversal
    * Works on a single file system entry and
    * calls itself recursively if it turns out
    * to be a directory.
    * @param file A file or a directory to process
    public void traverse( File file )
    // Print the name of the entry
    //System.out.println( file ) ;
    // Check if it is a directory
    if( file.isDirectory() )
    // Get a list of all the entries in the directory
    String entries[] = file.list() ;
    // Ensure that the list is not null
    if( entries != null )
    // Loop over all the entries
    for( String entry : entries )
    // Recursive call to traverse
    traverse( new File(file,entry) ) ;
    else
    if(file.isFile())
    System.out.println( file.getParent() ) ;
    System.out.println( file.getName() ) ;
    else
    System.out.println("*** WRONG VALUE ***");
    * The program starts here.
    * @param args The arguments from the command line
    public static void main( String args[] )
    // Create an object of this class
    RecursiveTraversal rt = new RecursiveTraversal() ;
    if( args.length == 0 )
    // If there are no arguments, traverse the current directory
    rt.traverse( new File(".") ) ;
    else
    // Else process every argument sequentially
    for( String arg : args )
    rt.traverse( new File(arg) ) ;
    }

    Thanks for the reply, the implementation that you refer is useful for another type of application i need to stored the file system in a TABLE of a database
    in order to make a part of an information system integration and can use SQL statements to acomplish this.
    I follow the recomendation and post it in the SQL/JDBC forum because when i try to release de active connection i can't acomplish this.
    And i need to know how to use JDBC connection poolling to open a connection just once, release and use it again.

  • To extract duplicate files from a system

    sir, i m working on project to find duplicate files from a system . can any one give me some idea how should I start ?

    I have written one in Java and in Python.
    My approach was to take the SHA1 hash of each file and use this as the key in a map with the file name being the value.
    I traverse the file system building the hash mapping as I go along. When I find a SHA1 hash that is already in the map I add the pair of associated file names to a list of possible duplicate files.
    After I have traversed the set of files I check all the potential duplicates for equality.

  • How to filter the Files from SharePoint Document Library based upon cloumn value

    Hi
    I should filter the files from document library. I have column called "Print Status" for the document library the value would be either "Yes" or "No".
    Now i should filter out the files which has "Print Status" as a "Yes".
    I am using SPFolder and SPFile from SharePoint Object Model to traverse the file in doc library.
    How could i do it?
    My Sample code:
    foreach (SPFolder childFolder in folder.SubFolders)
      if (childFolder.Name != "Forms")
        AspControls.TreeNode trn = new System.Web.UI.WebControls.TreeNode(childFolder.Name, "", "~/_layouts/images/itdl.gif", childFolder.ServerRelativeUrl.ToString(), "");
        newNode = TraverseFiles(childFolder, trn);
                                // add the new node to the tree
                                rootNode.ChildNodes.Add(newNode);
                        // loop through the files
                        foreach (SPFile childFile in folder.Files)
                            // create a new node and add to the tree
                            AspControls.TreeNode childNode = new System.Web.UI.WebControls.TreeNode(childFile.Name + " (" + childFile.TimeLastModified.ToShortDateString()
    + ")", Convert.ToString(childFile.Item["ID"]), "~/_layouts/images/" + childFile.IconUrl, childFile.ServerRelativeUrl.ToString(), "");
                            rootNode.ChildNodes.Add(childNode);
    Thanks
    Poomani Sankaran.

    Why do you transvers the file an not use a camp query? In a CAML query you can filter the print status and are able to get all files and folder objects at once.
    Check out the following post: http://social.msdn.microsoft.com/Forums/sharepoint/en-US/8c45b5e2-1fb8-435c-a97d-1d8c6d288d4c/caml-query-to-query-all-the-files-and-folders-in-document-library?forum=sharepointdevelopmentprevious
    Kind regards
    Stefan
    http://www.n8d.at/blog
    Follow me on Twitter: StFBauer |
    n8design
    Microsoft Community Contributor 2011 / 2012
    MCTS - SharePoint / WSS Configuration and Development

  • How to set permissions for files created by Windows on OS 10.8 volume

    I am in process of upgrading from an iMac with OS 10.6 to an iMac with OS 10.8.  In my office network, I store all files on my iMac and let the Windows PCs act as workstations to read/write onto the Mac.  (It's simpler to have all files centralized in one location, and only have to be concerned about backing up one volume.)
    When I had OS 10.4 and OS 10.6 any newly created file saved by the Windows PCs onto the Mac could be opened by the Mac.
    But with OS 10.8, I can not open newly created files from Windows.  The file permissions for the newly created files from the Windows PCs are: 
         PCUser = read/write;  Everyone = no access.
    What do I need to do so that newly created files from the Windows PC (currently Windows 7) can be opened by the Mac, without having to use Get Info to reset the permissions each time?

    You could try adding this Access Control Entry (ACE) to the folders you let them save to:
    sudo chmod -R +a "accountinggroup allow delete,chown,list,search,add_file,add_subdirectory,delete_child,file_inherit,directory_inherit" /Path/to/topmost/folder
    You first need to create a group for all the sharing people you want to have access to that folder, if you don't already have one. In the example, "accountinggroup" is the group, so change that to whatever you want to use.
    The ACE allows them full access to the files in the folders. If you want to limit that, remove the option (such as delete).
    You create Groups in Users & Groups System Preference just like creating a new user. Just change the account type to Group.
    If you want a GUI to do the settings, try Sandbox.  It's got a few glitches in the Interface, but it seems to write the ACL correctly. One glitch is selecting the Group or User. I had just a list of Continuing in the popup menu. I typed in the Group name I wanted and it worked. Some errors pop up as you traverse the file hierarchy, but you can dismiss them.
    Here is an old hint, which gives a little background, and some other options: http://hints.macworld.com/article.php?story=20090219133314985
    The Server tools would allow you to set this up more easily, but if this is all you need as the server, I don't know if it is worth it.

  • Renaming files in a book

    Hi everyone,
    I need to rename files in a book, but from within the book. A Save as... won't update the cross refrences.
    I see an fcode for this (FCodes.KBD_BOOKRENAMEFILE), but I've been advised not to rely on these types of shortcuts.
    I don't see anything else documented in the Scripting Guide. Does anyone else have any other suggestions?
    Thanks so much!
    Heather A

    Just following up for anybody else who might need this in the future.
    My hangup was that pulling files from the book itself created Doc objects, not File objects (beginners mistake, you hate to see it). Anyway, here are some of the functions that I came up with to handle this task for anybody who needs it. Please be warned, this is quite literally my first ExtendScript project so this may not be the most efficient way to have done this (I'm always open to constructive criticism from those more experienced than myself). I know I went overkill with notes in the code, that was requested by colleagues who know less about code than I do so that if I were no longer employed for some reason another person could come in and understand exactly what the code was doing.
    function fileNameReplacer(FullArray, CodeBook, BookFile) {
        /*The fileNameReplacer steps through all of the files in the book looking for those who need to be renamed.
            The function first renames all of the files, and then cycles through each file's Crossreferences and updates the
            names to reflect name changes*/
        /*Local variables are created*/
        var FileName,
            BookName,
            FilePath,
            FullName,
            FileType,
            EncodedName,
            OldName,
            NewName,
            ThisFile,
            OpenFile,
            FileArray;
        FileArray = FullArray;
        /*Loops through all of the files in the book*/
        for (var i = 0, len = FileArray.length; i < len; i++) {
            /*Tests if the file is type 255 which would signify it is a folder or a group (These will not be renamed and would throw errors)*/
            if (FileArray[i][0].type == 255) {
                /*If the file is identified as a group or folder, it is removed from the Array with the "splice" command*/
                FileArray.splice(i, 1);
                /*The counters for this loop are then adjusted to reflect the new length of the "FileArray" variable*/
                i = i - 1;
                len = len - 1;
                /*Starts the next round of the loop (which is actually repeating the same loop but without the group or folder in the Array)*/
                continue;
            /*If the file being looked at is not a folder or group, it is assigned to the "ThisFile" variable*/
            ThisFile = FileArray[i][0];
            /*Checks the file to see if it's element catalog has values. If there are no values, it would mean that there is no data from which
                to develop the encoded name, and likely means the file is something like a cover page or table of contents which do not need encoding*/
            if (ThisFile.ElementCatalog.length !== 0) {
                /*If the element catalog has items in it, the name of the current file being examined is assigned to the "FullName" variable*/
                FullName = ThisFile.Name;
                /*The FullName is then split into an array at each backslash (Backslashes in JavaScrip have their own meaning, in order to
                    input a single backslash two must be used). The last item of the array is the file name which is assigned to the "FileName"
                    variable using the "pop" command*/
                FileName = FullName.split("\\").pop();
                /*The FileName is then split at the period, and the file extension with a leading period is assigned to the "FileType" variable.*/
                FileType = "." + FileName.split(".").pop();
                /*The file path without file name is assigned to the "FilePath" variable. This is done by identifying where in the "FullName" variable
                    the "FileName" begins, and then taking a substring of the "FullName" up to that point.*/
                FilePath = FullName.substr (0, (FullName.indexOf(FileName)));
                /*The new encoded file name is found by running the current file through the nameEncoder function along with the Abbreviation List
                    (Called "CodeBook" in this function). The value produced by the nameEncoder function is assigned to the "EncodedName" variable*/
                EncodedName = nameEncoder(ThisFile, CodeBook);
                /*The encoded name and original name are then assigned to locations 2 and 1 in the File array respetively*/
                FileArray[i][2] = FilePath + EncodedName + FileType;
                FileArray[i][1] = FullName;
                /*The old name and new name are compared to see if a change has actually occurred*/
                if (FileArray[i][1] === FileArray[i][2]) {
                    /*If no change has occured, the file is removed from the array using the "splice" command, since it will only slow down later processes.*/
                    FileArray.splice(i, 1);
                    /*The loop counters are updated to reflect the change in FileArray length*/
                    i = i - 1;
                    len = len - 1;
                    /*Starts the next round of the loop (which is actually repeating the same loop but with the file not requiring renaming removed)*/              
                    continue;
            } else {
                /*If the element catalog for the current file does not have any values it is removed from the "FileArray" using the "splice" command*/
                FileArray.splice(i, 1);
                /*The loop counters are updated to reflect the change in FileArray length*/
                i = i - 1;
                len = len - 1;
                /*Starts the next round of the loop (which is actually repeating the same loop but with the file lacking elements removed)*/
                continue;
        /*At this point the FileArray contains only files that can, and have been renamed; along with their current and new names*/
        /*Loops through all files in the FileArray*/
        for (var l = 0, lenA = FileArray.length; l < lenA; l++) {
            /*Assigns the current file, its old name, and its new name to the "ThisFile", "OldName", and "NewName" variables respectively*/
            ThisFile = FileArray[l][0];
            OldName = FileArray[l][1];
            NewName = FileArray[l][2];
            /*Opens the current file assigned to "ThisFile" as a File object. File objects allow for changes on the drive itself to be made, while
                changing the .Name attribute of a Doc object will not. This allows for the encoded names to be applied directly to the files themseves.*/
            OpenFile = File(ThisFile.Name);
            OpenFile.rename(NewName);
            /*Changes the file's label to the value of "NewName" and removes the file type (as the label does not show file type)*/
            ThisFile.Label = NewName.split(".").shift();
            /*Changes the PrintFileName value to the value of "NewName" with the file type changed to ".ps"*/
            ThisFile.PrintFileName = NewName.split(".").shift() + ".ps";
        /*Traverses all files in the books and renames the target the book is looking for. If this is not done, the book will still think the old names exist and will
            try to find them to no avail. "traverse" function sends each component in the book through another function,
              in this case the bookComponentRenamer, and supplies the second function with a parameter, FileArray here.*/
        traverse(BookFile, bookComponentRenamer, FileArray);
        xrefRenamer(FullArray, FileArray);
        /*Saves the book file with the updated component names*/
        BookFile.SimpleSave(BookFile.Name);
        /*When the book is closed, the BookFile variable will no longer function. Assigning the current books name to the "BookName" varibales will allow the book to be reopened*/
        BookName = BookFile.Name;
        /*All open files are closed*/
        closeAll();
        /*Curent book is reopened*/
        BookFile = openBook (BookName);
        /*All book files (now with updated names) are opened*/
        traverse(BookFile, openfile);
        /*Returns the updated book back to the location that originally called the fileNameReplacer function*/
        return BookFile;
    function bookComponentRenamer(Component, FileArray) {
        /*The bookComponentRenamer compares the current book component with names on the FileArray (these are files that have name changes.
            If a match is found, that compent's name is changed within the book itself. This ensures that the names the book file is looking for reflect the updated file names created by this program*/
        for (var i = 0, len = FileArray.length; i < len; i++) {
            if (Component.Name === FileArray[i][1]) {
                Component.Name = FileArray[i][2];
    function xrefRenamer(AllFiles, RenamedFiles) {
        var ThisFile,
            ThisXREF,
            NextXREF,
            OldName,
            NewName,
            XREFTest;
        for (var i = 0, len = AllFiles.length; i < len; i++) {
            /*Assigns the first cross reference in the current file to the "ThisXREF" variable*/
            ThisFile = AllFiles[i][0];
            ThisXREF = ThisFile.FirstXRefInDoc;
            /*Whether "ThisXREF" contains a valid cross reference (having a null value means the file has no cross references, or we have already
                looped through them all and can proceed to the next file in the FileArray)*/
            while (ThisXREF.XRefFile !== null) {
                /*Assigns the next cross reference in the file to the "NextXREF" variable*/
                NextXREF = ThisXREF.NextXRefInDoc;
                /*Loops through all of the files in the FileArray. This will let the current cross reference be compared to the files being renamed and see if
                    there are any matches*/
                for (var j = 0, lenA = RenamedFiles.length; j < lenA; j++) {
                        /*Assigns the old name and the new name of the file being compared to cross references to the "OldName" and "NewName" variables respectively*/
                        OldName = RenamedFiles[j][1];
                        NewName = RenamedFiles[j][2];
                        XREFTest = ThisXREF.XRefFile.indexOf(OldName);
                        /*Tests if the current cross reference being examined links to the current comparison file*/
                        if (0 <= XREFTest) {
                            /*If yes, the cross reference is updated with the new name*/
                            ThisXREF.XRefFile = ThisXREF.XRefFile.replace(OldName, NewName);
                            /*Ends the comparison loop for this cross reference as the correct replacement has been found*/
                            break;
                /*Assigns "ThisXREF" with the value of the "NextXREF" the comparison loop starts again*/
                ThisXREF = NextXREF;
            ThisFile.SimpleSave(ThisFile.Name);

  • Error "document not saved" when want to save Word/Excel files on NAS server

    Hello everybody!
    I have a NAS server (QNAP storage).I want to have some folders with these permissions : 
    1.nobody can create or delete folders in first parent folders (blue folder and red folders )
    2.everybody can create/save folders,docs... in it. (Black folders)
    when I set permission like picture below,people can not save documents in Excel or Word format in folders ( I have this problem just for Word and Excel).they face with errors : document not saved / access denied,contact your administrator.
    special permission for blue folder (domain users) 
    (include inheritable permission) and (replace all child subfolders...) are unchecked.
    traverse / execute files
    List folders/ read data
    Read attribiutes
    Read extended attribiutes
    Read permission
    special permission for red folder :
    (include inheritable permission) and (replace all child subfolders...) are unchecked.
    traverse / execute files
    List folders/ read data
    Read attribiutes
    Read extended attribiutes
    create files / write data
    create folders / append data
    write attributes
    write extended attributes
    delete subfolders
    delete
    Read permission
    special permission for black folder :
    these folders inherit permissions from parents.
    (include inheritable permission is checked.
    (replace all child subfolders...) is unchecked.
    when I uncheck "delete" permission in red folders and save it,"modify" permission in main permission will uncheck,too.I dont know why?in this situation,people can save docs, but they can rename/delete folders,too ( I dont want they delete
    or rename parent folders).
    what I must do?
    regards,
    atiye moghaddam

    Hi.
    How are the rights configured to be inherited? Could you do a "icacls <folder>" on each level and post it back.
    Also worth considering is that this is a Linux Samba system, so it might not work as a regular windows system.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. Even if you are not the author of a thread you can always help others by voting as Helpful. This can
    be beneficial to other community members reading the thread.
    Oscar Virot

  • Searching for class files

    I have been using sysinternals process monitor(procmon.exe) to see what coldfusion/jrun is doing on the system. I see thousands of createFile operations as jrun searches for things like component.class, application.class,  macromedia\jdbc\oracle\OracleURLParser.class, macromedia\jdbc\sqlserver\SQLServerURLParser.class etc. in c:\coldfusion9 directory which it never finds. I would like to know more about what is happening with this. Do I need to change my class path?  Is there an optimal order for class paths?   Does this represent a cache miss?

    Is there any way by which I can iterate through the folders
    and get access to all the class files from the method?The Java Developers Almanac 1.4 has an example of "e33.
    Traversing the Files and Directories Under a Directory" here
    http://javaalmanac.com/egs/java.io/TraverseTree.html
    You "get access to" the class files as you would any other
    sort of fle.

  • 11/6/2014 - Beta - Flash Player 15.0.0.222

    The latest Flash Player 15 beta builds are now available. Beta builds can be downloaded from labs.adobe.com.  Today's build brings the Flash Player beta up to date with next week's official release.
    New Features for Flash Player 15:
    Relaxing Stage3D Render Target Clear
    In previous versions of Stage3D, after switching the render texture through Context3D::setRenderToTexture, you were required to clear it before drawing. In this release, we're removing this limitation and optimizing the use of render textures. This change will allow you to further optimize and reuse depth and stencil buffers between different render textures. 
    For additional information, please see Relaxing Render Target Clear Operation in Stage 3D.
    Improved support for browser zoom levels - Windows 8
    Flash Player now has improved support for browser zoom factors other than 100% on Internet Explorer on Windows 8.x.  Devices, like the Microsoft Surface tablets, default to a zoom level of 150%.  In the past, this could cause problems with Flash Player and some 3D content.  With our new implementation, we can now scale the content and 3D buffers to keep everything aligned.  In addition, Flash Player introduces an option to render to an increased Stage3D back buffer, rather than scaling, on browser zoom to keep the resolution of the rendered content high. This option allows to the stage3D buffer to change in size in synch with the change in the browser zoom factor.  Developers are notified of this change with a new ZOOM_FACTOR_CHANGE event.
    For additional detail, please see the article Improved Resolution of Stage3D Content on Browser Zoom
    Flash Player Fullscreen Orientation Change - Windows
    Flash Player will now detect and appropriately scale your content to fit best in a fullscreen display when your device orientation is changed.  This change is specific to Windows and is implemented across all browsers.  We're focusing on providing the best tablet experience possible.  A resize event will fire when in fullscreen mode and the device orientation changes.  Developers, if your content does not resize, you will need to handle the resize event appropriately. 
    For additional details, please see the Guide for Supporting Screen Orientation with Full-Screen Flash Player Content.
    Hardware video decoding on Chrome (PPAPI) for Windows
    We're pleased to announce that hardware video decoding is now enabled by default for Chrome users on Windows.  This feature will drastically reduce the CPU usage and improve performance on supported videos players.  We're working closely with Google to bring this feature to OS X and will provide additional details when available.
    Automatic software fall back with StageVideo
    Flash Player 15 now supports a Software version of StageVideo that provides an automatic failover to the software version when hardware StageVideo is not available. To leverage this automatic failover, the swf apps need to be compiled for Flash Player 15 and above.
    When the swfs are compiled for Flash Player 15 and above, and when hardware StageVideo is unavailable, the app will get a StageVideoAvailability event as earlier, but instead of being "Unavailable" it will ALWAYS be "available", and the reason will always be "noError". The app will no longer need to implement a Video object failover as the failover is automatic inside flash player. The apps can still choose to use Video object instead of StageVIdeo if needed.
    Hardware StageVideo availability is dependent on a number of factors, including:
    Browser hardware rendering support: If available, all wMode based apps will support hardware StageVideo. If not available, wMode=direct based apps will be the only ones that will support hardware StageVideo, unless there are other exceptions, like the ones mentioned below.
    On Windows:
    IE11: IE has an accelerated pipeline and the FlashPlayer is HW accelerated in all wmode, so StageVideo should always be available. Note that the decision to use the HW accelerate rendering pipeline reside in IE.
    Firefox: There is currently no HW accelerated pipeline available in Firefox on windows and only wMode direct will have StageVideo available all other wMode should generate a unavailable event.
    Chrome: Pepper has HW acceleration in all wMode, but some restrictions apply. For example Chrome will refuse to use HW acceleration on Windows XP and it has its own driver blacklisting mechanism. It is also possible for the user to disable the HW acceleration in the settings panel. Chrome exposes a somewhat useful page to allow one to see the status of its gpu acceleration: chrome://gpu/
    On Mac:
    Safari: All wMode should expose StageVideo
    Firefox: All wModes should expose StageVideo
    Chrome: All wMode should expose StageVideo, with the same limitations as the windows version.
    Driver version: Certain older drivers may not support hardware StageVideo
    User settings: If a user turns off hardware acceleration, then hardware StageVideo will not be available
    Full Screen: Hardware StageVIdeo is always available in Full Screen mode.
    When the hardware StageVideo fails because of browser support, wMode, driver version or user settings, starting with Flash Player 15, SW StageVideo will be used automatically without needing any configuration or code in the app.
    PPAPI Installers for Windows and Mac - Extended Beta
    We're pleased to announce that we now have PPAPI installers for the standard version of Flash Player for Windows and Mac.  Previously, this version of the Player was available only as an integrated component of Google Chrome.  With the introduction of these installers, Flash Player is now available for all Chromium based browsers using the PPAPI interface.  Please note that these installers are not required nor used by Google Chrome.  Chrome will continue to include Flash Player without requiring any additional installation.
    Both the standard and content debugging versions of the PPAPI installers are now available on http://labs.adobe.com.
    New MMS.CFG Flag - EnableInsecureJunctionBehavior
    Flash Player 15 restricted the ability for Flash Player in Internet Explorer to write to paths that traversed Junction files in Windows. This affected some enterprise organizations that relied on redirected user folders that also leveraged Junctions, and we have introduced a new mms.cfg that allows organizations to revert to the insecure behavior as temporary pain relief. We recommend that administrators only use this flag as a short-term workaround.
    This Flag only works in Internet Explorer with Protected Mode disabled.
    To enable this behavior, add the following line to your mms.cfg file:
    EnableInsecureJunctionBehavior = 1
    Testing Focus:
    Hardware Video Decoding is now on by default for Chrome users. If you experience playback or stability problems when watching Flash-based video, please report them to the Beta forums. Including the output of the DirectX Diagnostic Tool (dxdiag) would be especially helpful.
    Fixed Issues
    Multiple Stability and Security Fixes
    About the Beta Channel
    Beta Versions of Flash Player are available for automatic installation via our Background Update service.  Please subscribe to automatically install or receive update availability notifications at runtime

    Thanks Clark for addressing my problem.
    I was out of town, just returned today. Hence some delay in my reply.
    The application being at an enterprise level and huge, I am not sure how to share a simplified source.
    The complexity of the elements getting created in the application may also cause error in rendering at that zoom level.
    Let me find out some way out of how to share more details on this.
    I will be able to share the swf link with you after discussing the confidentiality terms with the concerned person.
    I appreciate your patience.
    Have a good day!
    Best
    Deepanjan

  • 11/25/2014 - Release - Flash Player 15

    The next version of Flash Player is available for immediate download.  In today's release we've updated Flash Player with critical security updates and bug fixes.  We recommend users update to the latest version.
    Security update details can be found here: Security Bulletin (APSB14-26)
    New Features for Flash Player 15:
    Relaxing Stage3D Render Target Clear
    In previous versions of Stage3D, after switching the render texture through Context3D::setRenderToTexture, you were required to clear it before drawing. In this release, we're removing this limitation and optimizing the use of render textures. This change will allow you to further optimize and reuse depth and stencil buffers between different render textures.
    For additional information, please see Relaxing Render Target Clear Operation in Stage 3D.
    Improved support for browser zoom levels - Windows 8
    Flash Player now has improved support for browser zoom factors other than 100% on Internet Explorer on Windows 8.x.  Devices, like the Microsoft Surface tablets, default to a zoom level of 150%.  In the past, this could cause problems with Flash Player and some 3D content.  With our new implementation, we can now scale the content and 3D buffers to keep everything aligned.  In addition, Flash Player introduces an option to render to an increased Stage3D back buffer, rather than scaling, on browser zoom to keep the resolution of the rendered content high. This option allows to the stage3D buffer to change in size in synch with the change in the browser zoom factor.  Developers are notified of this change with a new ZOOM_FACTOR_CHANGE event.
    For additional detail, please see the article Improved Resolution of Stage3D Content on Browser Zoom
    Flash Player Fullscreen Orientation Change - Windows
    Flash Player will now detect and appropriately scale your content to fit best in a fullscreen display when your device orientation is changed.  This change is specific to Windows and is implemented across all browsers.  We're focusing on providing the best tablet experience possible.  A resize event will fire when in fullscreen mode and the device orientation changes.  Developers, if your content does not resize, you will need to handle the resize event appropriately.  Additional details will be made available in a separate blog post.
    For additional details, please see the Guide for Supporting Screen Orientation with Full-Screen Flash Player Content.
    Hardware video decoding on Chrome (PPAPI) for Windows
    We're pleased to announce that hardware video decoding is now enabled by default for Chrome users on Windows.  This feature will drastically reduce the CPU usage and improve performance on supported videos players.  We're working closely with Google to bring this feature to OS X and will provide additional details when available.
    Automatic software fall back with StageVideo
    Flash Player 15 now supports a Software version of StageVideo that provides an automatic failover to the software version when hardware StageVideo is not available. To leverage this automatic failover, the swf apps need to be compiled for Flash Player 15 and above.
    When the swfs are compiled for Flash Player 15 and above, and when hardware StageVideo is unavailable, the app will get a StageVideoAvailability event as earlier, but instead of being "Unavailable" it will ALWAYS be "available", and the reason will always be "noError". The app will no longer need to implement a Video object failover as the failover is automatic inside flash player. The apps can still choose to use Video object instead of StageVIdeo if needed.
    Hardware StageVideo availability is dependent on a number of factors, including:
    Browser hardware rendering support: If available, all wMode based apps will support hardware StageVideo. If not available, wMode=direct based apps will be the only ones that will support hardware StageVideo, unless there are other exceptions, like the ones mentioned below.
    On Windows:
    IE11: IE has an accelerated pipeline and the FlashPlayer is HW accelerated in all wmode, so StageVideo should always be available. Note that the decision to use the HW accelerate rendering pipeline reside in IE.
    Firefox: There is currently no HW accelerated pipeline available in Firefox on windows and only wMode direct will have StageVideo available all other wMode should generate a unavailable event.
    Chrome: Pepper has HW acceleration in all wMode, but some restrictions apply. For example Chrome will refuse to use HW acceleration on Windows XP and it has its own driver blacklisting mechanism. It is also possible for the user to disable the HW acceleration in the settings panel. Chrome exposes a somewhat useful page to allow one to see the status of its gpu acceleration: chrome://gpu/
    On Mac:
    Safari: All wMode should expose StageVideo
    Firefox: All wModes should expose StageVideo
    Chrome: All wMode should expose StageVideo, with the same limitations as the windows version.
    Driver version: Certain older drivers may not support hardware StageVideo
    User settings: If a user turns off hardware acceleration, then hardware StageVideo will not be available
    Full Screen: Hardware StageVIdeo is always available in Full Screen mode.
    When the hardware StageVideo fails because of browser support, wMode, driver version or user settings, starting with Flash Player 15, SW StageVideo will be used automatically without needing any configuration or code in the app.
    New MMS.CFG Flag - EnableInsecureJunctionBehavior
    Flash Player 15 restricted the ability for Flash Player in Internet Explorer to write to paths that traversed Junction files in Windows. This affected some enterprise organizations that relied on redirected user folders that also leveraged Junctions, and we have introduced a new mms.cfg that allows organizations to revert to the insecure behavior as temporary pain relief. We recommend that administrators only use this flag as a short-term workaround.
    This Flag only works in Internet Explorer with Protected Mode disabled.
    To enable this behavior, add the following line to your mms.cfg file:
    EnableInsecureJunctionBehavior = 1
    For complete information please see our release notes.
    Fixed Issues
    [Mac][Chrome] No longer inadvertently requiring some users to reset their license files when viewing content protected video
    Current Flash Player users that have enrolled in the "Allow Adobe to install updates (recommended)" update option will receive this release automatically and silently within 24 hours.  Users that have selected the "Notify me to install updates" update option will receive an update notification dialog within 7 days from today.  Windows users will need to restart their system or log out and in to receive the notification dialog.
    Please note that both Flash Player for Google Chrome and Microsoft Internet Explorer for Windows 8.x are updated using different mechanisms.  Flash Player for Google Chrome updates will occur during regular Chrome updates.  Flash Player updates for Internet Explorer on Windows 8.x will be provided by Microsoft though the Windows automatic update feature.
    If you would like to install the update immediately, please use one of the links below:
    Flash Player 15 for Windows XP, Vista and 7 and Internet Explorer (ActiveX): 15.0.0.239
    Flash Player 15 for Windows XP, Vista and 7 and Other Browsers (NPAPI): 15.0.0.239
    Flash Player 15 for Internet Explorer on Windows 8.1 (64-bit machine): 15.0.0.239
    Flash Player 15 for Internet Explorer on Windows 8.1 (32-bit machine): 15.0.0.239
    Flash Player 15 for Internet Explorer on Windows 8 (64-bit machine): 15.0.0.239
    Flash Player 15 for Internet Explorer on Windows 8 (32-bit machine): 15.0.0.239
    Flash Player 15 desktop for Mac (NPAPI): 15.0.0.239
    Flash Player 11.2 desktop for Linux (NPAPI): 11.2.202.424
    Flash Player 13 Extended Support Release for Windows and Macintosh: 13.0.0.258
    Previous versions of Flash Player can be found on the Flash Player Archive page
    If you encounter a problems with broken or missing links, please clear your browser cache and try again.  If the problem persists, please create a new post in our forum or send email to [email protected].

    Thanks Clark for addressing my problem.
    I was out of town, just returned today. Hence some delay in my reply.
    The application being at an enterprise level and huge, I am not sure how to share a simplified source.
    The complexity of the elements getting created in the application may also cause error in rendering at that zoom level.
    Let me find out some way out of how to share more details on this.
    I will be able to share the swf link with you after discussing the confidentiality terms with the concerned person.
    I appreciate your patience.
    Have a good day!
    Best
    Deepanjan

  • Spotlight behavior in Leopard

    Can someone explain this to me:
    If you create a folder in Leopard on the desktop and call it "12345678" and then search for 2345678 in Spotlight, why doesn't the folder appear in the search results? This worked in Tiger. It worked in Win95 for that matter.
    Now for the kicker: Search for 12345 and your folder will appear, as if by magic. This one simple exercise tells me that I can't trust Spotlight searches at ALL right now.
    I've read that Leopard ignores file names that it doesn't think are important in search results. It uses some kind of "logic" to return "smart" results and keep you from being overwhelmed by the search results. Believe me, I'm not overwhelmed by Zero Results. I'm decidedly underwhelmed.
    I can do this same experiment with my macbook and 10.4 and the folder shows up no matter which parts of the file I am searching for.
    Yes, I know you can hit the "plus" button in the search window and go in and force it to search "filename" and "contains" instead of the default(!) "begins" but that is probably a 15 second process every time, because the "save" option for the searches doesn't work with file open/save dialog boxes when you use spotlight within them. Big Fat Bummer.
    I have about 10000 SKUs in our product catalog that I need to pull images for all the time. They are named by UPC and most of them have the same first 4-5 digits because they are part of the same product classification. That means that in Tiger I can search for the last 4-5 digits of the UPC and get a result. In Leopard, that same approach returns zero files. I am very sad. Am I missing something? I've looked all over for a preference that I can change to force Spotlight to always show me ALL results, no matter how irrelevant it thinks they may be. Is there a script that will troll through an entire folder and put a copy of the file name into the "comments" field so that Spotlight will pay attention? Is this really, truly not considered a bug? It's so difficult to work around this problem that I've resorted to using an FTP client (Transmit) and connecting to my OWN machine as if it were an FTP server, because Transmit will search based on file names (and only based on file names, as it happens). It will get me results faster than using Spotlight. On my local drives. Is this thing on? Anybody home? Hello?

    First off, I'm not suggesting that the Spotlight interface (especially the GUI portions) isn't frustrating to use and buggy. Nor am I suggesting that using the command line is the right way to do it or necessarily easier (I know that for most people it is not).
    However, since I do spend a lot of time with a command line shell open, I feel I should at least mention the "mdfind" utility. In my experience, this utility is extremely accurate returning results. It doesn't feel like there's any sort of governor on it, like with the GUI interfaces, which can be both good and bad I suppose. With a properly formed search string, mdfind can be very powerful. And, since it's a command line utility, you can combine it with some other Unix tools like "grep" or "xargs" to do some really cools stuff.
    In your example, with a folder named "12345678", I can run this query from the command line:
    % mdfind "kMDItemFSName = *45678"
    and find that folder. I could also do this
    % mdfind "kMDItemFSName = \*45678 || kMDItemFSName = 87655\*"
    to find that folder or a folder named 87654321. There's also time based searching, less than/greater than comparisons, inequality comparisons, etc. Granted, it takes a little bit to familiarize yourself with the metadata attribute names, but there's only a handful that are typically useful so it's not that much of an issue (IMO). Run "mdls" on a file to see the attribute names.
    Since mdfind is searching the central metadata store, it's also pretty quick. Even though some of the other apps mentioned are multi-threaded, they still have to traverse the file trees looking for matches...
    Hope this helps.
    Message was edited by: glsmith

Maybe you are looking for

  • Want to Send smartform as pdf attachment with a Email to some mail id

    Hi , I want to send a smartform as a PDF attachment with a mail to a mail id. And I can send a mail with the PDF attachment. But I am not able to open the PDF. It is throwing some error (Adobe reader could not open u2018fileu2019 because it is either

  • [10.1.2] Lov validate doesn't support bind params

    Hi forum, We were trying to use lov validate feature with a view object LOV that has parameteres in its query. Knowing that JHeadstart has the query bind field in Application Structure file, we've filled it. A strange behaviour occurs when the user p

  • Multiple XY graph

    Hi, in a control and simulation loop,  I am making an xy graph that combines data from two wires for the x values and data from two wires for the y values.  I have attached a picture of part of the code.  When I run using some variable it works ok (p

  • Adobe Flash will not install

    All of a sudden Youtube wouldn't work on my computer telling me I needed to have Adobe Flash installed. I tried to download Adobe Flash and install it only to get a message saying that a newer version was already on my computer. I uninstalled Adobe F

  • My iTunes won't always close and i won't let me change the volume.

    I've updated it but the problem continues. sometime it closes but others it would just open right away.