Results 1 to 4 of 4

Thread: Noob questions - Search File Types, Python and External Editor

  1. #1

    Default Noob questions - Search File Types, Python and External Editor

    Have just purchased and set up my EagleFiler environment and all is working very well. Nice tool for Mac users. Well done.

    The only questions I have are

    1. Finding by File Type

    Regarding the search query syntax, I want to find all images regardless of the folder(s) they reside in.
    I selected the records folder and thought *.jpg *.png *.gif would find all the images but no luck.
    Also tried kind:image but to no avail.

    2. Python Integration

    I can see Applescript is supported. Can I use a python script?

    3. External Editor

    Can I edit EF plain text files using an external code editor e.g. Sublime Text directly from within EagleFiler. Main reason is so I can use EF as a code repository

    Thanks in Advance
    Allan

  2. #2

    Default

    Quote Originally Posted by allan davies View Post
    1. Finding by File Type

    Regarding the search query syntax, I want to find all images regardless of the folder(s) they reside in.
    I selected the records folder and thought *.jpg *.png *.gif would find all the images but no luck.
    Also tried kind:image but to no avail.
    The problem with the above is that EagleFiler does an AND search by default. “kind:” syntax is not currently supported (only “tag:”).

    There are a variety of ways to do this:

    • An Anywhere search with Match Partial Words checked for “.jpg OR .png OR .gif”.
    • An Anywhere search with Match Partial Words unchecked for “*.jpg OR *.png OR *.gif”.
    • A smart folder that specifies precisely what you want, matching either the Kind or Filename with Ends With or Matches Regex.


    Quote Originally Posted by allan davies View Post
    2. Python Integration

    I can see Applescript is supported. Can I use a python script?
    There’s no separate Python API, but there are various means that you can use AppleScript via Python.

    Quote Originally Posted by allan davies View Post
    3. External Editor

    Can I edit EF plain text files using an external code editor e.g. Sublime Text directly from within EagleFiler.
    Yep, just like you can with regular Mac text files.

  3. #3

    Default

    Hi Michael

    Thanks for the prompt feedback, much appreciated.

    Re the points I raised

    1. Searches work exactly as you outlined. thanks

    2. Re python integration I set up an external application (via Always Open With) that runs python code using the EF file I double clicked and displays the results in Sublime Text. A bit convoluted but it works well for my use case. I've also used a similar approach to execute a Livecode application successfully. The world is my oyster :-)

    3. external editing working perfectly thanks

    Keep up the great work.

    I look forward to digging into EF more over the coming weeks

    Cheers
    Allan

  4. #4

    Default

    Quote Originally Posted by allan davies View Post
    2. Re python integration I set up an external application (via Always Open With) that runs python code using the EF file I double clicked and displays the results in Sublime Text. A bit convoluted but it works well for my use case. I've also used a similar approach to execute a Livecode application successfully. The world is my oyster :-)
    Great! I should also note that in addition to Python calling AppleScript, you could use AppleScript (e.g. via the system script menu or FastScripts) to call into Python.

Similar Threads

  1. File storage questions
    By wayupnth in forum EagleFiler
    Replies: 1
    Last Post: 03-22-2010, 11:39 AM
  2. Replies: 3
    Last Post: 12-08-2009, 02:55 PM
  3. Replies: 4
    Last Post: 11-12-2009, 02:46 PM
  4. Record viewer for unsupported file types
    By kmarkley in forum EagleFiler
    Replies: 8
    Last Post: 08-02-2007, 05:08 PM
  5. External editor with highlight
    By towb in forum EagleFiler
    Replies: 0
    Last Post: 06-21-2007, 07:12 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •