Welcome, Guest
Please Login or Register.    Lost Password?

Rainlendar_SetEventHandler - incomplete Help docs
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Rainlendar_SetEventHandler - incomplete Help docs
#8045
Rainlendar_SetEventHandler - incomplete Help docs 5 Years, 8 Months ago  
Hey there, don't mean to be complaining or anything, but I'm interested in this little piece of info and that's why I'm posting here. In the help doc for Rainlendar_SetEventHandler, a table of event values is mentioned but missing. I'd like to know what other values I can use in a script
Jotaf
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#8046
Re:Rainlendar_SetEventHandler - incomplete Help docs 5 Years, 8 Months ago  
And while we're at it, 'dirtree' doesn't seem to work (in the Shadow4 Photos script, scanning a folder). Says it's nil... My version is 2.4 (downloaded it about 2 weeks ago or something).
Jotaf
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#8058
Re:Rainlendar_SetEventHandler - incomplete Help docs 5 Years, 8 Months ago  
You need build 65 or newer for the dirtree. Here's the part which is missing from the help:

Value Event data Description
1 MouseEvent Left mouse down
2 MouseEvent Left mouse up
3 MouseEvent Middle mouse down
4 MouseEvent Middle mouse up
5 MouseEvent Right mouse down
6 MouseEvent Right mouse up
7 MouseEvent Mouse move
8 MouseEvent Mouse enters the window
9 MouseEvent Mouse leaves the window
10 MouseEvent Left double click
11 MouseEvent Middle double click
12 MouseEvent Right double click
13 MouseEvent Mouse wheel
1000 nil Power resume event. Send when the computer resumes from suspend/hibernation. This is a global event.

MouseEvent data is a table with this content:

Field Type Description
x integer The x-coordinate of the mouse.
y integer The y-coordinate of the mouse.
wheel integer The mouse wheel value.
button integer The mouse button state.
Rainy
Moderator
Posts: 5914
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#8063
Re:Rainlendar_SetEventHandler - incomplete Help docs 5 Years, 8 Months ago  
Thanks

Where can I get b65? I just re-downloaded and reinstalled Rainlendar but it's still the same build: 64.

EDIT

Forget it, it's in the beta forum. I've got an add-on I'm working on, I'll tell ya when it's ready.
Jotaf
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2008/11/19 16:16 By Jotaf.
The administrator has disabled public write access.
 
#8081
Re:Rainlendar_SetEventHandler - incomplete Help docs 5 Years, 8 Months ago  
Arne Anka
Varför kan jag inte hålla min glappa käft i styr?
Expert Boarder
Posts: 131
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Denmark Birthday: 01/17
Last Edit: 2008/11/21 13:29 By Arne Anka.
The administrator has disabled public write access.
Livet är bara en period man ska överleva.
Som filosoferna säger: man föds, man lever och man dör ensam...

 
Go to topPage: 1
get the latest posts directly to your desktop