Having trouble with Applescript RRS feed

  • Question

  • Hello there,

    Someone directed me here from:

    I'm having issues with Applescript working properly for a number of commands...

    Here are some examples:

    tell application "Microsoft Word"

    execute find find text "hello"

    end tell

    The resulting response is: 

    error "Microsoft Word got an error: Can’t continue execute find." number -1708

    Another example:

    tell application "Microsoft Word" to page scroll down 1

    And the result:

    error "Microsoft Word got an error: Can’t continue page scroll." number -1708

    Does anyone have an idea what is going on? Is my applescript incorrect or am I missing something else?

    I have also tried making a script and placing it in ~/Library/Application\ Scripts/ and tried calling it from a macro using AppleScriptTask:

    Sub hello()

        Dim myScriptResult As String

        myScriptResult = AppleScriptTask("pagescroll.scpt", "myapplescripthandler", "my parameter string")

    End Sub

    on myapplescripthandler(paramString)

    #do something with paramString 

    tell application "Microsoft Word" to page scroll down 1

    display notification paramString

    return "You told me " & paramString

    end myapplescripthandler

    And I get the following issue:

    Any guidance would be greatly appreciated.

    Thank you,


    Friday, January 6, 2017 4:20 AM

All replies

  • Hi,

    I do apologize that this forum is for Windows OS. We could not offer support for issues about AppleScript. I suggest you ask in Apple forum which should support AppleScript.

    Sorry for any inconvenience and have a nice day! 




    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Monday, January 9, 2017 2:35 AM