FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

List of prototypes....

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


Joined: 26 Oct 2007
Posts: 2

PostPosted: Fri Oct 26, 2007 10:01 pm    Post subject: List of prototypes.... Reply with quote

Hello everyone! :D

I'm a newbie and I'm looking for a list of prototypes for using in these scripts.... where can I find it? (I looked in the API reference but there are no prototypes listed)

If anybody can help me, thanks in advance.
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 26, 2007 10:15 pm    Post subject: Reply with quote

What exactly do you mean by "prototypes"? Does this not help you?

http://www.salling.com/Clicker/windows/APIDocs/html/annotated.html

Best.
--
Jonas
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ferjjf
Newbie


Joined: 26 Oct 2007
Posts: 2

PostPosted: Sat Oct 27, 2007 3:51 pm    Post subject: API "prototypes" reference.... Reply with quote

Thanks for your answer! :D
Well I don't know if I'm wrong, I'm going to try to explain what prototype means for me in the Salling scripting system:

You know that you create the interface models like this:

var myInterface = CreateMessageboxDialog ("msgboxReference_");


then, for handling the answers of your terminal you create functions using the name you used to create the var like this:

function msgboxReference_OK (widget) {
# ... custom instructions ...
}

well my doubt is the part where I wrote "OK" after 'function msgboxReference_'...
I know there are OK,ValueUpdate,Cancel..... those are prototypes for me... If I'm wrong please let me know :D...
And, recalling my initial doubt, where can I get a list of those "prototypes" (if that's their names LOL)!

Thanks in advance.
Fer
Back to top
View user's profile Send private message
salling
Site Admin


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

PostPosted: Mon Oct 29, 2007 12:26 am    Post subject: Reply with quote

Ah. I see. This is a good point, as these function signatures aren't documented very well, except for in the scripts offered as part of the product.

I'm not able to offer a complete specification document at this point, but if you tell me what you're looking for more specifically, I'll do my best to help.

Best.
--
Jonas
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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