FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

How to link scripts together?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Windows
View previous topic :: View next topic  
Author Message
salling
Site Admin


Joined: 27 Jul 2004
Posts: 7498
Location: Stockholm, Sweden

PostPosted: Thu Oct 20, 2005 3:16 pm    Post subject: Reply with quote

I did get your email. As it didn't seem urgent, I'll respond later today. Feel free to send newer copies of your script.

Cheers.
--
Jonas
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Apollo
Junior Member


Joined: 18 Oct 2005
Posts: 43

PostPosted: Thu Oct 20, 2005 3:17 pm    Post subject: Reply with quote

Wow Jonas that worked perfectly! I would kiss you if you were next to me...thank goodness for the both of us that you're not :lol:

I'll shoot you another e-mail with my script in it so you can toy with it and maybe give me feedback... (It's pretty useless unless you've got MCE working though)
Back to top
View user's profile Send private message
Apollo
Junior Member


Joined: 18 Oct 2005
Posts: 43

PostPosted: Thu Oct 20, 2005 3:25 pm    Post subject: Reply with quote

Sent away!
Back to top
View user's profile Send private message
Apollo
Junior Member


Joined: 18 Oct 2005
Posts: 43

PostPosted: Thu Oct 20, 2005 9:43 pm    Post subject: Reply with quote

In one of my scripts I have remapped the volume/play/pause controls to navigational keys. How do I get the remapped buttons to stop lighting up when I press the 'dead' button?

(I press left to navigate left but the Rewind button still highlights.)
Back to top
View user's profile Send private message
salling
Site Admin


Joined: 27 Jul 2004
Posts: 7498
Location: Stockholm, Sweden

PostPosted: Thu Oct 20, 2005 10:33 pm    Post subject: Reply with quote

You cannot. At least not yet.

I suggest that unless you're offering mediaplayer-type functionality with transport control etc, you use the keypad widget instead of the mediaplayer widget.

Here's how you create it:

[code:1]
CreateKeypadScreen( prefix );
[/code:1]

The rest, i.e., the key event handlers work in exactly the same way as with the mediaplayer widget.

This widget type won't show the media transport on-screen buttons. Also, it won't show the timeline.

Best.
--
Jonas

[quote="Apollo"]In one of my scripts I have remapped the volume/play/pause controls to navigational keys. How do I get the remapped buttons to stop lighting up when I press the 'dead' button?

(I press left to navigate left but the Rewind button still highlights.)[/quote]
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Apollo
Junior Member


Joined: 18 Oct 2005
Posts: 43

PostPosted: Fri Oct 21, 2005 1:23 am    Post subject: Reply with quote

I actually kind of like how it is running atm. It shows screen presses and you can use the screen to navigate that way too.

Is there a program that would make looking at all this text easier than notepad? lol!

Thanks!
~*Apollo*~
Back to top
View user's profile Send private message
Apollo
Junior Member


Joined: 18 Oct 2005
Posts: 43

PostPosted: Fri Oct 21, 2005 1:26 am    Post subject: Reply with quote

Also is there a way to make the silkscreen graffiti letters of the palm get sent to the pc as keyboard letters for typeing?
Back to top
View user's profile Send private message
teetow
Senior Member


Joined: 11 Oct 2005
Posts: 72
Location: Uppsala, Sweden

PostPosted: Fri Oct 21, 2005 1:27 am    Post subject: Reply with quote

[quote="Apollo"]Is there a program that would make looking at all this text easier than notepad? lol![/quote]Stop me if I misunderstood you, but you're looking for a text editor with syntax hilighting? I'll strongly recommend [url=http://www.ultraedit.com/]Ultraedit[/url], [url=http://www.textpad.com/]Textpad [/url]or [url=http://www.context.cx/]Context[/url].
Back to top
View user's profile Send private message
Apollo
Junior Member


Joined: 18 Oct 2005
Posts: 43

PostPosted: Fri Oct 21, 2005 1:39 am    Post subject: Reply with quote

That's very helpful thanks!!
Back to top
View user's profile Send private message
salling
Site Admin


Joined: 27 Jul 2004
Posts: 7498
Location: Stockholm, Sweden

PostPosted: Fri Oct 21, 2005 2:04 am    Post subject: Reply with quote

Yes. I believe they do already. Did you check? You may need to decode the format, but you should definitely see something coming in.

Cheers.
--
Jonas

[quote="Apollo"]Also is there a way to make the silkscreen graffiti letters of the palm get sent to the pc as keyboard letters for typeing?[/quote]
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Apollo
Junior Member


Joined: 18 Oct 2005
Posts: 43

PostPosted: Fri Oct 21, 2005 2:13 am    Post subject: Reply with quote

no keys are typed on the screen when I type them on my palm. Let me run a diagnostic and see if anything is getting sent and see what I can do.
Back to top
View user's profile Send private message
Apollo
Junior Member


Joined: 18 Oct 2005
Posts: 43

PostPosted: Fri Oct 21, 2005 2:16 am    Post subject: Reply with quote

Ok keys are being sent. But they are not picked up as keyboard keys...how do I change this? I want the graffiti to send keyboard keys.

I could set the script up so that every single key on the keyboard has a keyboard keystroke to be sent but that would be tedious and I'm sure there's a simpler way. Any ideas?

Like:
[code:1]
function MyRemote_KeyDown(theScreen, theKey)
{
if( theKey == "A" ) {
SendKeystroke( 0x77, false );
}
[/code:1]

(The hex code is incorrect but it's just the example)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Windows All times are GMT + 2 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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 cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group