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

Similar Threads
thread Thread Starter Forum Replies Last Post
[Mac App Store] Dropshelf a drag-and-drop helper app nicky0 Mac Applications and Mac App Store 14 May 29, 2014 10:05 PM
[Mac App Store] Introducing Yoink - take the drag out of drag and drop m.gansrigler Mac Applications and Mac App Store 25 May 19, 2014 06:35 AM
Drag and drop software For making ios app alaahershy iPhone/iPad Programming 3 Feb 1, 2014 12:53 PM
Drag and drop to desktop gianthobbit OS X 3 Dec 11, 2012 09:06 AM
anyone else not able to drag and drop an app into the dock trash icon? sk8r1230 MacBook Pro 0 Jul 23, 2012 03:06 PM

Forum Jump

All times are GMT -5. The time now is 06:52 AM.

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

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