PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Imagio

Notices



Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-05-2009, 03:56 PM
mlevin77's Avatar
Regular 'Geeker
Offline
Pocket PC: Imagio
Carrier: Verizon
 
Join Date: Mar 2007
Posts: 369
Reputation: 20
mlevin77 is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
how to figure out screen positions for Mortscript MouseClick command?

I'm trying to write a MortScript to disconnect the network connection (click on disconnect in the connections manager). What's the best way to find out the coordinates for a particular location in a menu? I eye-balled it relative to the screen resolution (480x800) but in testing it, it doesn't see right at all - the numbers don't seem to correspond to what I would think the coordinates would be. How do people do this besides exhaustive trial & error?

Mike
Reply With Quote
  #2 (permalink)  
Old 11-05-2009, 05:04 PM
mlevin77's Avatar
Regular 'Geeker
Offline
Pocket PC: Imagio
Carrier: Verizon
Threadstarter
 
Join Date: Mar 2007
Posts: 369
Reputation: 20
mlevin77 is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: how to figure out screen positions for Mortscript MouseClick command?

I didn't figure out the coordinates, but with the help of Egoist6 on xda-developers, I did figure out a script to disconnect the data connection:

Run "/Windows/CommManager.exe"
Sleep 1000
SendRightSoft()
Sleep 500
SendLeftSoft()
Reply With Quote
  #3 (permalink)  
Old 11-05-2009, 05:39 PM
digi's Avatar
Regular 'Geeker
Offline
Pocket PC: Incredible
Carrier: Verizon-Alltel
Location: Irmo, SC
 
Join Date: Oct 2007
Posts: 286
Reputation: 240
digi is keeping up the good workdigi is keeping up the good workdigi is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: how to figure out screen positions for Mortscript MouseClick command?

The easiest way to find screenshot coordinates is to take a screenshot of the screen you want to tap, and open it on your PC in MSPAINT. Now just mouse over the spot you want to tap, and in the bottom right of the MSPAINT window, it will show you your mouse coordinates. Hope this helps.
__________________
Incredible - Touch Pro 2 - Imagio - Touch Pro - Touch - PPC6700 - XV6700

Alltel / Verizon
Reply With Quote
This post has been thanked 2 times.
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Imagio

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 11:13 AM.


Powered by vBulletin® ©2000 - 2020, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com