Re: drag and drop with cliclick
Re: drag and drop with cliclick
- Subject: Re: drag and drop with cliclick
- From: Yvan KOENIG <email@hidden>
- Date: Mon, 7 Aug 2017 17:44:03 +0200
Off list, David Gregg proposed to replace drag and drop by copy paste.
It sound well because it worked under 10.12.
Alas, no luck : the real problem is with 10.10 and under this system, copy
paste pastes the path of the selected icon.
As I am pig headed, I tried to split the drag and drop process into two parts :
tell process "Finder"
set frontmost to true
tell me to do shell script pathToCliclick & "dd:" & Xs & "," & Ys & "
w:1000" # start the drag process in the icon
end tell # process Finder
tell process "Notes"
set frontmost to true
tell me to do shell script pathToCliclick & "du:" & Xd & "," & Yd & "
w:1000" # drop in the body area of the note
# I tried also
#tell me to do shell script pathToCliclick & "dc:" & Xd & "," & Yd & "
w:1000 du:" & Xd & "," & Yd & " w:1000" # double click in the body area of the
note then drop
end tell # process Notes
But no luck, nothing was dropped.
So I'm always facing a wall.
Yvan KOENIG running Sierra 10.12.6 in French (VALLAURIS, France) lundi 7 août
2017 17:43:29
_______________________________________________
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