how to open file in mac


I have opened database from that i need to import another database..

in window we can directly use

typetext "c:\filename"

but unable to do same with Mac.....

please provide the solution


  • EggplantMattEggplantMatt ForumAdmin admin
    I don't really understand your question. The command:
    TypeText "c:\filename"
    wouldn't do anything by itself in most cases, so I'm not clear on what you mean by "open a file". What are you typing c:\filename into?

    On the Mac, if you want to access and open a file from the Finder, you can use:
    -- make sure you're in the Finder
    TypeText F11
    Click remoteScreenSize() divided by 2
    -- go to Folder
    TypeText commandKey, shiftKey, "g"
    TypeText "/path/To/Folder" & return
    -- select the file
    TypeText "filename"
    -- open the file
    TypeText commandKey, "o"
    You can turn the above code into a handler so that you can pass in the file path.
Sign In or Register to comment.