• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is there a way in Applescript GUI scripting to Simulate Drag and Drop action?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a way in Applescript GUI scripting to Simulate Drag and Drop action?


  • Subject: Re: Is there a way in Applescript GUI scripting to Simulate Drag and Drop action?
  • From: Craig Sutherland <email@hidden>
  • Date: Thu, 21 Jun 2012 08:52:16 -0500

On Jun 20, 2012, at 11:27 PM, Ashwin wrote:

> Hi ,
>
> I need to automate a scenario where there would be a need to simulate drag and drop action between 2 applications. My scenario would be similar to this. Drag a contact from address book and drop it in to the "To" field of a New message in Mail application. Is it possible to explicitly simulate the drag and drop event via GUI scripting? If not, can anyone please suggest a way to simulate this event?
>
> Many Thanks
> Ashwin

Ashwin,

You could record a Quicktime screen capture of the action and then automate that with a script.

Crag Sutherland

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Is there a way in Applescript GUI scripting to Simulate Drag and Drop action? (From: Ashwin <email@hidden>)

  • Prev by Date: Is there a way in Applescript GUI scripting to Simulate Drag and Drop action?
  • Next by Date: Migrating Mail to Lion
  • Previous by thread: Is there a way in Applescript GUI scripting to Simulate Drag and Drop action?
  • Next by thread: Re: Is there a way in Applescript GUI scripting to Simulate Drag and Drop action?
  • Index(es):
    • Date
    • Thread