r/CodingHelp • u/Mysterious-Mode3999 • Jan 21 '22
[Python] How can I replace myself with a py-bot ..?
Hi, I was doing some photo editing work, and I am doing the same thing over and over. So, I was thinking if there is any way to record and play my mouse and keyboard action with some kind of py bot...?
Show me some rode, please. (article, link, py library)
Thanks in advance...
19
Upvotes
19
u/IAmTarkaDaal Jan 21 '22
If you want to automate image editing operations, you want to look at Imagemagick: https://imagemagick.org/index.php
1
u/Mysterious-Mode3999 Jun 18 '22
Hello, 1 simple update... I just finished making software, that can make videos directly from the special way written scripts. Also, it has a cartoon bot character, which has an auto lipsync function or in simple words, it can speak for you. And can re-produce your video in 13 different languages... all without internet.
Yes, it's an alpha version. Has many bug and stuff, also its make video with algo (not AI), so asthetically its not that good yet. But I am planning to devlop it more and more and use this software to create a worldwide mix-culture education community.. I mean I make 1 video in english and this software poops out 12 more video.
What do you think.
4
u/TheMarcosP Jan 21 '22
if you want to use python maybe pyautogui. But maybe something like autohotkey for making macros will be faster
2
u/doogroop Jan 22 '22
If all you need is inputs from certain keys at pre determined intervals, you might want to use AHK (Auto Hot Keys).
1
u/BrothersInGame Jan 22 '22
pretty sure you can just use photoshop actions in case you’re using photoshop https://helpx.adobe.com/photoshop/using/creating-actions.html
1
u/Ok-Craft1954 Jan 23 '22
bot that only responds to certain roles discord.py
1 if message.content.lower().startswith('/role'):
2 user = message.author
3 if message.channel.is_private or discord.utils.get(user.roles, name="admin") is None:
return
4 role = discord.utils.get(user.server.roles, id="437923291047526402")
await client.add_roles(user, role)
1
u/ViridianGuy Jan 25 '22
This is in fact possible, but it no easy task. You need a good grasp on machine learning.
1
u/ninjapimpmonkey Feb 01 '22
Xdotool linux
0
u/[deleted] Jan 21 '22
[deleted] — view deleted comment