Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 23rd, 2013, 12:51 AM
PythonDeveloper PythonDeveloper is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 4 PythonDeveloper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 36 m 22 sec
Reputation Power: 0
Automated python program

Hi im new to programming with python

Im trying to make a automated program that will control my mouse an type things in when need.

Ive got the program opening but am having trouble to get python to enter password. Like a macro would, I have a macro that im trying to turn into script for python but im having a very hard time.

Can someone please help??
If needed I can post the macro script so you can see what im trying to get it to do.

Reply With Quote
  #2  
Old January 23rd, 2013, 09:29 AM
b49P23TIvg's Avatar
b49P23TIvg b49P23TIvg is offline
Contributing User
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Aug 2011
Posts: 3,372 b49P23TIvg User rank is Major (30000 - 40000 Reputation Level)b49P23TIvg User rank is Major (30000 - 40000 Reputation Level)b49P23TIvg User rank is Major (30000 - 40000 Reputation Level)b49P23TIvg User rank is Major (30000 - 40000 Reputation Level)b49P23TIvg User rank is Major (30000 - 40000 Reputation Level)b49P23TIvg User rank is Major (30000 - 40000 Reputation Level)b49P23TIvg User rank is Major (30000 - 40000 Reputation Level)b49P23TIvg User rank is Major (30000 - 40000 Reputation Level)b49P23TIvg User rank is Major (30000 - 40000 Reputation Level)b49P23TIvg User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 3 Days 11 h 39 m 38 sec
Reputation Power: 383
Please post some of the macro, or all of it if short.
__________________
[code]Code tags[/code] are essential for python code!

Reply With Quote
  #3  
Old January 31st, 2013, 04:34 PM
PythonDeveloper PythonDeveloper is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 4 PythonDeveloper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 36 m 22 sec
Reputation Power: 0
This here is just the log in part of the macro but i have lots of different macro's that have to go into the same program to control the activities of the game itself.

The app is EVE Online

The GUI that ill make will allow the user to enter the username an password so the macro itself no's what to enter

begin
Window.Bring to front("EVE", "no")
Macro.Pause("547")
Mouse.Click at coordinate("1001", "833", "left")
Mouse.Click at coordinate("1001", "833", "left")
Keyboard.Press keys("Username")
Macro.Pause("424")
Keyboard.Press key("{<tab>}")
Macro.Pause("500")
Keyboard.Press keys("Password")
Macro.Pause("2626")
Mouse.Click at coordinate("977", "875", "left")
end

I found a free macro record to use tho after posting the first post that makes the macro into a .exe file but again that does not include a GUI so people have to edit the coding itself which they cant since it'll be a .exe

If you require more i can give an out line of the GUI an what functions will need to be edited through the GUI an not directly having to edit the code of the macro.

Reply With Quote
  #4  
Old January 31st, 2013, 09:10 PM
eliskan eliskan is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2012
Posts: 43 eliskan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 59 m 28 sec
Reputation Power: 1
I once made a macro bot for a game called Battlestar Galactica Online (it's a lot like EVE - you gather resources from asteroids and fight other players). I was able to make an Autohotkey (AHK) script that would actually fight better than I could, and it had a (very simple) GUI.

So I would suggest using AHK instead of Python. But it should be possible to make a macro using Python I'm just not sure how. AHK was designed around the idea of macros so it's pretty easy.

Reply With Quote
  #5  
Old February 1st, 2013, 12:49 AM
PythonDeveloper PythonDeveloper is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 4 PythonDeveloper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 36 m 22 sec
Reputation Power: 0
Quote:
Originally Posted by eliskan
I once made a macro bot for a game called Battlestar Galactica Online (it's a lot like EVE - you gather resources from asteroids and fight other players). I was able to make an Autohotkey (AHK) script that would actually fight better than I could, and it had a (very simple) GUI.

So I would suggest using AHK instead of Python. But it should be possible to make a macro using Python I'm just not sure how. AHK was designed around the idea of macros so it's pretty easy.


Thats one im using but i need to make a GUI interface for other ppl to be able to use it to mod it for there ships an setup eve how it needs to be for the bot to run. Making the macros are the easy part making a .exe file with a GUI so settings is the hard part since AHK doesnt make a GUI for the macro itself u have to use the AHK GUI itself instead not what i want it to do

Reply With Quote
  #6  
Old February 1st, 2013, 12:54 AM
PythonDeveloper PythonDeveloper is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 4 PythonDeveloper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 36 m 22 sec
Reputation Power: 0
Google EVE pilot itll work like that one doesnt, but i think there are things that can be improved on in it

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > Automated python program

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap