| Yoko http://forum.yoko.com.ua/ |
|
| Select gump before action. http://forum.yoko.com.ua/viewtopic.php?f=1&t=1527 |
Page 1 of 1 |
| Author: | Psyny [ 2004-10-04 00:23:02 ] |
| Post subject: | Select gump before action. |
Hail, Is possible to select the last apeared gump bofore doing an action ? Like select the gumpo and say "BLA BLA BLA " ? Coz i need to say how many loops to craft. and only uo.say or print... its make my char say something. in normal gump it works. but in this one i need to select the box that i will print something. plz! help ... |
|
| Author: | Psyny [ 2004-10-04 02:43:47 ] |
| Post subject: | |
If its help... i got more technical info: All commands: ____ 1] noclose 2] nomove 3] nodispose 4] page 0 5] resizepic 249 223 5120 280 200 6] text 259 233 45 0 7] text 259 253 45 1 8] text 259 273 45 2 9] text 259 293 45 3 10] text 259 313 45 4 11] text 259 333 45 5 12] text 259 353 45 6 13] gumppic 349 393 2444 14] textentry 359 396 50 25 88 2 7 15] gumppic 251 383 1417 16] text 281 413 88 8 17] button 449 393 2313 2312 1 1109 1 Reply: ___________ [0001] primary reply Checks&Radios (0) Entryes (1) [0002] 7 I need to enter a certai Text in this Text Entry... In this case 7... but i did it manualy. i need to automatic enter a number from 1 to 9 in this Text Entry. |
|
| Author: | Yoko [ 2004-10-06 20:41:50 ] |
| Post subject: | |
no way in last official version |
|
| Author: | Psyny [ 2004-10-15 20:51:28 ] |
| Post subject: | |
Hail, i got a way to solve the problem in this case. But i dont know the commands for that. 14] textentry [n]359 396[/n] 50 25 88 2 7 thoose 356 and 396 is the entry position in the screen right ? I need to know how to make the mouse click in thoose coords ( in case uo.lclick( 359,396 ) ) |
|
| Author: | Psyny [ 2004-10-15 23:29:20 ] |
| Post subject: | |
ok ive developed a way ... but i dont know if will work ^-^ i need to go to home to test... here is -------------------- entry_text = uo.lastgump("text",14) entry_x = left(entry_text,13) entry_x = right(entry_x,3) entry_y = left(entry_text,17) entry_y = right(entry_y,3) entry_x = strtomoney(entry_x) + 10 entry_y = strtomoney(entry_y) + 10 uo.lclick(entry_x,entry_y) uo.say("10") --------------------- ive detected the position of the text entry, clicked on it ( now its actived and waiting for a text input ), but i dont know if the uo.say("10") will send the text for textentry or to normal text place. |
|
| Author: | Psyny [ 2004-10-19 00:33:34 ] |
| Post subject: | |
Its dont works =( Yoko, only uo.lastgump(" ",x) argument possible is 'text' ? injection have other arguments for lastgump ? |
|
| Author: | Psyny [ 2004-10-19 02:22:32 ] |
| Post subject: | |
well... searching in the forums. its all clear now... really noway in last published version do to what i want.. Yoko, u have plans for gumps action in future ? and the uo.lastgump function is in last source code version ? |
|
| Author: | Yoko [ 2004-10-19 12:52:00 ] |
| Post subject: | |
"Mr. Fookes, have you a PLAN? Do i have a PLAN? Do i have a PLAN?! Fookes always have a PLAN!!!" (c) russian cartoon |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|