Prowl + Pythonista to Auto-Copy Clipboard
Okay, so bear in mind, I'm very new to python, Pythonista, and coding in general. [e.g. halfway through Udacity's Intro to Comp Sci course new.] So I will understand if the best answer is to my question is "play around with it until it works".
Right now, I have the following set up:
-Prowl [which is able to launch custom URL schemes upon receiving a notification] opens the push notification containing the text that was sent over by PushMenu
At this point, I have to open Prowl, select the text, and paste it into whatever place I need it. I would LIKE to have a Pythonista script that Prowl can auto-launch upon receiving a push notification. I imagine it would act as follows:
-Get content of push notification [Prowl's API seems to allow this in conjunction with some python libraries that were created, though I'm not proficient at weeding through APIs: http://www.prowlapp.com/api.php and https://github.com/babs/pyrowl]
-Copy content to iOS clipboard
Once these steps are done, I imagine I could either just navigate to the app I wish to use the clipboard in, or perhaps send it to a Drafts/Launch Center Pro action.
Again, I realize I'm basically doing an entire script request here, so if that's too much work don't worry about it. That being said, it would be great to have a (relatively) seamless way to transfer clipboards from OS X to iOS. If anybody has any advice/suggestions regarding how this could be done or why it can't be, I would greatly appreciate it! TIA
Who don't you make it?
filippocld: I would love to make it myself (and share it!) but as I said, I'm very new to both python and Pythonista. I don't really understand what sort of functions/libraries I need to use/to import to do this. In other words, I can see most of the pieces to the puzzle (at least I think I can..), but I have no idea how to begin fitting them together.
(I'm responding as if you meant to type 'why' rather than 'who' -- sorry if that is a mistake on my part)
ccc last edited by
You're Welcome ;-)
The next step is configuring the Prowl API....but...my Mac is at home and,at the moment I can't help you with the Prowl API
some improvements done....updated the sender with the prowl api(used prowlpy ,it's better than Pyrowl)
any bugs,or improvements are welcome :-)
the updated sender :-)