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...
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...
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...
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 "Cant make insertion point after character 167...
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...