Searching for a file and returning location?

Hello,
Using flex 4, and creating an AIR desktop app for windows only, can you have a function search for a known file name and return the location?
I cannot find anything about this, only an example for mac.

HI Bethany,
This may work in Numbers for iOS:
Table 1 is your data table, with an index column (K) added.
Your appointments for one specific date are shown on Table 2.
Table 1 contains one formula, entered in K2 and filled down the rest of that column.
K2: =IFERROR(IF(MATCH(Table 2 :: $B$1,B2:J2,0),MAX($K$1:K1)+1,""),"")
The formula creates a serial number for each row containing the search date entered in Tble 2::B1, and leaves other rows 'blank'.
Table 2 contains one formula, entered in B2 and filled right:
B2: =IF(COLUMN()-1>MAX(Table 1 :: $K),"",OFFSET(Table 1 :: $A$1,COLUMN()-1,0))
You will need a column for each potential appointment. The table as shown has a maximum of four. Add columns for more.
Regards,
Barry

Similar Messages

  • Searching for missing files and damaged photo icon

    I am trying to view photos that I have viewed in this program numerous times before but now when I click on the photos, I get a message that says "searching for missing files". Sometimes, the photo appears with a red icon below it that resembles a wripped photo. Does this mean my photo has been damaged by the program?

    I too have been told to find them on my hard drive but still nothing comes up, I can find the picture name and then do a search, but nothing. I've tried several times and it just keeps saying seach for missing files not found. I can see my collection of pictures, but there blury and then when I try to click on them, it says searching for missing file and it gives me the file name, and then I've tried to go under my search and put that file name in and nothing comes up, I also got NO help from adobe and they want us to buy more products??? They could have warned us somehow on what happens if you move them or try and put them on disc, and that's what happen, I put some on disk or at least thought I did and then realized I didn't want to do that, so I hit the UNDUE and I guess it was so late or something, cuz I can see the pictues, just can't open them. I'm wandering if I need to have a expert see if he can get them off of Adobe, I really want the pictues I have graduation pictures on there and need them very much. Would love to have help from anybody. Please.
    Thank you
    K

  • Search for a word and return all the  lines (row) from the text file..

    Hi all,
    I need a help on how to search a string from the text file and returns all the lines (rows) where the searched string are found. I have included the code, it finds the indexof the string but it does not return the entire line. I would appreciate your any help.
    public class SearchWord
         public static void main(String[] args){
         //Search String
         String searchText = "man";
         //File to search (in same directory as .class file)
         String fileName = "C:\\Workspace\\MyFile.txt";
         //StringBuilder allows to create a string by concatinating
         //multiple strings efficiently.
         StringBuilder sb =
         new StringBuilder();
         try {
         //Create the buffered input stream, which reads
         //from a file input stream
         BufferedInputStream bIn =
         new BufferedInputStream(
         new FileInputStream(fileName));
         //Holds the position of the last byte we have read
         int pos = 0;
         //Holds #of available bytes in our stream
         //(which is the file)
         int avl = bIn.available();
         //Read as long as we have something
         while ( avl != 0 ) {
         //Holds the bytes which we read
         byte[] buffer = new byte[avl];
         //Read from the file to the buffer
         // starting from <pos>, <avl> bytes.
         bIn.read(buffer, pos, avl);
         //Update the last read byte position
         pos += avl;
         //Create a new string from byte[] we read
         String strTemp =
         new String(buffer);
         //Append the string to the string builder
         sb.append(strTemp);
         //Get the next available set of bytes
         avl = bIn.available();
         catch(IOException ex) {
         ex.printStackTrace();
         //Get the concatinated string from string builder
         String fileText = sb.toString();
         int indexVal = fileText.indexOf(searchText);
         //Displays the index location in the file for a given text.
         // -1 if not found
         if (indexVal == -1)
              System.out.println("No values found");
         else
              System.out.println("Search for: " + searchText);     }
    }

    Hi, you can use servlet class and use this method to get the whole line of searched string. You can override the HttpServlet to treat that class as servlet.
    public class ReportAction extends HttpServlet {
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    //write your whole logic.
    BufferedReader br = new BufferedReader(new FileReader("your file name"));
    String line = "";
    while(line = br.readLine() != null) {
        if(line.contains("your search string")) {
            System.out.println("The whole line, row is :"+line);
    }

  • How to search for a file and copy it to somewhere else in terminal

    So basically how can I search for a file on my computer named "testingtesting.txt" and copy it to my desktop using terminal? I have very little experience in terminal, so I was going to try and use the mdfind command, then store that output as a variable, and use that variable as the source for the cp command, but I feel like there is probably a much simpler method. So basically how could I find a file named "testingtesting.txt", copy it, and paste it to my desktop using terminal.

    Is there any particular reason that you must use Terminal?
    You could just download the free EasyFind from the App Store and find the file quickly. Do whatever you wish with it.
    Good luck,
    Clinton

  • "Using the Filter HUD to Search for Referenced Files" (and "Locate Referenced Files")

    I am trying to follow the Help Documentation item "Using the Filter HUD to Search for Referenced Master" (not sure if there is a way to post a URL to this) and I am not seeing what it is telling me to do.
    I am going to Edit > Find and it is telling me to "Click the Filter HUD button beside the search field in the Browser". Is this referring to a browser in the Aperture UI or is this in the Filter HUD display? I am not finding this.
    Also, it saying that in the Filter HUD I should "choose File Status from the Add Filter pop-up menu, and select the 'File Status' checkbox." and I am not seeing this either. Does anyone know where this is at?
    Lastly, I see that there is a command called File > Locate Referenced Files and when I run this I get a "No Referenced Files in the /current/ selection. I have realized that I don't quite understand whether I am running this search for a specific Project and/or whether I have to make a specific selection in the left hand pane when I run a FILTER HUD or whether this automatically defaults to search the whole database. Does it matter what I have selected in the current Browser View when I run either of these commands?
    Thanks for any help in my getting this working better for me.

    hotwheels 22 wrote:
    I am trying to follow the Help Documentation item "Using the Filter HUD to Search for Referenced Master" (not sure if there is a way to post a URL to this) and I am not seeing what it is telling me to do.  1
    I am going to Edit > Find and it is telling me to "Click the Filter HUD button beside the search field in the Browser". Is this referring to a browser in the Aperture UI or is this in the Filter HUD display? I am not finding this. 2
    Also, it saying that in the Filter HUD I should "choose File Status from the Add Filter pop-up menu, and select the 'File Status' checkbox." and I am not seeing this either. Does anyone know where this is at?  3
    Lastly, I see that there is a command called File > Locate Referenced Files and when I run this I get a "No Referenced Files in the /current/ selection. I have realized that I don't quite understand whether I am running this search for a specific Project and/or whether I have to make a specific selection {4}  in the left hand pane {5} when I run a FILTER HUD or whether this automatically defaults to search the whole database. Does it matter what I have selected in the current Browser View when I run {6} either of these commands? 7
    Thanks for any help in my getting this working better for me.
    1.  Just copy and paste the URL from the on-line User Manual.  Very helpful.  Are you on this page?
    2.  From the above-linked page:
    Show the Filter HUD by doing one of the following:
    Choose Edit > Find (or press Command-F).
    Click the Filter HUD button beside the search field in the Browser.
    The instructions specify ONE of the following.  Your question indicates to me that you are trying to do both.
    3.  The User Manual has used the wrong term here.  It should say "Choose 'File Status' from the 'Add RULE' pop-up menu."
    4.  The command -- like all commands? -- works on the currently selected Images.  On the same page in the User Manual it says:
    You can select a group of images in the Browser and Aperture can show a list of the referenced images within the selection, including information about where the masters are located. {Emphasis mine.}
    5.  The Aperture workspace is highly configurable.  I don't know what you mean by "the left-hand pane".  Of what?
    6.  Yes.  Of course it matters.  At some point in the 80's when the GUI became standard computers standardized on the "Noun→Verb" syntax:  Select object(s), select command(s).
    7.  Not sure what the second command to which your refer is.

  • Each time that I sign in to Adobe I have to search for my files and my purchased package. What am i doing wrong? Why can't I just sign in and be taken to my package and documents?

    I find the Adobe site to be very unfriendly. I believe that I should be able to sign in and be taken to my purchased package (PDF Converter, Cloud, etc), without having to spend 5 minutes searching the site. I would appreciate any tips as it takes me longer to convert 1 PDF than it does to create the 5 Excel documents that I need to convert.

    Hi lakepretty,
    Are you logging in directly to https://cloud.acrobat.com/exportpdf? That should take you directly to where you need to be. (You could also bookmark that page in your web browser, which would make it even easier to get there!).
    Please let us know if you have additional questions.
    Best,
    Sara

  • Searching for a file in java

    What I am trying to do is not very uncommon. I want to open a file in it's default application (or at least in a common one.)
    Mainly I am currently thinking either HTML files or PDF's.
    What I was wondering is how to search for a file and get its directory path. For example I want to search for the file "Acrobat". In windows its directory is "C:\Program Files\Adobe\Acrobat 5.0\Acrobat\Acrobat.exe"
    But I know in MAC or Unix the path could be very different. Not only that, but what if they did not use the default installation directory. I just want to find the path of a file by invoking a search. Is there currently any way to do this?
    I know I can open a JFileChooser and make the user search and find the program they wish to run it in, but that certainly is not very user friendly. I'd rather the program just searched for the proper application(s) and then called the exec() method to run the file in the program.
    Any help is appreciated.

    java.io.File provides a listRoots() method that returns all file system roots. So for Windoze you'd get 'A:/', 'B:/' 'C:/' ... etc.
    Unix you'd get '/' and so on.
    Now you can use other File methods to recursively scan the roots.
    Here's some (untried) code to get you going that searches for all java.exe found on all roots.
    import java.io.File;
    import java.util.Arrays;
    import java.io.FilenameFilter;
    import java.util.List;
    import java.io.IOException;
    public class FindIt {
      public FindIt () {
        File[] roots = File.listRoots();
        List list = new ArrayList();
        for (int i = 0; i < roots.length; i++) {
          scan(roots,list,new FilenameFilter(){
    public boolean accept(File file, String name) {
    return new File(file,name).isDirectory() ||
    name.equals("java.exe");
    public static void scan(File path,
    List list,
    FilenameFilter filter) throws IOException {
    // Get filtered files in the current path
    File[] files = path.listFiles(filter);
    // Process each filtered entry
    for (int i = 0; i < files.length; i++) {
    // recurse if the entry is a directory
    if (files[i].isDirectory()) {
    scan(files[i],list,filter);
    else {
    // add the filtered file to the list
    list.add(files[i]);
    } // for
    } // scan
    public static void main(String[] args) {
    new FindIt();
    You will run into problems with some roots as they will be removeable media (cd's diskettes) or network drives (potentially huge number of dirs to scan). So I do not recommend that you search on all roots, but a subset.
    Dave

  • Search for big files

    I have a MacBook Pro, and I am running out of Hard Disk space. I used to just create a smart folder that contained files larger than 100 meg. Now I can't see the size in the smart folder view. Any way to make this happen? Did apple seriously not include an option to search for large files and display the file size? If this is the case, that is a serious problem.
    Ken

    I should mention a "not really a work around" thing you can do to help, at least a little:
    When you have your list of files larger than whatever, select the first item, then bring up the "Show Inspector" window (Command-Option-I) and place it next to your results window. It shows the actual size of the selected file. Click back on the results window if necessary (this is ANOTHER annoyance--Finder windows sometimes lose focus to the Info window without any visual feedback from either of the windows that this has happened, and sometimes they don't), you can now use the arrow keys to move up and down the list and read the size in the Info window of each file. Not really what one wants, but at least you can locate the biggest files.
    Francine
    Francine
    Schwieder

  • Searching for Missing Files-Elements 5.0

    Elements 5.0--loaded photos from my camera using Elements.  Added some captions using Elements.  the next time I tried to retrive photos I got a screen saying "Searching for Missing Files"  and the system started scrolling through files.  Not sure why this is happening.

    Please post Photoshop Elements related queries over at
    http://forums.adobe.com/community/photoshop_elements

  • Search For a File

    Hello,
    What is the script in order to have applescript search for a file, and if the file does not exist it runs a script?
    Simply like this:
    Search for file (HD:Users:etc)
    if the file does not exist then
    -do whatever
    end if
    if the file exists then
    -continue the script
    end if
    Basically I need to be able to add something in the beginning of a script that looks for a file, if it is not there it creates it and continues with the script. And if the file is there, it does not create it and just continues with the script.

    Here:
    try
    alias "Macintosh HD:file"
    on error
    --no file
    end try
    --rest of code
    (53437)

  • Searching for a string in an excel file and return true if found.

    How can I search for a string in an excel file and return true if found, its location and also a value.

    The problem with searching an excel file is that it contains a header. It would be easiest if you just read the file into a LabVIEW array and search the array. This way you can also get the index and the value of the location.

  • How to search a special string in txt file and return it's position in txt file?

    How to search a special string in txt file and return it's position in txt file?

    I just posted a solution for a similar question here:  http://forums.ni.com/ni/board/message?board.id=170​&view=by_date_ascending&message.id=362699#M362699
    The top portion can search for the location of a string, while the bottom portion is to locate the position of a character.  Both can search for a character.
    The position of the character within the file is displayed in the indicator(s).
    R

  • Attachments dont download from Gmail in Safari, They disappear,I even tried re-downloading Safari and that download disappeared, it is not in my downloads folder, I actually searched in finder for the file and it is nowhere on my computer.  Please help!

    Attachments dont download from Gmail in Safari, They disappear,I even tried re-downloading Safari and that download disappeared, it is not in my downloads folder, I actually searched in finder for the file and it is nowhere on my computer.  Please help!

    Oh my gosh I had the EXACT same problem, and for ages I couldn't figure out how to fix it until today. Here's what I did:
    First I went onto my computer, opened itunes, and un-installed tumblr, vine and kik. These were the apps I was having problems with (it said I had them on my phone but, like you, they didn't show).
    Then I went to the itunes store, searched for each one, and it said I could update them so I did (just FYI: for tumblr a window popped up saying "please click ok to confirm you are 17 years or older", so I did that also)
    When I went back to my phone and tried installing them again (still on my computer), it worked!
    I hope this helps, because it was incredibly frustrating. Good luck!

  • Can't retrieve project from early Photoshop Elements 5.0 as program is searching for Missing Files.  These were transferred from that computer and then lost HELP

    When I bought my new laptop I transferred "My Pictures" onto a memory stick then onto the new laptop which are now lost.  I have a very important family holiday/wedding still on my old computer in Photoshop Elements 5.0.  The photos are there but when I open them I get a window where PE is "searching for missing file".  Is there any way I can save these photos please?

    Please post Photoshop Elements related queries over at
    http://forums.adobe.com/community/photoshop_elements

  • Searching for audio files in the Browser

    Hi,
    I've recently ripped all of my SFX libraries to AIFF files but am having some trouble with using the Search functionality of the Browser.
    When ripping the CDs, I wrote an Applescript to pull the descriptions from a spreadsheet and put it in the Spotlight Comment for each file. This works great for Spotlight searches from Finder but seems to be next-to-useless for Soundtrack (Pro) as it only seems to find results based on filenames.
    Then I tried a different approach. I wrote another Applescript to copy the Spotlight Comment for each file and paste it into the Comment field in the metadata for each file (via iTunes). Again, this works great in Finder using a Spotlight search but makes no difference to the results in Soundtrack.
    Each time I re-indexed my files within Soundtrack (as a side note, does anyone know where this indexing information gets stored? I'd like to have a look at it)
    I briefly had a look at Appleloop Utility but it seems to offer nothing apart from vague categorisation of the files.
    Can anyone explain what the search function within Soundtrack actually searches or see where I'm going wrong or offer some help?
    Thanks,
    Neil

    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Mail/V2
    Right-click or control-click the highlighted line and select
              Services ▹ Open
    from the contextual menu.* A folder should open. Inside it are subfolders representing your Mail accounts. The names refer to the email addresses you use.
    Enter Time Machine and scroll back to the snapshot you want. Select the account folders you want and then select  Restore ... to... from the action menu (gear icon) in the toolbar of the snapshot window. Restore the folders to the Desktop, not to their original location.
    From the Mail menu bar, select
              File ▹ Import Mailboxes...
    Choose Apple Mail as the format and import from the mailboxes in the folders you restored to the Desktop. The imported messages will appear in a new mailbox. Move the ones you want to keep wherever you like and delete the rest. Then delete the folders on the Desktop.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

Maybe you are looking for

  • Is it possible to add groups in RDP file without opening it?

    We are using row-wise initalization in OBIEE 10.1.3.4. Are customers would like to add custom groups for diffenrent people so they can share dashboards. The problem is that we don't want them to touch RDP file manually. And in my knowledge the groups

  • Video card and power supply upgrade

    Hi, can i put in my hp pavilion p6-2315el an asus gtx 760 and a 600w power supply?

  • System copy/system refresh

    Hi Experts, Our dev,qty, prd system donu2019t have exact replica in terms of objects in interfaces. Few changes made at object level in  production system is not done in qty system. To make all the 3 systems containing same objects what need to be do

  • Some Photos are blank after conversion from Aperture

    Library contains 45K photos .. migrated from Aperture.  For some reason a large number of the photos have meta data but are blank.  Where have they gone?

  • How to add jar library in java?

    Hi, I am Anil, Could it possible to add library in Java library? like java.io.DataInputStream is library in Java (JDK), so I want to add my own library in Java JDK. I have created a package net.jini.j2space and one interface in it J2Space, I have cre