Using applescript to get iCal to open a file

I'm trying to use AppleScript to get iCal to open a Word doc at a specified date/time.
As a complete novice to AppleScript, I'm sure I have misunderstood how the syntax and grammar of the language work. Would you please advise me how to change this script --
set filepath to POSIX path of "Microsoft Word:Users:mtmanner:Documents:Family JY & Friends:Craig:Craigs Goals:Socializing:Being with people.doc"
try
          set command to "open Users/mtmanner/Documents/Family JY & Friends:Craig/Craigs Goals/Socializing/Being with people.doc"
do shell script command
end try
Thanks for your help.

There is a useful book called 'AppleScript for Dummies'. Don't be put of by the irritating title: it's actually quite sensibly written and informative (just ignore the occasional facetiousness designed not to frighten nervous readers off). When I was looking for a manual the other books available were much more expensive; I've found this one covers most requirements.
We had three weeks of heatwave: not it's gone unsettled again with rain (which we needed) and temperatures up and down loke the proverbial yo-yo - typical British summer, in other words.

Similar Messages

  • Help - "Acrobat is being used by another application and cannot open PDF files until the other application is closed."

    Hello,
    I searched this site and google for this error terminology and come up dry.  I support a user who has been for years using Acrobat 5 (yes, I know...) to read files in a client DB program, as well as other PDF files on their PC.  In the last week or so, they have started gatting this error "Acrobat is being used by another application and cannot open PDF files until the other application is closed." any time they attempt to open a PDF file attached to an email (via Outlook).
    It is my understanding that they cannot upgrade to a newer version of Acrobat because of limitations of their client software, but had not previously had any issues viewing PDF notes from the DB, and PDF attachments in their email.
    I have tried uninstalling and re-installing, as well as tried using Adobe Reader 7 & 9 in conjunction with Acrobat to try to get around this issue, but have not been successful.
    Any ideas?
    Thanks,
    Jesse

    I don't have an answer to your technical problem. The product I assume is Acrobat that you are talking about (based on the post title), Adobe is the company name. This is a good place to ask questions on Acrobat if folks can figure out what you are talking about. They will ask for the product version number (like AA9.3.3), operating system, and other applications if appropriate. Also, just what you are doing that generates the message.
    As for Adobe, you are not likely to get an answer from them here in the user forum. You will be lucky if you can get an answer if you can contact them and not be on hold for more than an hour (sorry, this is why a lot of folks end up in the forum).
    So, to help others try to answer your question, what are the products and versions involved? What OS? What are you doing when the message comes up.

  • How do I get firefox to open pdf files with Adobe reader instead of google?

    Firefox is unsucessfully using google to open pdf files.  How do I get firefox to open pdf files with Adobe reader?
    Message was edited by: veeryTalonted

    "Google" is a search engine (website) and NOT (repeat: NOT) a PDF viewer. It can't and won't open PDFs in any real or imaginable way.
    Firefox added their own proprietary PDF viewer with version 20 - they're on 21 now. I'll be the first to admit "it sucks". You CAN'T fill in PDF forms with it, and you can't email them from the page like with Opera, Safari or Chrome (which use the reader plug-in still).
    Unfortunately, the ONLY option you have now that they've added it and killed the ability for the Reader plug-in to work with Firefox, is Tools>Options>Applications - select Portable Document Format(PDF) and choose "Use Adobe Reader (Default)". What that will do is FORCE Firefox to download the PDF instead of opening it in their terrible PDF viewer in the browser window.
    Or... use one of the other browsers I mentioned. They're all free.

  • I'm going back to cs4 after using cs6 and I can't open nef files in camera raw.

    I'm going back to cs4 after using cs6 and I can't open nef files in camera raw.

    Each camera needs a specific camera raw version (ACR).  And each ACR is tied to a specific version of PS.  See this list http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html

  • HT2731 When I try to open Itunes, I get message cannot open this file because it was created by a newer version

    When I try to open itunes, I get message cannot open this file because it was created by a newer version
    CAn anyone help?

    Which system are you running (is this information correct in your profile)?
    Are there complicating issues to this question such as you transferring libraries between computers?
    Have you upgraded iTunes recently?
    Troubleshooting iTunes installation on Mac OS X - http://support.apple.com/kb/HT2311  - read section on Opening iTunes for information about running multiple copies of iTunes.

  • Getting "Can not open the file due to unknown error(FRM:0007)"

    Getting "Can not open the file due to unknown error(FRM:0007)", when refreshing the local copy of Deski report  from user docs.
    Any assistance
    Thanks,
    Sasi.

    Hi Sasi,
    One of the reason for this error is corrupted universe.So you can try following steps and restore copy of universe and then try to import this universe and check whether it works.
    1.While importing a universe, a temp file is created in the users local settings temp directory.
    2. For example C:\Documents and Settings\brijones\Local Settings\Temp\0dd0b0a7 .
    3. File has no extension is relatively the same size as the original universe file.
    4.Rename this file to original universe name.
    I hope it helps.
    Regards,
    Snehal

  • Getting loadSourceError using the debugger when trying to open a file referenced by a sourcemap

    Specifically, when using the debugger and trying to open up a source JS file that is referenced in a sourcemap, I now get:
    Error loading source:
    loadSourceError
    Yesterday it was working perfectly. The only thing that seems to have changed was updating to version 36.0

    Initially I didn't post more information as I figured it might be a known bug with the new release.
    I am working on a website which is running locally on my machine. All of my source JS files get compiled into one large JS file along with a .map file:
    component.js
    component.js.map
    component.js ends with:
    //# sourceMappingURL=component.js.map
    The .map file (served from the website along with component.js) starts with:
    "version": 3,
    "file": "/Users/charles.thomas/code/web-xxx-aaa-bbb/dist/component.js",
    "sources": [
    If I go to the debugger tab (with Show Original Sourced turned on), I can search for and see an entry for the original source files in the popup.
    I think that the problem may be that the original source files can only be accessed via the file system whereas the I see an HTTP url underneath each source in the popup relative to the http url of the initial file. If that is how it is trying to access them then it will fail. A few days ago it was working fine, I could search for the source files and see them in the debugger as well as set breakpoints.

  • How can I use applescript for OCR of a bunch of files - with Acrobat XI?

    Hi there,
    Iwant to write a script (eg applescript) that can be used as a droplet or has a menu to open a folder of scanned pdf-files to conduct OCR. And - I want to use Acrobat XI (as this is my version), German verison.
    As Acrobat XI is not recordable with the applescript-editor and I do not find a manual of objects and methods I googled a script that worked with Acrobat 9 but not with Acrobat XI. Here you define a "Action Assistant"-Script e.g. called "OCR this" and "click" the item. But as in Acrobat XI this Item is noch in the main-sbubmenu anymore it seems not to work.
    Here is a Screenshot:
    And this is theapplescrpt, tha opens the "Aktionsassistent":
    click the menu item "Aktionsassistent" of menu "Werkzeuge" of menu item "Werkzeuge" of menu "Anzeige" of menu bar item "Anzeige" of menu bar 1
    Butr then I cannot reach "OCR this".
    If any body has a hint - either for clicking "OCR this" or to sript  an OCR on an opened pdf.file with applescript this would be great.
    Thanks,
    Maritn

    AppleScript is documented in the Acrobat SDK. But there is no method for this.

  • Why can't I get Automator to open multiple files at once?

    I'm trying to do something relatively simple with Automator: I want it to open (in Photoshop) all RAW files within a certain folder. Here is what I have:
    1. Get folder contents
    2. Filter Finder items: Name Extension Contains "RAW"
    3. Open Finder items: Open with Adobe Photoshop
    When I save this as a Finder plug-in and apply it to a folder, it only opens the first RAW image in PS. It is possible to open multiple RAW images at once in Photoshop, so that's not the problem. Somehow I can't tell get Automator to open ALL the RAW images in the folder, not just the first one. I've tried substituting "Find Finder Items" for "Filter Finder Items" but the result is the same.
    What am I missing? A million thanks to anyone who can give me a solution!

    If your using PSCS2 I assume you also have Adobe Bridge.
    The best I can come up with is a workflow that filters RAW files out of a mixed file folder into their own folder, then opens that folder in Bridge, from where, with a command-a (to select all) and command-o (to open), you get all of your RAW files up in the RAW converter.
    1. Get Specified Finder Items (Make this source folder)
    2. Get folder contents
    3. Filter finder items
    4. New Folder (Target for filtered results)
    5. Open finder items (Open with Bridge)
    I've tried adding an Open with Photoshop as a last step and for some reason it bypasses the RAW converter and pops them straight into PS.
    IMHO, it's just as easy to use the Adobe Bridge, and open the files you want direct from there.

  • Illustrator CS6 gets error when opening AI files - Mavericks 10.9

    I installed Mavericks yesterday ... lucky me, to be guinea pig in the office for this upgrade.
    Am having issues with Illustrator. First it wouldn't open and had to runt he Java install, that took care of that. I am able to make new files without problem and open EPS files, but cannot open existing AI files UNLESS going to File > Open. If I double click on an AI file I get the error "The appliation can't be found"
    After looking for similar issues I am not finding anyone else reporting a similar problem. I am not running any 3rd party plug ins. Any ideas???
    Thanks for the help.

    Issue:
    Clients logging into File Services over SMB with OS X 10.9 experience hanging connection upon login attempt.
    Root Cause:
    OS X 10.9 now utilizes a new SMB2 stack written by Apple.   Apple's SMB2 implementation is not compatible with many other SMB2 NAS products on the market today while Windows 7, 8, and 8.1 works just fine.   In short, its an Apple bug.
    Workaround Option 1:
    To force your connection to be SMB1, simply type cifs://servername instead of smb://servername when connecting to a Windows or NAS share.  This is by far easier and requires no real configuration changes.
    Workaround Option 2:
    To force all connections to be SMB1:
    Open A terminal window
    paste in the following line followed by the return key(should be all on one line): 
    echo "[default]" >> ~/Library/Preferences/nsmb.conf; echo "smb_neg=smb1_only" >> ~/Library/Preferences/nsmb.conf
    What the command does:
    Creates a file called nsmb.conf  in your  home directory at the path ~/Library/Preferences/nsmb.conf.
    Adds directives to force SMB connections to use the SMB1 protocol.  This is slower but stable.
    How to remove the workaround:
    Open a terminal window
    paste in the following at the prompt and then hit the return button:
    rm ~/Library/Preferences/nsmb.conf
    Notes:
    Its a good idea to restart your mac before trying to connect to your storage again. This will clear any hung SMB processes from previous attempts to connect to your storage before implementing this workaround.

  • Getting error when open the file

    Hi,
    I am getting
    " getOutputStream() has already been called for this response " when i wanted to open a file. Pls advise why I am getting this error and solution to tackle the error.
    Thanks

    Hi,
    Thanks for the reply.
    I am running jsp on jboss server. Previously, I was using java version 1.2.2 and the codes was working fine. But when i migrate the codes to jboss 3.2.5 with jdk 1.3.1_13, it throws the following error.
    ERROR [org.jboss.web.localhost.Engine] StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    java.lang.IllegalStateException: getOutputStream() has already been called for this response
         at org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:599)
         at org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.java:163)
         at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:122)
         at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:115)
         at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:190)
         at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:115)
         at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:75)
         at org.apache.jsp.icbbv2.users.DownloadFile_jsp._jspService(DownloadFile_jsp.java:181)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    What i am trying to do is, I am downloading a file stored in Oracle database and open the file based on the file extension, i.e, using ms word for .doc ext .
    This i s where it is throwing error:
    mySmartUpload.downloadFile(docid,"application/msword",docname,65000);
    and the method is as the following:
    public void downloadFile(String sourceFilePathName, String contentType, String destFileName, int blockSize)
    throws ServletException, IOException
    if(sourceFilePathName == null)
    throw new IllegalArgumentException(String.valueOf((new StringBuffer("File '")).append(sourceFilePathName).append("' not found (1040).")));
    if(sourceFilePathName.equals(""))
    throw new IllegalArgumentException(String.valueOf((new StringBuffer("File '")).append(sourceFilePathName).append("' not found (1040).")));
    if(!isVirtual(sourceFilePathName) && m_denyPhysicalPath)
    throw new SecurityException("Physical path is denied (1035).");
    if(isVirtual(sourceFilePathName))
    sourceFilePathName = m_application.getRealPath(sourceFilePathName);
    File file = new File(sourceFilePathName);
    FileInputStream fileIn = new FileInputStream(file);
    long fileLen = file.length();
    int readBytes = 0;
    int totalRead = 0;
    byte b[] = new byte[blockSize];
    if(contentType == null)
    m_response.setContentType("application/x-msdownload");
    else
    if(contentType.length() == 0)
    m_response.setContentType("application/x-msdownload");
    else
    m_response.setContentType(contentType);
    m_response.setContentLength((int)fileLen);
    m_contentDisposition = m_contentDisposition == null ? "attachment;" : m_contentDisposition;
    if(destFileName == null)
    m_response.setHeader("Content-Disposition", String.valueOf((new StringBuffer(String.valueOf(m_contentDisposition))).append(" filename=").append(getFileName(sourceFilePathName))));
    else
    if(destFileName.length() == 0)
    m_response.setHeader("Content-Disposition", m_contentDisposition);
    else
    m_response.setHeader("Content-Disposition", String.valueOf((new StringBuffer(String.valueOf(m_contentDisposition))).append(" filename=").append(destFileName)));
    while((long)totalRead < fileLen)
    readBytes = fileIn.read(b, 0, blockSize);
    totalRead += readBytes;
    m_response.getOutputStream().write(b, 0, readBytes);
    fileIn.close();
    Pls assist. Thanks in advance.
    Rajes

  • How do I Get IWEB to open saved files?

    Here's the problem...
    I was building a "new site" to show my boss how easy and excellent the iweb program is for making any kind of site... (my site is www.crossfitmyrtlebeach.com) and i web was copying the site to my crossfit folders.
    So I found "iwebSites" app program, and created '2' distinct sites.
    And created this mock up of a site for my boss.
    Then was UNABLE to open the CrossFit sites though all the folders showed up...
    So... I've deleted ALL the files, and somewhere, somehow...the mockup is STILL showing up when I open IWEB.
    Under my user/library/appsuprt/iweb folder...there is NOTHING in the folder... no domain site name, nothing.
    Yet it is still opening up?
    Can anyone advise how I can get Iweb to look at and OPEN the files saved in my CrossFit folder?
    Or am a screwed?
    Thanks

    yeah, I found the file...put it BACK in the proper iweb support folder, along with the site files, etc.... seems to be working now..
    Thanks!

  • Getting error "Cannot open the file "*****.INDD". Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing, or the file may be open in another application."

    How to fix this problem
    "Cannot open the file "*****.INDD". Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing, or the file may be open in another application."

    When I have seen this message it is either when I try to open a document with an older version of Indesign E.g. an indesign 2014 document with Indesign CC.
    The other time I have seen it is to open an Indesign CC document with Indesign 2014 which does not have Mindsuite - a plugin I use. Mindsuite, as yet, has not upgrade the plugin for Indesign 2014 therefore it recognises that a the document was created withe a plugin that the 2014 version does not have installed.
    I believe your problem will be something like that.

  • How can I get Firefox to open htm files?

    I have Firefox 3.6.13, and Windows XP. I can't open htm files. I went online, and followed all the directions for Changing the Default Program for a Specific File Extension in Windows XP, and see that Firefox is listed as the program that should open htm files, but I get a blank page when I try to open the file.

    Are that files that you have saved on your computer or web pages that you try to open?
    Are you opening the files with a double-click in Windows Explorer?
    See also http://kb.mozillazine.org/Windows_error_opening_Internet_shortcut_or_local_HTML_file_-_Firefox
    There are other things that need attention:
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    # Shockwave Flash 10.1 r82
    # Next Generation Java Plug-in 1.6.0_21 for Mozilla browsers
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    Update the [[Java]] plugin to the latest version.
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    Update the [[Adobe Reader]] plugin to the latest version.
    *http://get.adobe.com/reader/otherversions/

  • Can i get numbers to open qif file

    I used to be able to download bank statements in qif file and open it without any problem BUT now the file will not open and i cant find a program that will open the file which will then let me post the srtatement on my accounts packege.
    can anyone help me, please.

    WW,
    Are you sure? Neither Numbers 2 or Number 3 recognizes QIF as a file it was designed to open.
    Why won't your Accounts Package open it directly? What is your accounts package looking for?
    J.

