mIRC Home    About    Download    Register    News    Help

Print Thread
#29665 14/06/03 12:53 AM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
is there a way to do this?

i want a script so that when i push printscreen, it opens PSP7 and pastes the ss in PSP7 and saves it as jpg

or just save it as jpeg however mirc can...

Last edited by MTech; 14/06/03 01:03 AM.
#29666 14/06/03 01:04 AM
Joined: May 2003
Posts: 177
P
Vogon poet
Offline
Vogon poet
P
Joined: May 2003
Posts: 177
This is only possible to do with custom @windows with the on KEYDOWN event. Even if you were to use the on KEYDOWN event with an @window to check and see if a user pressed the 'Print Screen' key, it wouldn't work. I just tried this:

on *:KEYDOWN:@Test:*:{
echo -a $keyval
}

And it did not respond after pressing the 'Print Screen' key.

#29667 14/06/03 01:05 AM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
how do i do that?

#29668 14/06/03 01:09 AM
Joined: May 2003
Posts: 177
P
Vogon poet
Offline
Vogon poet
P
Joined: May 2003
Posts: 177
/help on KEYDOWN

Example:

on *:KEYDOWN:@Test:89:{
echo -a You pressed the 'Y' key.
}

89 being the Y character.

#29669 14/06/03 03:50 AM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Well this isn't PSP7 support. How do we even know if PSP7 has the ability to do what you requested? Does PSP7 have a commandline option that allows you to tell it to read from the clipboard? Does PSP7 allow you to, from the commandline tell it to take the data read from the clipboard then save it to a jpg file? If the answer is no to either of those questions, then the answer is no to your question. If you don't know the answer to my questions, then I don't know the answer to your questions. And if the answer is yes to both of my questions, then the answer would be to use ON KEYDOWN in combination with /run. But my guess is PSP7 has no such features, therefore it can not be done.

#29670 14/06/03 04:35 AM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
ok but can mirc save the clipboard ss itself?

#29671 14/06/03 01:50 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
No

#29672 14/06/03 06:31 PM
Joined: Mar 2003
Posts: 437
M
MTech Offline OP
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
oh well ill just do it manually

ty anyway


Link Copied to Clipboard