FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

Need help! Screen script

 
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Windows
View previous topic :: View next topic  
Author Message
christer
Newbie


Joined: 10 Aug 2007
Posts: 4
Location: Sweeden

PostPosted: Sun Aug 12, 2007 8:13 pm    Post subject: Need help! Screen script Reply with quote

Hi
Iīll got script "Screen 1.1" and itīs a good script, but it shuld be more greate if some chuld do a "auto update on the screen" like every 4 sek!
It shuld be greate, plz help!

Thanks!

/Christer
Back to top
View user's profile Send private message
christer
Newbie


Joined: 10 Aug 2007
Posts: 4
Location: Sweeden

PostPosted: Sat Aug 18, 2007 10:08 pm    Post subject: Help! Reply with quote

Hi a really need some help! Pleasc help!
Pleace write the short "update" text and i will try to get it in the Script.

Thanks!

/Chris..
Back to top
View user's profile Send private message
Runarius
Senior Member


Joined: 19 Nov 2006
Posts: 124

PostPosted: Mon Aug 27, 2007 12:55 pm    Post subject: Reply with quote

odd nobody responded to this one, it's really easy really. just add this piece of code and in should be fine.

[code:1]

var updateInterval = 4;
var count = 0;
function myKeypad_Update(theScreen)
{
count++;
if(count >= updateInterval)
{
image(theScreen);
count = 0;
}

}[/code:1]


there, enjoy. if you want ot change the interval, just edit the updateInterval to your choosing. note that the image will only update as long the screen is actually changing, which is a good thing.
Back to top
View user's profile Send private message
christer
Newbie


Joined: 10 Aug 2007
Posts: 4
Location: Sweeden

PostPosted: Tue Aug 28, 2007 8:54 pm    Post subject: Reply with quote

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


Powered by phpBB © 2001, 2005 phpBB Group