Maybe you are looking for

  • INeed Your help! iTunes will not launch.  I reinstalled.  Created a new user account.  And followed all of the other...

    It seems that none of the techniques described in the Apple iTunes troubleshooting tutorial have worked.  I have spent hours on this. I think that when I downloaded DVD converter and burner program that some preference got tweaked. or When I ran a 'd

  • 5800 no applications show up on Application List (...

    I noticed today that when I tap on the Installed apps. option under Application Manager (under Settings), the screen will go "blank" (no icons or info, just the background wallpaper) for about 3 seconds then return to the Application manager screen.

  • Setting transparent Color of a Cursor

    Hi there, does anyone know how i�m able to make the color white (255,255,255) transparent in my mouse-cursor. I load the cursor from the file "cursor.gif" thx anyway cu Errraddicator

  • R12: "Login" Post-Installation check fails on OEL5

    I have installed EBS R12 on Oracle Enterprise Linux 5 (Update 2). All post-installation checks succeed except for the Login. The following error message is displayed: RW-50016: Error: -{0} was not created: File = {1} I already tried the following: -

  • L_TA_HINZUFUEGEN with L3 551

    Hi Gurus, During my testing, while I was trying to create a TO document to pick the quantities from delivery I am getting the following error "Update was terminated", this error was comming in the form of SAP Express document (Workflow document) on t