|Nov 2, 2010, 09:29 AM||#1|
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?
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|[Mac App Store] Introducing Yoink - take the drag out of drag and drop||m.gansrigler||Mac Applications and Mac App Store||34||Nov 11, 2014 01:50 PM|
|[Mac App Store] Dropshelf — a drag-and-drop helper app||nicky0||Mac Applications and Mac App Store||14||May 29, 2014 11:05 PM|
|Drag and drop software For making ios app||alaahershy||iPhone/iPad Programming||3||Feb 1, 2014 01:53 PM|
|Drag and drop to desktop||gianthobbit||OS X||3||Dec 11, 2012 10:06 AM|
|anyone else not able to drag and drop an app into the dock trash icon?||sk8r1230||MacBook Pro||0||Jul 23, 2012 04:06 PM|
All times are GMT -5. The time now is 07:58 AM.