Search results

  1. S

    How to get the filename after a save command

    Greetings, Checking the file listing in the folder in which the file was saved and selecting the latest file does the job. AppleScript's code to find the latest file in a folder is highly inefficient (coding-wise). But the shell command comes to the rescue: set sLatestFilename to do...
  2. S

    How to get the filename after a save command

    Greetings readers, I used the following Applescript command to save an email message (in Outlook) as a file in a special folder: save objInSelection in myAttachmentsFolder However, I don't know how to get the filename under which the message was saved. Any idea how? Normally, the...
  3. S

    Work around Outlook4Mac bug -- AppleScript to open file when its name is highlighted

    Thanks a lot Mikuro! I've used Automator and works smoothly. Automator rocks! Best, Sleiman
  4. S

    Work around Outlook4Mac bug -- AppleScript to open file when its name is highlighted

    I was able to solve this problem by copying (in AppleScript) the selected text to the clipboard and now it works: ------------------ tell application "System Events" keystroke "c" using command down end tell set myFilename to the clipboard as Unicode text set filepath to POSIX path of...
  5. S

    Work around Outlook4Mac bug -- AppleScript to open file when its name is highlighted

    Any idea why this doesn't work? set filepath to POSIX path of "Users:Sleiman:Documents:-- My Email Attachments:" & selection set command to "open " & quoted form of filepath do shell script command I get the error message: error "Can’t make insertion point after character 167...
  6. S

    Work around Outlook4Mac bug -- AppleScript to open file when its name is highlighted

    Greetings readers, Microsoft released a few days ago the long-awaited (by me) Service Pack 2 for Office for Mac 2011 but unfortunately SP2 doesn't fix some critical (for me) limitation of the software: unlike the Windows version one cannot attach files to appointments, tasks or contact...
Back
Top