Re: Problem Reading Clipboard with Evernote URLs
Re: Problem Reading Clipboard with Evernote URLs
- Subject: Re: Problem Reading Clipboard with Evernote URLs
- From: Jim Underwood <email@hidden>
- Date: Fri, 24 Jun 2016 02:31:13 +0000
- Thread-topic: Problem Reading Clipboard with Evernote URLs
Shane,
Excellent point. I'll design the handler just like that, to return a list if there is more than one item.
The script calling the handler should have some notion of what it is expecting on the Clipboard, and can deal with the return accordingly.
Many thanks again. You have solved a tough problem for me, that I don't think I would ever have solved.
Jim Underwood
aka JMichaelTX
But
you're making assumptions about what's on the clipboard; what if the strings already contain returns or linefeeds? So maybe it would be better to just return a list, and have the code that calls it deal with the issue. That would make the handler more flexible.
|
_______________________________________________
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