View Single Post
Old 07-18-2018, 10:49 PM   #558
eldon
Member
eldon plays well with otherseldon plays well with otherseldon plays well with otherseldon plays well with otherseldon plays well with otherseldon plays well with otherseldon plays well with otherseldon plays well with otherseldon plays well with otherseldon plays well with otherseldon plays well with others
 
Posts: 12
Karma: 2874
Join Date: Jun 2008
Device: 505
Hi,

I am hoping that someone here can help me with the Monitor Mod on the Max 2. (Monitor_Mod3.apk and onyx-monitor-move-pointer-hack-7a.py)

I have it almost working. I can see that using two fingers for right click is registering the x,y coordinates but when the cursor tries to move python gives me the below error. Any advice on how I should proceed?

I am using Windows 7 and Python 2.7.15. I do not know if it matters but I am using a Macbook with Parallels (Windows 7).

C:\Python27>python 7a.py
07:49:40.418000 | 0 | 1751, 814
07:49:40.418000 | 261 | 1751, 814
07:49:41.350000 | 6 | 1724, 877
07:49:42.147000 | 1 | 2347,1059
07:49:45.885000 | 0 | 1904, 957
Traceback (most recent call last):
File "7a.py", line 232, in <module>
main()
File "7a.py", line 137, in main
mouse.press(x, y) #LMB Down
File "C:\Python27\pymouse\windows.py", line 33, in press
self.move(x, y)
File "C:\Python27\pymouse\windows.py", line 71, in move
windll.user32.SetCursorPos(x, y)
ctypes.ArgumentError: argument 1: <type 'exceptions.TypeError'>: Don't know how
to convert parameter 1

Thanks!

Eldon
eldon is offline   Reply With Quote