Home > Applescript Error > Applescript Error 1708 Microsoft Word

Applescript Error 1708 Microsoft Word

aglaser October 1, 2012 Hi -- I just wanted to thank you for that suggestion. Here is the code: Code: cmd = QString("osascript -e 'tell application \"Microsoft Word\" to open \"%1\"'").arg(uri); ret = QProcess::startDetached(cmd); Why it can happens? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Very helpful. http://svbuckeye.com/applescript-error/applescript-error-1708-mac.php

What do you want it to do? –bmargulies May 20 '14 at 0:20 I want it to save as the input text. Anyway, i've changed my code, now i'm using NSAppleScript for running the script, and it's ok now. Pages: 1 Index»AppleScript | Mac OS X»Word 2011 save as - what's wrong #12012-11-17 01:14:44 am Stickybeak Member Registered: 2010-11-03 Posts: 12 Word 2011 save as - what's wrong Can the problem does seem to follow this pattern: 1. anchor

MacRumors attracts a broad audience of both consumers and professionals interested in the latest technologies and products. create new document (various parameters) -> document So what you probably need is something like set theDocument to create new document save as theDocument file name answer It isn't always quite Nope, sorry it only handle doc, docx and rtf files. To delete the text specified by the Find argument, use an empty string.

  1. I have used this topic: http://hints.macworld.com/article.php?story=20060921045743404 Here is te result: Code: on menu_click(mList) local appName, topMenu, r -- Validate our input if mList's length < 3 then error "Menu list is
  2. Thanks.
  3. Thanks a lot.
  4. Sign In or Register to comment.
  5. Please try the request again.
  6. Share this post Link to post Prev 1 2 Next Page 1 of 2 Create an account or sign in to comment You need to be a member in order
  7. Here is the code: Code: cmd = QString("osascript -e 'tell application \"Microsoft Word\" to open \"%1\"'").arg(uri); ret = QProcess::startDetached(cmd); Why it can happens?
  8. To ensure accuracy, copy and paste the text into a post; don't retype it.
  9. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.

Share this post Link to post vdesabou 37 Advanced Member Member 37 427 posts LocationParis Posted April 10, 2013 · Report post Your Workflow is working great, thanks! ¬† I've Share this post Link to post vdesabou 37 Advanced Member Member 37 427 posts LocationParis Posted April 10, 2013 · Report post Updated to fix for issues with directories and So this doesn't work:tell application "Microsoft Word" set content of find to "book" end tellI get the following error:error "Can't set «class 1650» of «class w124» to \"book\"." number -10006 from I hosted the workflow on droplr, but it is not supported.

Privacy / DMCA contact / Affiliate and FTC Disclosure Fixed | Fluid | Fluid HD Jump to content Share your Workflows Existing user? Anyhow, this is the script I have so far: tell application "Microsoft Word" activate end tell display dialog "Input Document Name" default answer "" set answer to text returned of result An empire to last a hundred centuries Are HTTP brute force attacks a thing nowadays Did the Emperor intend to live forever? Apple Info Site Map Hot News RSS Feeds Contact Us Copyright © Apple Inc.

try zotero in word, get error message as stated earlier in this thread 2. but found class name."By way of background the script is actually in a filemaker solution and merges data from that into a word template.Any and all help greatly appreciated - be But you can still make a request in this forum¬†http://www.alfredforum.com/forum/13-workflow-help-questions/ Share this post Link to post DrLulz 1 Member Member 1 62 posts Posted July 4, 2014 · Report post If you look up "save as" in the Word applescript dictionary the first things you see are save as document [file name text] Let's try to plug what you have into

For example, I do not think the dictionary tells you that when word creates a new document it typically becomes the "active document". http://arstechnica.com/civis/viewtopic.php?f=20&t=489054 Terms of Use Updated Privacy Policy Cookie Usage To use Google Groups Discussions, please enable JavaScript in your browser settings, and then refresh this page. . No, create an account now. Thanks, but it's not my case.

At this point you need to look up what "create new document" does. http://svbuckeye.com/applescript-error/applescript-error-number-1708.php Share this post Link to post vdesabou 37 Advanced Member Member 37 427 posts LocationParis Posted April 11, 2013 · Report post This doesn't work for me at all. The Zotero toolbar always appears, but never does anything, in any stage of the above process. But the command is ok, i've used console print to get command result, and then copied it into terminal, and it's worked fine.

Browse other questions tagged ms-word applescript or ask your own question. If you knew that in all possible circumnstances, that is what Word does, you could also use create new document save as active document file name answer But the first approach http://www.alfredforum.com/topic/1582-alleyoop-update-alfred-workflows/?p=9769 Share this post Link to post vdesabou 37 Advanced Member Member 37 427 posts LocationParis Posted April 10, 2013 · Report post Bug on the script to update with useful reference I uninstalled it the other day and just have Pages now.

Anyway, i changed my script, so it's working now. Last edited by Nigel Garvey (2012-11-17 08:23:48 am) NG Offline #32012-11-17 08:21:22 am StefanK Member From: St. My AccountSearchMapsYouTubePlayNewsGmailDriveCalendarGoogle+TranslatePhotosMoreShoppingWalletFinanceDocsBooksBloggerContactsHangoutsEven more from GoogleSign inHidden fieldsSearch for groups or messages Friday, September 30, 2016 Applescript Forums Rules Register Posting Guidelines Donations Login You are not logged in.

Useful Searches Recent Posts Options Please select a forum to jump to News and Article Discussion MacRumors.com News Discussion Mac Blog Discussion

Applescript: tell application "Microsoft Word" open this_item delay 3 set currentDoc to the name of the Thanks. Which plural to use if more than one exists? Thanks a lot.

share Share on Twitter Share on Facebook Email Link Like + Quote Reply chown33, Aug 27, 2014 chown33 macrumors 604 Joined: Aug 9, 2009 #7 ip.kban said: ↑ But here's another Share this post Link to post vdesabou 37 Advanced Member Member 37 427 posts LocationParis Posted April 5, 2013 · Report post FYI, I've updated this workflow, which now support Sign In Sign In Remember me Not recommended on shared computers Sign In Forgot your password? this page We've heard of this happening before, but we haven't been able to track down the cause.

Instead of "save document as answer" you would at least need save as document file name answer But that is not quite enough, because "document" on its own isn't the name Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. We've heard of this happening once before, but I'm not aware of a resolution. I am following these directions fine, but this script will not work...

It takes a while for the script to scan the document, and the feedback is subtle (in the status bar). Share this post Link to post Jb_Bryant 9 Member Member 9 95 posts Posted April 11, 2013 · Report post This doesn't work for me at all. The default is the current folder and file name. try zotero in word, now all it does is switch me to the standalone Zotero application, and nothing else happens. 4.

I assume the second find after "execute find" refers to the "find" object, and that this is a compulsory parameter.I face the following problems:(1) If I try to set the text Either click the "Applescript" button above the posting window and paste the compiled code between the tags which appear, or paste the code first, select it, and then click the button. share Share on Twitter Share on Facebook Email Link Like + Quote Reply superscape, Aug 26, 2014 superscape macrumors 6502a Joined: Feb 12, 2008 Location: East Riding of Yorkshire, UK #4 What's wrong with syntax?Click to expand...