 |
WiiLi.org a new revolution
|
| View previous topic :: View next topic |
| Author |
Message |
TiagoTiago
Joined: 20 Jan 2007 Posts: 710 Location: Brasil
Digg It |
Posted: Fri Feb 09, 2007 3:52 am Post subject: |
|
|
can anyone post feature requests here?
- hyerachcly loading and running of scripts ( a main script coudl load, run, pause, reset and unload any other scrtip
- custom user functions, sothing like:
| Code: |
//darn, this was the best example of usage I coudl think off :/
function RumbleIntensity(intensity)
if var,Intensity > 500ms then
var.intensity =500ms
endif
var.delay = 500 - intensity
Wiimote1.Rumble = true
wait var.delay
Wiimote1.Rumble = false
wait var.delay
endfunction
|
another thing that woudl be usefull would be havign a function that woudl return the title of the window currently on focus to allow scripts to turn on and off automaticly as you switch programs (the file name for the window could alos be usefull)
mmm, thre is also my feature sugestion I made a thread for about crash recovery and...
oh yeah, implement Kalman filter to calculate speed and distance traveleld based on the acelerometers
_________________ please put the scripts on the wiki so they dont get lost as new stuff is posted!
phpBB doesnt like me,somtimes it will forget to warn me about new replies to threads I asked it to,if you see a thread I should have responded, could please email me? |
|
| Back to top |
|
 |
TylerK

Joined: 18 Dec 2006 Posts: 384 Location: Springfield, IL
Digg It |
Posted: Fri Feb 09, 2007 1:46 pm Post subject: |
|
|
You can get the window title like this: | Code: | if (Window.BeforeDash == "Untitled") then
// we're in some untitled document
endif
if (Window.AfterDash == "Mozilla Firefox") then
// looks like we're browsin' the web, eh?
endif |
I think there's also a Window.Appname function, although I'm not sure if it returns the name of the file or the process that's running. Might be worth a shot. |
|
| Back to top |
|
 |
TiagoTiago
Joined: 20 Jan 2007 Posts: 710 Location: Brasil
Digg It |
Posted: Fri Feb 09, 2007 1:57 pm Post subject: |
|
|
| TylerK wrote: | You can get the window title like this: | Code: | if (Window.BeforeDash == "Untitled") then
// we're in some untitled document
endif
if (Window.AfterDash == "Mozilla Firefox") then
// looks like we're browsin' the web, eh?
endif |
I think there's also a Window.Appname function, although I'm not sure if it returns the name of the file or the process that's running. Might be worth a shot. |
mmmm.. that is good to know, thanx  _________________ please put the scripts on the wiki so they dont get lost as new stuff is posted!
phpBB doesnt like me,somtimes it will forget to warn me about new replies to threads I asked it to,if you see a thread I should have responded, could please email me? |
|
| Back to top |
|
 |
GizmoTheGreen
Joined: 14 Nov 2006 Posts: 121
Digg It |
Posted: Sat Feb 10, 2007 11:14 am Post subject: |
|
|
| TylerK wrote: | You can get the window title like this: | Code: | if (Window.BeforeDash == "Untitled") then
// we're in some untitled document
endif
if (Window.AfterDash == "Mozilla Firefox") then
// looks like we're browsin' the web, eh?
endif |
I think there's also a Window.Appname function, although I'm not sure if it returns the name of the file or the process that's running. Might be worth a shot. |
hey, this could be used so like the script for browsing the web only works if your in a Firefox or IE window, or so it works different depending on what youre using, nice tip TylerK  |
|
| Back to top |
|
 |
SwedishFrog Site Admin

Joined: 25 Jan 2007 Posts: 273 Location: New York
Digg It |
Posted: Sun Feb 11, 2007 2:53 pm Post subject: |
|
|
It would be great if glovepie included an applet that could graph selected variables in real time. That would be useful for accelerometer coding and general debugging. The graph in wiinremote is way too small and lacks features such as units and screen capture.
Also Wiili once linked me to a youtube video which demonstrated a comercial wiimote tool. It simplifies the gesture recognition process. Say for example, you want the tool to detect a gesture, such as swinging the wiimote left. The tool allows you to record an example of the gesture, repeatedly. The tool takes a statistical average of the accellerometer values that arise when the wiimote is swinging left. It would then return a value to you for use in your script. Unquestionably useful.
I understand alot of this is easier said than done, but here's hoping |
|
| Back to top |
|
 |
bomboy02
Joined: 07 Jan 2007 Posts: 17
Digg It |
Posted: Mon Feb 12, 2007 8:11 am Post subject: |
|
|
SwedishFrog could you post a link to this video and/or other info on this commercial wiimote tool
also i like the idea of the variable graph, it would be very useful. _________________ StarCraft 2
www.starcraft2.com
"Hell, it's about time." - Tychus Findlay
Wii #: 7041 2686 1913 6765
Pokemon diamond F/C: 0473 4276 9277 |
|
| Back to top |
|
 |
TylerK

Joined: 18 Dec 2006 Posts: 384 Location: Springfield, IL
Digg It |
Posted: Mon Feb 12, 2007 8:36 am Post subject: |
|
|
The tool he's referring to is called LiveMove. You can find the video demonstration of it here: http://www.youtube.com/watch?v=5ffvSMWD2Mk
I emailed them and asked about getting the software, and they said you had to have an actual Nintendo license. Hopefully someone will come up with a free alternative someday. |
|
| Back to top |
|
 |
|
|
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
|
Powered by phpBB © 2001, 2005 phpBB Group
|