Entering a file path into Finder or elsewhere?

can anyone help me if there are one or more ways to find a path like this in finder or other software? i have recently realized that i don't know how to take a file path such as this and then get my mac to show me where this is without "manually" finding it myself. also, i would love any other info on this type of topic or closely related topics if there are any that a new user should be aware of...
/Users/mini_me/Library/Application Support/Postbox/Profiles/jaw8jgkk.default/Mail/Local Folders
TIA

That particular keyboard shortcut is coded into the Finder, which is an application even though we don't usually think of it that way. In other apps, it might do something else, or nothing at all. For instance, in Safari, "⇧⌘G" is the shortcut for finding the previous instance in a search (it's on the "Find" menu item of the "Edit" menu).
You are right about the Keyboard Shortcuts section of the Keyboard system preference. Note that you can also create shortcuts as well as change ones that appear there, & they can be either "global," applying to all apps or specific to a selected app. However, the shortcuts you create will not override ones coded into an app.
If you click the purple question mark icon in the preference, the help topic that appears will give you a little more info about this.

Similar Messages

  • Loading JSON files from URLS/File Paths into a After Effects

    Basically, I want to make a script in which the user enters a file path or URL of a JSON file, the file is loaded and the user can manipulate the data in various ways within After Effects.
    I got as far as writing a script that requests the data and logs it into the console but it will only work in Extendscript. I'm using Extendables which was built for indesign so that may be the problem.
        #include Extendables/extendables.jsx
        var url = "http://echo.jsontest.com/key/value/otherkey/othervalue";
        //Retrieve the data
        function retrieveData(_url){
            var http = require("http");
            var response = http.get(_url);
            var responseStr = JSON.stringify(response);
            var responseBod = JSON.parse(responseStr);
            var data = JSON.parse(responseBod.body);     
            $.writeln(data.key);
        retrieveData(url);
    When I run it in After Effects I get an error "Undefined is not an object" pointing to line 162 in errors.jsx which says:
    if (app.name.to('lower').contains("indesign")) {
    What exactly is happening here? Is there a better way to go about doing requesting JSON files?
    Thanks!
    EDIT: I should add that I tried removing the "$.writeln(data.key);" but am still getting the same error.

    The line that generates the error tries to test whether the targetted application is InDesign, and the test is not so good because in other apps the test may generate an error.
    (For AfterEffects, the object 'app' exists [object Application] but it doesnt have a 'name' property, so app.name.xxx is wrong).
    I don't know of a test that would work for any app. For After Effects, "if (app.effects instanceof Array)" might work, not sure.
    If the script is meant to target AfterEffects only you can simply omit the condition.
    Xavier

  • How can i call this file path into my bsp-html  to display the images?

    Hi
    I have a file path for an image like c:/test_logo.bmp.
    How can i call this file path into my bsp-html  to display the images?
    moosa

    Try this...
    Can i have  sample code in BSP-HTML to display images?

  • Copy and paste file path into bridge

    I use bridge a lot! One of the most annoying things about bridge is that I can't paste a file path into bridge to browse to that file, on a network server, for example. I work at a graphics company, all our files are stored on servers with hundreds of folder levels, which makes it a huge pain to browse to manually.
    I'll usually get a file path link that i can quickly paste into windows explorer to either open the file or browse to the folder it's in. With bridge i have to manually click through to the network folder.
    This change would make a huge difference in usability for me.

    Paste your path into explorer then you can Right Click on the folder and select "Browse in Adobe Bridge CS5"
    Edit:-  you can paste the path directly into the top bar just click to the right of the path and it will allow you to paste your path in.

  • Teststand 1.03 - How can I get the sequence file path into an expression?

    The sequence file will be located at different locations on different computers. I need the base address of the sequence file to get to the correct limits file. How can I get the sequence file path into a string-local expression.
    Thanks

    As Ray described, the FindFile expression function and TS API method will seach all TS search directories and return to you the path of your file, assuming the file is located in the search directories.
    If you just want the path of a TS file that you have a reference to then there is a faster, easier method. You can use the Path property of the PropertyObjectFile class. In the attached example I use an AcitiveX Automation adapter step to call Path on the property RunState.SequenceFile. This returns the path to the current executing sequence file. Note that if you have not yet saved the sequence file then the path will be empty. In a subsequence step I strip off the file name leaving the root path of the file.
    Attachments:
    GetSeqFilePath.seq ‏22 KB

  • Pass File Path into Message Box

    Hello,
    I’m building an application that is being used to create a report for whatever date range the user chooses. After the data is exported into Excel I have a message box pop up telling the user where the file has been saved to. However, as it is now, I have
    the file path hard coded. What I want to do is have the file path chosen by the user passed into the message box and display a message with the selected path. Any help with this will be greatly appreciated.
    Dave
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using ClosedXML.Excel;
    using DocumentFormat.OpenXml;
    using System.IO;
    namespace LoanOrig_FDIC_Codes
    public partial class Form1 : Form
    SqlCommand sqlCmd;
    SqlDataAdapter sqlDA;
    DataSet sqlDS;
    DataTable sqlDT;
    SqlCommand sqlCmdCnt;
    public Form1()
    InitializeComponent();
    //BEGIN BUTTON LOAD CLICK EVENT
    private void btnLoad_Click(object sender, EventArgs e)
    string sqlCon = "Data Source=FS-03246; Initial Catalog=ExtractGenerator; User ID=myID; Password=myPW";
    //Set the 2 dateTimePickers to today's date
    DateTime @endDate = End_dateTimePicker.Value.Date;
    DateTime @startDate = Start_dateTimePicker.Value.Date;
    //Validate the values of the 2 dateTimePickers
    if (endDate < startDate)
    MessageBox.Show("End Date must be greater than or equal to the Start Date OR Start Date must be less than or equal to the End Date ", "Incorrect Date Selection",MessageBoxButtons.OK,MessageBoxIcon.Error);
    //Reset both dateTimePickers to todays date
    Start_dateTimePicker.Value = DateTime.Today;
    End_dateTimePicker.Value = DateTime.Today;
    return;
    //End of date validation
    string sqlData = @"SELECT AcctNbr,
    CurrAcctStatCD,
    Org,
    MJAcctTypCD,
    MIAcctTypCD,
    NoteOriginalBalance,
    ContractDate,
    FDICCATCD,
    FDICCATDESC,
    PropType,
    PropTypeDesc
    FROM I_Loans
    WHERE CAST(ContractDate AS datetime) BETWEEN @startdate AND @enddate ORDER BY ContractDate";
    SqlConnection connection = new SqlConnection(sqlCon);
    SqlCommand sqlCmd = new SqlCommand(sqlData, connection);
    sqlCmd.Parameters.AddWithValue("@startDate", startDate);
    sqlCmd.Parameters.AddWithValue("@endDate", endDate);
    sqlDS = new DataSet();
    sqlDA = new SqlDataAdapter(sqlCmd); //SqlAdapter acts as a bridge between the DataSet and SQL Server for retrieving the data
    connection.Open();
    sqlDA.SelectCommand = sqlCmd; //SqlAdapter uses the SelectCommand property to get the SQL statement used to retrieve the records from the table
    sqlDA.Fill(sqlDS, "I_Loans"); //SqlAdapter uses the "Fill" method so that the DataSet will match the data in the SQL table
    sqlDT = sqlDS.Tables["I_Loans"];
    //Code section to get record count
    sqlCmdCnt = connection.CreateCommand();
    sqlCmdCnt.CommandText = "SELECT COUNT(AcctNbr) AS myCnt FROM I_Loans WHERE ContractDate BETWEEN @startDate AND @endDate";
    sqlCmdCnt.Parameters.AddWithValue("@startDate", startDate);
    sqlCmdCnt.Parameters.AddWithValue("@endDate", endDate);
    int recCnt = (int)sqlCmdCnt.ExecuteScalar();
    txtRecCnt.Text = recCnt.ToString();
    btnExport.Enabled = true;
    //End of code section for record count
    connection.Close();
    dataGridView1.DataSource = sqlDS.Tables["I_Loans"];
    dataGridView1.ReadOnly = true;
    //Reset both dateTimePickers to todays date
    Start_dateTimePicker.Value = DateTime.Today;
    End_dateTimePicker.Value = DateTime.Today;
    //END BUTTON LOAD CLICK EVENT
    //BEGIN BUTTON EXPORT CLICK EVENT
    private void btnExport_Click(object sender, EventArgs e)
    { //ClosedXML code to export datagrid result set to Excel
    string dirInfo = Path.GetPathRoot(@"\\FS-03250\users\dyoung\LoanOrig_FDIC_Codes");
    if (Directory.Exists(dirInfo))
    var wb = new XLWorkbook();
    var ws = wb.Worksheets.Add(sqlDT);
    ws.Tables.First().ShowAutoFilter = false;
    SaveFileDialog saveFD = new SaveFileDialog();
    saveFD.Title = "Save As";
    saveFD.Filter = "Excel File (*.xlsx)| *.xlsx";
    saveFD.FileName = "LoanOrig_FDIC_Codes_" + DateTime.Now.ToString("yyyy-MM-dd");
    if (saveFD.ShowDialog() == System.Windows.Forms.DialogResult.OK)
    Stream stream = saveFD.OpenFile();
    wb.SaveAs(stream);
    stream.Close();
    //End of ClosedXML code
    MessageBox.Show("File has been exported to U:\\LoanOrig_FDIC_Codes", "File Exported", MessageBoxButtons.OK, MessageBoxIcon.Information);
    else
    MessageBox.Show("Drive " + "U:\\Visual Studio Projects\\LoanOrig_FDIC_Codes" + " " + "not found, not accessible, or you may have invalid permissions");
    return;
    //END BUTTON EXPORT CLICK EVENT
    private void Form1_Load(object sender, EventArgs e)
    //Set dates to be today's date when the form is openend
    Start_dateTimePicker.Value = DateTime.Today;
    End_dateTimePicker.Value = DateTime.Today;
    private void Form1_Load_1(object sender, EventArgs e)
    // TODO: This line of code loads data into the 'dataSet1.I_Loans' table. You can move, or remove it, as needed.
    this.i_LoansTableAdapter.Fill(this.dataSet1.I_Loans);
    private void iLoansBindingSource_CurrentChanged(object sender, EventArgs e)
    private void btnExit_Click(object sender, EventArgs e)
    this.Close();
    //END THE SAVE AS PROCESS
    David Young

    Assuming I have located the part of your code you are talking about, I think you just need to replace the hard code path in the message with the path from the SaveFileDialog. You should only display the message if the use clicked OK.
    if (saveFD.ShowDialog() == System.Windows.Forms.DialogResult.OK)
    Stream stream = saveFD.OpenFile();
    wb.SaveAs(stream);
    stream.Close();
    MessageBox.Show("File has been exported to " + saveFD.FileName, "File Exported", MessageBoxButtons.OK, MessageBoxIcon.Information);

  • Insert File Path into Text Field

    I am trying to create a text filed at the bottom of a form document that will automatically input the file path (e.g.. C\:Folder\File) of the document itself after the document is saved.  I've looked at a few Scripts but nothing seems to be working.  I'm assuming it will look something like this on the "postSave" option:
    this.rawValue = event.target.path.replace(event.target.documentFileName, "");
    I am a very novice programmer so I have no idea if this is even close to right.

    Apparently some of my search parameters were off.  This question has already been answered before.  If anyone comes looking here, this is a link to the page with the answer.
    http://forums.adobe.com/message/4007317#4007317
    Enjoy.
    FYI: here is the code I used for the text field.
    Inspection.TextPage.Bottom.End.Directions.File::preSave - (JavaScript, client)
    this.rawValue = event.target.path

  • File path from find command and using POSIX

    Hi,
    I have a find command in do shell script returning output files of the form ./xyz/abc/.../...
    instead of the full path.
    I am guessing that this is the problem when I use POSIX path of one of those files. Can Applescript understand the "./" or does it need a full Unix path to convert it back?
    In that case, how do I ask find command to return the full path?
    Thanks in advance!

    >I am guessing that this is the problem when I use POSIX path of one of those files. Can Applescript understand the "./" or does it need a full Unix path to convert it back?
    You're right - AppleScript won't be able to use those paths because AppleScript has no idea of the current directory used by the shell.
    The problem is that you're defining '.' a the start point of your search.
    For each matching file find will print this start point in front of the relative path, assuming that you know where you're starting from. So the solution is to provide that path as the search start point rather than .
    For example, if your current script says:
    <pre class=command>cd /some/directory
    find . -name "*.mp3"</pre>
    You could/should rewrite this as:
    <pre class=command>find /some/directory -name "*.mp3"</pre>
    in the second case all matches would include the full path including the /some/directory part.
    If you can't predict what your search directory will be you can write your find like this:
    <pre class=command>find `pwd` -name "*.mp3"</pre>
    which will fill in the current directory (via pwd at the time the search is executed and will output full paths that AppleScript can work with.

  • DT files dropped into Finder and whole Mac slowing down

    Hi, I don't really know where to start my thread, so apologies if this is not the right place. My problem is that my Mac has slowed right down suddenly and my various DT files will not reappear (except for a few) when I restart. In fact, the DT is empty until I click at random, after which some of them appear. This all started when I did something that was probably unwise. I wanted to make a copy of my Photo Library for my external drive, so I created a file on the DT to put them in but this operation (about 5000 pictures) never really finished and I can see that these photos are stuck in some kind of DT limbo. What I may have done is drop them into the HD by mistake while I was dragging them to the external disk (?). I think that is what has bunged everything up but I have no idea what to do. I am trying to delete them within Finder but each time I do this I get a message for each individual file saying that the file is being used in another application and that deleting it might damage the other application. I can delete them, except for a few. In any case, this means clicking another 4500 times to delete each one individually, which is a bit beyond me. If anyone can help or direct me to another post, I'll re-post there.

    Good! Available 194GB You are nowhere near the 10% mark.
    Ok.. since things are slowing down... try booting from your install disk and run the Disk Utility app to check the startup disk for errors. You will need your install disk to do this.
    Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger and later) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.T Status of HDD at the bottom of right panel. It should say: Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    When you are finished with DU, from the Menu Bar, select Utilities/Startup Manager.
    Select your start up disk and click Restart
    *"like when I first turn it on, it takes forever to go to the users box."*
    Open System Preferences/Accounts and select the Login Items tab.
    If there are any applications listed there, delete them.
    And go to ~/Library/Startup Items. If there are any files in the Startup Items folder, delete those also.
    And see if deleting this file helps.
    com.apple.loginwindow.plist
    /Users/YourName/Library/Preferences. Drag that file to the Preferences folder to the Trash, empty the Trash and restart your Mac.
    Carolyn
    Message was edited by: Carolyn Samit

  • File path in footer

    Does Pages give me a way to autofill my file path into the footer like Word does?

    Hello
    Here is a revised version.
    Copy the script in the clipboard
    Paste in a blank window of Script Editor
    Save it as an Application or an Application Bundle
    Move the newly created application into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Pages:
    Now, enter your Pages document.
    Click where you want.
    Go to
    menu Scripts > pastethepath
    The path to the document's package will be pasted at the insertion point.
    If the document was never saved you will get an error message.
    Yvan KOENIG
    1 janvier 2008
    revised 24 février 2008
    --(SCRIPT pastethepath.app]
    set theApp to "Pages"
    tell application theApp to set u to path of document 1 (*
    returns nothing if the document was never saved *)
    try
    set u to u (* send an error if the doc was never saved *)
    on error
    tell application theApp to set u to name of window 1
    end try
    set ky to "/Volumes/"
    if u starts with ky then
    set u to text 2 thru -1 of POSIX path of (text (1 + (count of ky)) thru -1 of u)
    else if u starts with "/Users/" then
    tell application "System Events" to set u to (path of disk item u)
    set u to text 1 thru -2 of (u as Unicode text)
    else
    set z to do shell script "defaults read 'Apple Global Domain' AppleLocale"
    if z starts with "fr_" then
    error "Le document " & "«" & u & "» n’a pas été enregistré." number 701
    else
    error "The document " & "“" & u & "” was never saved." number 701
    end if
    end if
    set the clipboard to u
    tell application theApp to activate
    tell application "System Events" to tell process theApp
    keystroke "v" using {command down}
    end tell
    --[/SCRIPT]
    Yvan KOENIG (from FRANCE dimanche 24 février 2008 17:20:54)

  • File path not found

    hi
    i am using
    parameters:p_file like rlgrap-filename,
    to read the path for the file,
    if the file is not found.
    it should mention enter correct file path.
    how do i handle this scenario.

    You can check the SY-SUBRC returned form the UPLOAD FM.
    Like:
      DATA: L_FILE TYPE STRING.
      L_FILE = P_LFILE.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
        EXPORTING
          FILENAME            = L_FILE
          HAS_FIELD_SEPARATOR = 'X'
        CHANGING
          DATA_TAB            = IT_FILE
        EXCEPTIONS
          FILE_OPEN_ERROR     = 1
          FILE_READ_ERROR     = 2
          OTHERS              = 18.
      if sy-subrc <> 0.       "<<
        message e398(00) with 'Error while opening a file'.
      endif.
    You can add the File Selection Pop up for the file on the presentation server.
    Like:
    PARAMETERS:       P_LFILE TYPE CHAR70 OBLIGATORY.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_LFILE.
      PERFORM F4_LOCAL_FILE.
    FORM F4_LOCAL_FILE .
      DATA: LT_FILES TYPE FILETABLE,
            LW_FILES TYPE FILE_TABLE,
            RC       TYPE SY-SUBRC,
            L_TYPE   TYPE STRING.
      L_TYPE = '*.txt'.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
        EXPORTING
          WINDOW_TITLE            = 'Raw data for RFBIBL00'
          DEFAULT_FILENAME        = L_TYPE
        CHANGING
          FILE_TABLE              = LT_FILES
          RC                      = RC
        EXCEPTIONS
          FILE_OPEN_DIALOG_FAILED = 1
          CNTL_ERROR              = 2
          ERROR_NO_GUI            = 3
          OTHERS                  = 4.
      IF SY-SUBRC <> 0.
        MESSAGE E398(00) WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Get file selected
      READ TABLE LT_FILES INDEX 1 INTO LW_FILES.
      MOVE LW_FILES-FILENAME TO P_LFILE.
    ENDFORM.                    " F4_local_file
    Regards,
    Naimesh Patel

  • Can you insert a file path in pages document

    Is there any way of inserting a "file path" into a document in the new version of pages. You could do it in Pages 09 but I can't find any way of doing in the new
    Version. I know the inference is you are using the cloud - therefore file paths are not needed - but a lot of us still store documents in various places ( especially in the work place).

    No.
    Pages 5 has over 90 other features removed:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=b14426a2c5af2 65f2213d98ee45f08d7&mforum=iworktipsntrick
    Pages '09 should still be in your Applications/iWork folder.
    Export your Pages 5 files to Pages '09 or Word .docx and trash/archive Pages 5.
    Then rate/review Pages 5 in the App Store.
    Peter

  • Missing Photographs - 5,000 in total - is there a programmatic way to get the complete file paths missing?

    HostOS : Mac OS X
    LightRoom version : 4.4
    I accidentally moved linked files over the past few years, and just discovered (via "Missing Photos" view) that I have 5,000 missing photos.
    I know the master photos are on my hard disk drive ... so, that is the good news.
    BUT I do not want to have to click to re-link all 5,000 missing photos one at a time.
    Is there a way to programmatically get the list of file paths of those 5,000 missing photos on my MacOSX system  -- so that I can write an AppleScript to extract the unique image file name from the full file path extracted from LightRoom, locate the image in Finder, and move it back to the expected file path where Lightroom expects to find it?

    If most of your reorganization consisted of moving whole folders rather than individual pics,  you can quickly relink entire folders, or even folders of folders, rather than individual pics.  In the Folders pane on the left, right-click the missing folder and select Find Missing Folder.
    If you moved individual files rather than entire folders, then to get a list of the file paths of all the missing files, first do Library > Find All Missing Photos. Then use the ListView plugin to get a list of the photos' file paths into a text file.

  • Using AppleScript/Automator to get file path and create AFP hyperlink

    Hi All,
    A colleague has asked for a service (contextual menu item in Finder) to get a selected item's remote (afp://) file path and copy it to the clipboard...  Pretty sure I've got that part down. 
    What I need advice on is how to make the resulting pasted file path into a serviceable hyperlink.  AFP keeps telling me there was an error connection to the server....  Does the copied path have to include mounting commands and user credentials for this to work??
    Thanks,
    Nathan

    Hi Richard - here's the script:
    tell application "Finder"
              set sel to the selection as text
              set TempTID to AppleScript's text item delimiters
              set AppleScript's text item delimiters to space
              set sel to text items of sel
              set AppleScript's text item delimiters to "%20"
              set sel to sel as string
              set AppleScript's text item delimiters to TempTID
    set the clipboard to "file://" & POSIX path of sel
    end tell

  • C Programming: How can we get the filesystem name for a given file-path?

    C Programming: How can we get the filesystem name for a given file-path?
    Say I have a filepath=/mnt1/file1
    Using some OS API like stat, can I get the Filesystem /mnt ?
    Thanks in advance,
    -V

    Enter the command up to the point of entering the file path and add a space, then drag the file into the terminal window. It will fill out the path.
    If you need to go further into the contents of the Application package, you can continue with /Contents...
    Another way is to start typing and then hit Tab to auto-complete. It will stop where it can't determine the next letter.
    So, type /App tab and it will fill in /Applications. Type a / and start with the name of the app, then tab and it should complete. Continue till you have the correct path.
    Spaces will be replaced with \<space>, so, App Store would end up as /Applications/App\ Store.app

Maybe you are looking for