Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 13:23

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Python][EN] ALT

Discussion on [Python][EN] ALT within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2009
Posts: 31
Received Thanks: 2
[Python][EN] ALT

Hi!
How I can send key ALT in Python?
I do it in Metin2 Client.
Code:
chatLine.SetText("0160")
Before 0160 I want to send key ALT

In AutoIT is send("!0160"), but how in Python?

Regards,
Doll from Poland
All Def/self:
Code:
	def __Create(self):
		chatModeButton = ChatModeButton()
		chatModeButton.SetParent(self)
		chatModeButton.SetSize(40, 17)
		chatModeButton.SetText(locale.CHAT_NORMAL)
		chatModeButton.SetPosition(7, 2)
		chatModeButton.SAFE_SetEvent(self.OnChangeChatMode)
		self.chatModeButton = chatModeButton

		chatLine = ChatLine()
		chatLine.SetParent(self)
		chatLine.SetMax(70)
		chatLine.SetText("")
		chatLine.SAFE_SetTabEvent(self.OnChangeChatMode)
		chatLine.x = 0
		chatLine.y = 0
		chatLine.width = 0
		chatLine.height = 0
		self.chatLine = chatLine

		btnSend = ui.Button()
		btnSend.SetParent(self)
		btnSend.SetUpVisual("d:/ymir work/ui/game/taskbar/Send_Chat_Button_01.sub")
		btnSend.SetOverVisual("d:/ymir work/ui/game/taskbar/Send_Chat_Button_02.sub")
		btnSend.SetDownVisual("d:/ymir work/ui/game/taskbar/Send_Chat_Button_03.sub")
		btnSend.SetToolTipText(locale.CHAT_SEND_CHAT)
		btnSend.SAFE_SetEvent(self.chatLine.OnIMEReturn)
		self.btnSend = btnSend
DollPL is offline  
Old 03/30/2010, 15:48   #2
 
elite*gold: 0
Join Date: Aug 2009
Posts: 31
Received Thanks: 2
@refresh?
DollPL is offline  
Old 03/31/2010, 18:28   #3
 
elite*gold: 0
Join Date: Aug 2009
Posts: 31
Received Thanks: 2
@Ref
DollPL is offline  
Reply


Similar Threads Similar Threads
Python
05/23/2010 - Metin2 Private Server - 4 Replies
Metin2 ist ja mit Python geschrieben worden. Ich würde es gerne erlernen und nach ein paar Monaten/Jahren Übung, ein Game schreiben...^ Was haltet ihr von Python? Lohnt es sich damit anzufangen, wenn man ein Game schreiben will? LG NedFlanders ;)
Python
09/12/2009 - Dekaron - 5 Replies
Leveling in python, where is the boss that spawns? Is there deffo 1 ? And how do oyu get to tomb, i get outside theres a NPC sitting outside and i wallkhack thru the gate but i dont no how to go into the differnt world?
Python Reg and MailSend app
08/19/2009 - Dekaron Private Server - 4 Replies
So since i could not get any of the php stuff on any forum to work for me(don't understand why but it could never connect to my db) i made a few python scripts/apps to do the job. i'm willing to share the source if anyone is interested.... these are just based on the php's so credits to the makers of the original php all i did was python it all...more 2 come as well i plan on making a full python admin(EX:change stats, change spawn location, change location,make char gm ect...) sorry... ...
Where is Python?
04/20/2008 - Dekaron - 2 Replies
where can i find it? and what lvl need im?



All times are GMT +2. The time now is 13:23.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.