forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Window send problem

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced Help for VDS 5 & Up
View previous topic :: View next topic  
Author Message
Marcelito Escort
Newbie


Joined: 22 Jun 2004
Posts: 10

PostPosted: Wed Aug 09, 2006 4:03 pm    Post subject: Window send problem Reply with quote

How can i send a combination of keys saved in a list to a window?
Example:

list loadfile,1,keys.txt
window send,MyWindow,@item(1)

when @item(1) is @Ctrl(@key(Esc))

If i do this, i send to "MyWindow" the sequence ok keys @CTRL.... but i'm trying to send the CTRL+ESC keys.
How can i solve this problem? I'm working on a little program for use with my remote control to manage some applications and it loads the "actions" from an INI file and compares each with the data received from the serial port....
Back to top
View user's profile Send private message
WidgetCoder
Contributor
Contributor


Joined: 28 May 2002
Posts: 126
Location: CO, USA

PostPosted: Thu Aug 10, 2006 7:14 pm    Post subject: Reply with quote

When you store a VDS command or function such as "@ctrl() or @key()" in a list they are no longer interpreted as commands or functions they are stored merely as strings. To accomplish the same task you could parse the list item and compare it using a branch statement to execute the equivalent hard coded command. Let me know if you would like an example.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced Help for VDS 5 & Up All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group