That’s great to know. Do you mind sharing more details about how you got it working?
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Posts made by smiddleton
-
RE: Select group message mark as read automate
-
RE: Select group message mark as read automate
Emma0122,
Thanks for posting. You say you are happy with the result. Does that mean you were able to get it working? Do you mind sharing the code you used? Thanks. -
RE: Select group message mark as read automate
I can get a widget to run, but. I still can’t find the right module or API to “select messages” from the text messages app. I’m starting simple and looking for that function first. Manually it is accessed by selecting the 3 dots in the top right and then clicking select messages.
-
RE: Select group message mark as read automate
Thanks for the help. I am trying that example. Would happen to know what API I would use for selecting the group message and then marking it as read? I still can’t find it.
-
RE: Select group message mark as read automate
Pyto app looks good. Just can’t figure out where to start with the code. I guess it would be a widget.
-
RE: Select group message mark as read automate
I will checkout Pyto app. Thanks. I am on a group text thread that is mildly important for me to check every so often. But I don’t want to see the number of unread messages that builds up if I don’t look at. It gets pretty high pretty fast. What I want to do is simply mark all the messages as read, anytime a message comes in on that text group. I can’t leave the group since it is a mix of Android and IOS users.
-
RE: Select group message mark as read automate
Thank you for your reply. Is there any help you could give me in starting the script? I’m not sure which API to use?
-
Select group message mark as read automate
I was wondering if somebody could help me. I’m trying to write a script that will automatically select a specific group texts and market as read automatically at a certain time every day. Is there anyway to do that? I’ve looked a lot in the documentation and I can’t seem to find what I’m looking for if anybody can help me get started that would be really helpful thank you so much for any help you can give me!
-
RE: Pythonista trigger screen mirror motion control
Thanks for the help everyone. I did learn a lot, and that is a win!
-
RE: Pythonista trigger screen mirror motion control
Well, the airdop script worked great, just for sound though. It showed my apple TV, but only for speaker use. I looked for screen mirroring in accessibility, and couldn't find a shortcut there.
-
RE: Pythonista trigger screen mirror motion control
That makes sense. Would it work to use something like IFTTT to trigger the screen mirror shortcut? I read that pythonista and IFTTT can work together.
-
RE: Pythonista trigger screen mirror motion control
Thanks for the code sample! It worked perfectly for opening airplay. Is that the same thing as screen mirror?
-
Pythonista trigger screen mirror motion control
Hey guys,
I am trying to write a script that will activate the screen mirror shortcut on my iphone, for my Apple tv. I want to be able to "flick" my phone and have it start screen mirroring from that, instead of swiping down and hitting the screen mirroring button, and selecting from the options.What I have learned so far: I can write the motion control, "flick" part of the script using , motion.get_user_acceleration(), and motion.get_attitude(). However, I can't find a way to activate the screen mirror shortcut. Any ideas or help would be very appreciated. Thanks in advance for your time and help.
Steve -
RE: Use microphone and speaker to get distance
That’s good to know it’s feasible. Is there a way to do in Pythonista? Or is it going to need Objc? Within a few inches is fine for accuracy.
-
Use microphone and speaker to get distance
Hey guys,
I’m not sure where to start with this, but here is the idea:
I want to use the microphone and speakers on the iPhone to measure distance. The speakers send out a pulse, the microphone pics up the pulse, and tells you the output in feet or inches or something.The math is the easy part I think. What I can’t seem to find is where to start. Is there an API for the microphone and speakers? Any help is appreciated, thanks!
SM -
RE: Upload arduino sketch with pythonista bluetooth serial
I think it does. I just can't get the module to work
-
RE: Upload arduino sketch with pythonista bluetooth serial
Thanks Jon B. I appreciate your answers. I found something called nanpy on github. I can't seem to load the module on pythonista on my iPhone. But could that work for loading programming arduino sketches direct from my iPhone?
-
RE: Upload arduino sketch with pythonista bluetooth serial
Thanks for the link. I was thinking since I can send commands through pythonista via Bluetooth, why not the actual arduino sketch?
-
RE: Upload arduino sketch with pythonista bluetooth serial
Can anyone help? Even a starting point would be great.
-
RE: Bluetooth UI button send commands
This is the entire code. Thanks for the help.
import cb import ui class MyCentralManagerDelegateView (ui.View): def __init__(self): self.peripheral = None self.charactetistic= None self.b=ui.Button(title='button') self.add_subview(self.b) self.b.action=self.a self.frame=(0,0,320,570) def did_discover_peripheral(self, p): if p.name == 'Bluno' and not self.peripheral: print ('Discovered ')+ p.name self.peripheral = p cb.connect_peripheral(self.peripheral) def did_connect_peripheral(self, p): print ('Connected Peripheral ') + p.name print ('Looking for Service FFE0') p.discover_services() def did_discover_services(self, p, error): for s in p.services: if s.uuid == 'DFB0': print ('Found Service ') + s.uuid print ('Looking for Characteristic FFE1') p.discover_characteristics(s) def did_discover_characteristics(self, s, error): for c in s.characteristics: if c.uuid == 'DFB1': print ('Found Characteristic') + c.uuid self.characteristic=c print ('Writing H') def a(self,sender): c=self.characteristic self.peripheral.write_characteristic_value(c, 'H', False) def close(self): cb.reset() v=MyCentralManagerDelegateView() cb.set_central_delegate( v) print ('Looking for HM-10-BLE module') cb.scan_for_peripherals() v.present('sheet')```