Search found 37 matches

by Atlas123
Thu Oct 11, 2012 3:27 pm
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

The file is in the same folder as the script I tried with: function fileA() os.execute("macrotroops.wksp") end --First try fileA() But it says: " 'macrotroops.wksp' is not recognized as an internal or external command, operable program or batch file" I also tried without the quot...
by Atlas123
Thu Oct 11, 2012 2:13 am
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

I looked in the wiki but if it is not loadpath the other most similar ones are for filesystem functions but none seem to be for running a file.

I looked in the forums but most of it is to load loadpath related

Admin, any hints?

Thank you
by Atlas123
Wed Oct 10, 2012 4:10 pm
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

It is Workspace Macro Pro, extension .wksp I just need to initiate the file (file will run the short macro and with enough yrest it works)

At present I have the file below the App window and the micromacro double clicks on the file lol, a bit dodgy so would be nice to just call the file from MM
by Atlas123
Tue Oct 09, 2012 3:10 pm
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

I thought of a cheeky way around this... I can replicate the individual drag actions I need with a macro recorder, I just need to know how to give instructions in the script to open the file.

Is that using loadpaths? how?

Thanks
by Atlas123
Mon Oct 08, 2012 3:23 am
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

Hello, Strange, I had tried something similar, adding where you put the: attachKeyboard(getWin()) But it didnt like the (get(win))... Your code runs fine, but it will not drag... Not sure if it makes a difference but the "Drag" area is a section inside the iphone screen (it is not the whol...
by Atlas123
Sun Oct 07, 2012 1:34 pm
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

Sorry tried several things but mostly got nill value errors or wrong parameters...

How should I use attachkeyboard()?

I did look in the forum but not actual examples on how to use it...
by Atlas123
Sat Oct 06, 2012 12:45 pm
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

Tried it but same results... (mouse moves from location A to location B but no drag) Just in case here is the code (slightly different action as i do the single action on the relevant screen I need to drag for testing) local windowList = findWindowList("*","TvnWindowClass"); if( ...
by Atlas123
Sat Oct 06, 2012 3:32 am
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

OHHH!... :o I guess putting the window in focus means clicking on the APP window to "focus" on the APP window? ^^|

... Please do not bang your head on the wall... :roll:

I have done that and it will still not drag...
by Atlas123
Fri Oct 05, 2012 12:09 pm
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

I saw the countdown on MM but no drag on the screen...
by Atlas123
Fri Oct 05, 2012 2:39 am
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

I also tried adding with the missing semicolon

Code: Select all

mouseMove (50,0);
by Atlas123
Fri Oct 05, 2012 2:20 am
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

It works a treat 8-) I am crying of happiness :') Another thing... I was trying the click and drag and the closest I got was: local wx, wy, ww, wh = windowRect(getWin()); mouseSet(wx + ww-260, wy+ wh-42); mouseLHold (); yrest (2000); mouseMove (50,0) yrest(2000); mouseLRelease(); It moves from and t...
by Atlas123
Thu Oct 04, 2012 11:47 am
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

How does this work out? I tried: local windowList = findWindowList("*","TvnWindowClass"); if( #windowList == 0 ) then print("You need to run Some App first!"); return 0; end function getWin() if( __WIN == nil ) then __WIN = windowList[1] end return __WIN; end function g...
by Atlas123
Thu Oct 04, 2012 7:06 am
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

And thanks again :) Another thing, as mentioned earlier there would be approch 25 actions for each farming event, if i count the overall possible actions that brings it to approx 35 possible actions. Is it possible for me to have in one place of the script the 35 possible actions, so for example for...
by Atlas123
Thu Oct 04, 2012 4:00 am
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

mouseGetPos() And windowRect(getWin()) I was hoping mousegetpos() would also give me the Width/Height (in the window) for the mouse position (not just X/Y for the screen , hence I was using the print code for windowRect(getWin()). A bit of a Frankenstein I know but I was trying my luck… But I know s...
by Atlas123
Wed Oct 03, 2012 6:03 pm
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

Hello Admi, you are right, the code I used was taken out of context and therefore was missing that, but it is in Lisas code :) Thanks. Hello Lisa, 1/ Some successes: Got to play with cords and making sure they adapted to the window location with ( for example): local wx, wy, ww, wh = windowRect(getW...
by Atlas123
Wed Oct 03, 2012 3:04 am
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

Yes that worked great thank you :) I got the X the Y the width and the height. If i change the location of the window the X/Y changes also (which I guess will not be an issue as the window is attached?) I started looking at the mouse function and I understand that I cannot see actions of the virtual...
by Atlas123
Mon Oct 01, 2012 12:57 pm
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

mmm... did play around with that and searched around but I get:

')' expected near 'wx'
:S
by Atlas123
Sun Sep 30, 2012 4:31 pm
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

Hoookeey... Sorry brains just a bit overloaded lol... So I started to look into cheat engine and the tutorial but still struggling there on how it fits in. I guess that Winspector replaces what I think you where initially suggesting to do with cheat engine. I got the information from Winspector and ...
by Atlas123
Sun Sep 30, 2012 5:00 am
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

well if you can interact with the app with keypresses there is a very good chance you can get MM to do those keypresses for you, obviously since I don't have the setup I won't be to much help with it. The tricky part usually is getting it to attach to the programme, I still haven't been able to att...
by Atlas123
Sun Sep 30, 2012 4:02 am
Forum: Game cheating & modding
Topic: Using micromacro with smartphone app via PC?
Replies: 51
Views: 27171

Re: Using micromacro with smartphone app via PC?

I think it would all come down to how windows interacts with the app, if it is purely showing an image and can't control the app in any way then it probably won't be possible. Hello again, I was trying to find some options but the solutions I have been finding are very manual, this means I tried ma...