Use AppleScript for Windows applications?

Discussion in 'Windows Virtual Machine' started by chasperli, Mar 27, 2012.

  1. chasperli

    chasperli Bit poster

    Messages:
    1
    Hello

    Is there a possibility to use AppleScript to copy text from OS X into a Windows application?
    I tried it like this:

    tell application "CtiClient"
    activate
    tell application "System Events" to keystroke "v" using {control down}
    ent tell

    the application will activate, but the text is not pasted.

    Can anyone help me?

    Thanks
     
  2. StatGeek

    StatGeek Bit poster

    Messages:
    1
    Try this:

    tell application "CtiClient"
    activate
    tell application "System Events"
    keystroke (the clipboard)
    end tell
    end tell
     

Share This Page