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 


[Solved] Print Screen hotkey VDS6

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
GregLand
Valued Contributor
Valued Contributor


Joined: 15 Jun 2004
Posts: 212
Location: FRANCE

PostPosted: Wed Sep 23, 2009 10:13 pm    Post subject: [Solved] Print Screen hotkey VDS6 Reply with quote

Hello all !
I have a little problem... Sad
I tried to use the print screen hotkey in the source below, no problem with VDS5, but VDS6 make an error for the "HOTKEY ADD,1,PRINT" command..

Code:

  DIALOG CREATE,Test PrintKey,-1,0,216,38
  DIALOG ADD,TEXT,status,6,6,204,18,Info : Press CTRL+P or PRINSCREEN !
  DIALOG SHOW
 
  HOTKEY ADD,1,PRINT
  HOTKEY ADD,2,CTRL+P

:evloop
  wait event
  goto @event()
 
:hotkey
  goto @hotkey()
 
:1
  info PRINTSCREEN pressed
  goto evloop

:2
  INFO CTRL+P pressed
  goto evloop

:close
  HOTKEY REMOVE,1
  HOTKEY REMOVE,2
  exit


Nothing as changed in the help on hotkey between VDS5 & VDS6

Someone can help me ?
Thanks ! Wink


Last edited by GregLand on Sat Sep 26, 2009 9:39 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Thu Sep 24, 2009 11:26 am    Post subject: Reply with quote

Sorry, I don't know the solution. But I can confirm that hotkey behaves differently in VDS 5 and VDS 6.

Both VDS 5 and 6 can use the following hotkeys (by themselves or in combination i.e. ALT+2):
ALT, CTRL, ESC, INS, DEL, HOME, END, UP, DOWN, LEFT, RIGHT, PGUP, PGDN, INS, DEL, F1-F12, TAB, SHIFT, A-Z, 1-0.

The following (and probably more) work in VDS 6 but cause an error in VDS 5:
Code:
  HOTKEY ADD,PAUSE
  HOTKEY ADD,/
  HOTKEY ADD,-

While these work in VDS 5 but cause an error in VDS 6:
Code:
  HOTKEY ADD,CAPS
  HOTKEY ADD,NUM
  HOTKEY ADD,SCROLL
  HOTKEY ADD,PRINT

The only solution I can think of is to create a small VDS 5 exe that uses HOTKEY ADD, PRINT and passes a message to the main VDS 6 exe.

_________________
cheers

Dave
Back to top
View user's profile Send private message
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Fri Sep 25, 2009 2:47 am    Post subject: Reply with quote

Just a thought but, unless your script requires functionality that is exclusive to VDS 6, just compile it as a VDS 5 executable.
Back to top
View user's profile Send private message Send e-mail
GregLand
Valued Contributor
Valued Contributor


Joined: 15 Jun 2004
Posts: 212
Location: FRANCE

PostPosted: Sat Sep 26, 2009 9:34 am    Post subject: Reply with quote

Ok... thanks for your answer...
I think it's unfortunate not to take advantage of version 6...
I will compile it in VDS5 executable... Sad

Thanks a lot !
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help 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