Hard Script ! Only english!
Posted: 2006-02-14 18:26:23
Explication
I´m trying to creat a new way to exec my macros!
It´s gonna run this way:
When i press Caps lock: it's sets a global with numeber 1
Than it active all buttons from my pc, like, if i pressa A , i will exec a macro, this for b, c, d, etc...
But when i use it like hotkey, i can´t use it to write !? am i wrong ?
So, i'm trying to script a thing like this!
If caps lock's global = 0
than when i press any key, it copys what i press i add on a global
and when i press enter, i say this global and reset it!
But, i don´t know how :p
For example :
sub Arm_Kryss1()
if uo.getGlobal("Modobatalha") == "1" then
uo.usetype('0x1b76')
uo.usetype('0x1404')
uo.usetype('0x1400')
uo.usetype('0x13b5')
uo.usetype('0x1bc3')
uo.waittargetself()
else
uo.setGlobal("Falando","Falando+'a'") # here i don't know what to do
endif
end sub
And i don't know how i do the comando on Enter, someone here can help me ?
i´m really trying to do this, but i'm not good enought!
I´m trying to creat a new way to exec my macros!
It´s gonna run this way:
When i press Caps lock: it's sets a global with numeber 1
Than it active all buttons from my pc, like, if i pressa A , i will exec a macro, this for b, c, d, etc...
But when i use it like hotkey, i can´t use it to write !? am i wrong ?
So, i'm trying to script a thing like this!
If caps lock's global = 0
than when i press any key, it copys what i press i add on a global
and when i press enter, i say this global and reset it!
But, i don´t know how :p
For example :
sub Arm_Kryss1()
if uo.getGlobal("Modobatalha") == "1" then
uo.usetype('0x1b76')
uo.usetype('0x1404')
uo.usetype('0x1400')
uo.usetype('0x13b5')
uo.usetype('0x1bc3')
uo.waittargetself()
else
uo.setGlobal("Falando","Falando+'a'") # here i don't know what to do
endif
end sub
And i don't know how i do the comando on Enter, someone here can help me ?
i´m really trying to do this, but i'm not good enought!