Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 2, 2010, 08:29 AM   #1
thehelix622
macrumors newbie
 
Join Date: Nov 2010
Drag and Drop to App as Service

I have a foreign language dictionary.
Currently if theres a word in Safari I want to look up I drag the word over to the application on the dock. This activates it and shows the translation.

I tried to script this all morning using applescript. Theres only 2 things that needs to be done, create a service and pass the selected text to the service but I can't figure out how to do it because I can't see what the drop command on the application is or how to set its text. I managed to get something going by sending system command v but I had to set the clipboard to do this and I don't want to do that. Should I be doing this with applescript or xcode? Is it possible to interrogate the application to find out what can be set on its interface?
thehelix622 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Dragging and Dropping Apps in iTunes 10.4.1.10 AznVamp Mac Applications and Mac App Store 0 Sep 30, 2011 02:02 AM
Drag and drop mac to mac in parallels or vmware? GrahamW0009 Mac Applications and Mac App Store 2 Jun 5, 2011 10:57 AM
Drop Zone - amazing drag and drop app karohan Mac Applications and Mac App Store 2 Dec 7, 2010 08:10 PM
Drag and Drop apps from external backup... fordsurf OS X 0 Nov 13, 2008 06:14 PM
Safari 3 Beta and Drag and Drop to the Dock mkrishnan Mac Applications and Mac App Store 2 Jul 21, 2007 11:58 AM


All times are GMT -5. The time now is 06:36 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC