Search found 14 matches
- Fri Aug 27, 2010 7:06 pm
- Forum: Technical / Scripting
- Topic: Need Help using VBScript
- Replies: 4
- Views: 4844
this simple example for me too ;o) but fact is that in a bigger loop the values got lost and i cant find how and why, i do NOT overwrite or touch the variables in between and the watchlist shows good results but mdl> didnt and the vbeval also gets wrong values i did a workaround coping them to anoth...
- Fri Aug 27, 2010 5:03 pm
- Forum: Technical / Scripting
- Topic: Need Help using VBScript
- Replies: 4
- Views: 4844
Thanks a lot i didn´t have seen that changed them to function works fine, now i have the next problem : i have this function: [code] VBSTART DIM gamefield(9,7,1) function set_gamefield(x, y, value1, value2) gamefield(x, y, 0) = cstr(value1) gamefield(x, y, 1) = cstr(value2) set_gamefield=gamefield(...
- Fri Aug 27, 2010 12:24 pm
- Forum: Technical / Scripting
- Topic: Need Help using VBScript
- Replies: 4
- Views: 4844
Need Help using VBScript
Hello i tried to use VBscript in a macroscript its primitive and easy but i get type mismacht errors all the time and dont know why, can somebody help me out with that? if i debug(stepping withF8) the code it makes a difference if i start on the line VBStart or after VBEnd (line 46) if i start on VB...
- Thu Aug 26, 2010 9:18 pm
- Forum: Technical / Scripting
- Topic: Returnvalues, or how to get the value of a var in srt change
- Replies: 8
- Views: 9430
VBScript causes Error 13 (Type mismatch)
Hello Marcus it me Again i tried to put more logig in VBscript but i fail already with ur example of fac in vbscript: [code] VBSTART Dim gamefield() Sub init_gamefield() ReDim gamefield(9, 7,1) End Sub Sub set_gamefield(x, y, value1, value2) gamefield(x, y, 0) = CStr(value1) gamefield(x, y, 1) = CSt...
- Thu Aug 26, 2010 2:37 pm
- Forum: Technical / Scripting
- Topic: Problems registering OCX for Macroscheduler SDK
- Replies: 8
- Views: 9653
Hi marcus, done as u said, dll is in the: C:\Program Files\Microsoft Office\Office10 folder the ocx is there also but because i regsitered it earlyer Acces has its path to the user homem where i putted it first running the exaple (step by step with F8) brings a cannot load mscript.dll error in line ...
- Thu Aug 26, 2010 8:19 am
- Forum: Technical / Scripting
- Topic: Problems registering OCX for Macroscheduler SDK
- Replies: 8
- Views: 9653
- Wed Aug 25, 2010 10:28 pm
- Forum: Technical / Scripting
- Topic: Problems registering OCX for Macroscheduler SDK
- Replies: 8
- Views: 9653
Update: Problems registering OCX for Macroscheduler SDK
[quote="djDeeJay_dot_com"]Hello, i downloaded Macroscheduler SDK and unzipped into the installdir of MAchroscheduler 12 Following the macro_script.pdf i copied the mScript.dll and mScript.ocx to teh windows sytem dir: C:\Windows\System32>dir mScript* Datenträger in Laufwerk C: ist ACER Volumeserien...
- Wed Aug 25, 2010 6:34 pm
- Forum: Technical / Scripting
- Topic: Problems registering OCX for Macroscheduler SDK
- Replies: 8
- Views: 9653
Problems registering OCX for Macroscheduler SDK
Hello, i downloaded Macroscheduler SDK and unzipped into the installdir of MAchroscheduler 12 Following the macro_script.pdf i copied the mScript.dll and mScript.ocx to teh windows sytem dir: C:\Windows\System32>dir mScript* Datenträger in Laufwerk C: ist ACER Volumeseriennummer: 8A62-860C Verzeich...
- Wed Aug 25, 2010 4:24 pm
- Forum: Technical / Scripting
- Topic: Returnvalues, or how to get the value of a var in srt change
- Replies: 8
- Views: 9430
the SDK sounds great, ill try that, what i doing is writing a scrpt that solves a game where a small fish is in a maze and u have to show him the way, sounds stupid but i just want to show thats possible therefore i NEED interaction with this webpage (javeapplet)( getting positions via FIP but also ...
- Wed Aug 25, 2010 3:46 pm
- Forum: Technical / Scripting
- Topic: Returnvalues, or how to get the value of a var in srt change
- Replies: 8
- Views: 9430
Hi Macus, thanks for your quick answer i thought already about doing it in VBScript but i have 2 problems with iT: 1 is there is no debugging and very rare error information 2 is the fac was my first try to get into it what i wanna really implement is a backtraking thru a maze (wich i build up with ...
- Wed Aug 25, 2010 3:00 pm
- Forum: Technical / Scripting
- Topic: Returnvalues, or how to get the value of a var in srt change
- Replies: 8
- Views: 9430
Returnvalues, or how to get the value of a var in srt change
Hi i am still evalutaing macshed and i tried to do a small recursive implementation of the fac function(x!) i found that variables are not recursive save so the values in an inner recursion are the same like in the outer , i found something about localvars=1 but didnt changed anything so i implement...
- Wed Aug 25, 2010 2:45 pm
- Forum: Technical / Scripting
- Topic: composed variablenames for buildinfunction calls???
- Replies: 4
- Views: 5759
Hello, seems your version save only the first entry for every array (xArr_0,Yarr_0) or am i wrong ? regards dj [quote="adroege"]Try this: [code] Let>i=0 repeat>i Let>i=i+1 Let>bmp2cmp=c:\test%i%.bmp FindImagePos>%bmp2cmp%,SCREEN,20,1,XArr,YArr,NumFound Let>XArray%i%=XArr_0 Let>YArray%i%=YArr_0 Let>N...
- Fri Aug 20, 2010 6:04 pm
- Forum: Technical / Scripting
- Topic: composed variablenames for buildinfunction calls???
- Replies: 4
- Views: 5759
i need compüosed variablenames
ok i know the standard example but it doesnt fullfill my needs i want to loop througn several images and finde them all to avoid code like this: [code] FindImagePos>%bmp2cmp%,SCREEN,20,1,XArr1,YArr1,NumFound1 FindImagePos>%bmp2cmp%,SCREEN,20,1,XArr2,YArr2,NumFound2 FindImagePos>%bmp2cmp%,SCREEN,20,1...
- Fri Aug 20, 2010 2:31 pm
- Forum: Technical / Scripting
- Topic: composed variablenames for buildinfunction calls???
- Replies: 4
- Views: 5759
composed variablenames for buildinfunction calls???
Hello i try to do the following: reading several images and serch them (in a loop) the results shoud be afterwards in the passed variables wich have the loopnumber to identifiy them i show here the code for one only to explain where is the problem let>i=1 let>bmp2cmp=D:\test%i%.bmp FindImagePos>%bmp...