 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
TLM
Joined: 21 Aug 2006 Posts: 2926 Location: The Shell
|
Posted: Wed Jun 10, 2009 10:21 am Post subject: |
|
|
| Anonymous wrote: | | Quote: | Sooo anyone know if ahk mobile will work with WM 6.1?
Please let me know b4 I drop $600 on the phone.
Thnx |
No promises it will work on *your* device - but I have used it on a WM6 Classic device so the odds are very good indeed.
Barry |
Ahh ok thanks. I've never owned a device with WM on it so I was not sure at all. Sorry if the question seemed stupid..
1 week to go until purchase  _________________
paradigm.shift:=(•_•)┌П┐RTFM||^.*∞ |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Jun 10, 2009 7:31 pm Post subject: |
|
|
Sorry for my tone, I am used to stuff not working on differnt devices. I develop for mobile devices. Are you a programmer?
Barry |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Jun 11, 2009 6:49 am Post subject: |
|
|
| It works on HTC diamond and ASUS P535, but don't buy devices without touch screen which doesn't support loads of S/W |
|
| Back to top |
|
 |
Micha
Joined: 15 Nov 2005 Posts: 537 Location: Germany
|
|
| Back to top |
|
 |
mic2009
Joined: 12 May 2009 Posts: 7
|
Posted: Fri Jul 17, 2009 8:09 am Post subject: |
|
|
Hi Micha,
I have an ahk appl to remap the phone key of my PDA phone, it works for the old version 20(I am not sure). But with your newest version, it seems to be no longer to work anymore.
details:
first, I have a simple native appl to unmap the VK72 key by using UnregisterFunc1 api
then, an ahk appl is used to assign the new function for this key, it's like:
vk72:
if ....
return |
|
| Back to top |
|
 |
selyb
Joined: 20 Jul 2007 Posts: 15
|
Posted: Sat Jul 18, 2009 4:29 pm Post subject: |
|
|
could you post an example script?
I tried | Code: | #InstallMouseHook
LButton::
my code here
return | but this doesn't seem to capture screen taps
i tried this with the current v29
also, how can I show what keys were pressed? like on pc version, I can right click on the tray icon and go to key history and script info but I didn't see this option on ce version  |
|
| Back to top |
|
 |
Micha
Joined: 15 Nov 2005 Posts: 537 Location: Germany
|
Posted: Sun Jul 19, 2009 9:15 am Post subject: |
|
|
Hi selyb, mic2009
LButton is still untested. Mousehook is also not working yet.
To capture mouse clicks, you can use
| Code: |
_wm_LeftButtonDown()
{
Gui, Add, Button , gTestClick, Clickit
Gui, Show, , WindowTitle
OnMessage(0x201, "WM_LBUTTONDOWN")
}
WM_LBUTTONDOWN(wParam, lParam)
{
Tooltip, %wParam% - %lParam%
X := lParam & 0xFFFF
Y := lParam >> 16
if A_GuiControl
Control := "`n(in control " . A_GuiControl . ")"
MsgBox You left-clicked in Gui window #%A_Gui% at client coordinates %X%x%Y%.%Control%
}
|
You can rotate the screen by sending the keys:
| Code: |
_RotateScreenWithSend()
{
send, {LWin Down}{vkc2sc065}{LWin up}
msgbox,
send, {LWin Down}{vkc2sc065}{LWin up}
}
|
mic2009:
Have you tried
vk72:
or
vk72::
?
the script
| Code: | a::
MsgBox, a pressed
return |
is working...
Ciao
Micha |
|
| Back to top |
|
 |
Micha
Joined: 15 Nov 2005 Posts: 537 Location: Germany
|
|
| Back to top |
|
 |
mic2009
Joined: 12 May 2009 Posts: 7
|
Posted: Tue Jul 28, 2009 11:03 am Post subject: |
|
|
Hi Micha, I have a script that enable the arrow key functioning differently by detecting the current appl as shown below. This script works on your earlier version, but does not seem to work on your latest version. Can you have a look at it? Many thanks
$VK26::
wingettitle, title, ahk_id %id%
wingetclass, classname , ahk_id %id%
if ( title = "reader" ) and (classname = "abc")
{
; work differently
.....
}
else
{
; other appl work as a normal key
send {vk26}
}
return |
|
| Back to top |
|
 |
Futurity
Joined: 13 Feb 2007 Posts: 21
|
Posted: Fri Aug 07, 2009 4:10 pm Post subject: |
|
|
Micha, Thanks for great program!
PixelGetColor and Click are working properly only for 320x240 resolution.
On my device 640x 480 for pixel 0,0 the color is right, but for pixel 1x1 it is wrong. It seems that pixel 1x1 is actual 2x2, and the color is take from pixel 2x2, even though I wanted 1x1.
Same principle can be observed for Click.
Click 1,1 actually clicks 2,2 |
|
| Back to top |
|
 |
Guest
|
Posted: Sat Aug 08, 2009 5:40 pm Post subject: |
|
|
RegWrite,REG_MULTI_SZ,HKLM,System\Kernel,InjectDLL,\Program Files\MarkBull\NoMobile\NoMobile.dll
Did not respond  |
|
| Back to top |
|
 |
Nom1 Guest
|
Posted: Mon Aug 10, 2009 1:59 am Post subject: |
|
|
Glad to see this port available, I have to start supporting WM devices next week for our company and try to integrate them into our existing software base. I can handle the vb to integrate our unique apps but have AHK available will make the transition much faster.
It sure beats the heck out of constant compiles and uploads. |
|
| Back to top |
|
 |
Futurity
Joined: 13 Feb 2007 Posts: 21
|
Posted: Tue Aug 11, 2009 4:24 pm Post subject: |
|
|
| Futurity wrote: | Micha, Thanks for great program!
PixelGetColor and Click are working properly only for 320x240 resolution.
On my device 640x 480 for pixel 0,0 the color is right, but for pixel 1x1 it is wrong. It seems that pixel 1x1 is actual 2x2, and the color is take from pixel 2x2, even though I wanted 1x1.
Same principle can be observed for Click.
Click 1,1 actually clicks 2,2 |
I made some more testing.
I used WinGetPos to get the windows position and size:
Here are the results:
Actual resolution of 800x480 is shown as 400x240 - FAIL
Actual resolution of 640x480 is shown as 320x240 - FAIL
Actual resolution of 400x240 is shown as 400x240 - PASS |
|
| Back to top |
|
 |
Micha as guest Guest
|
Posted: Fri Aug 14, 2009 5:23 am Post subject: |
|
|
Hi,
thanks for reporting.
I'll have a look at it the next free time I have available
Ciao
Micha |
|
| Back to top |
|
 |
DeWild1
Joined: 30 Apr 2006 Posts: 358 Location: Shigle Springs
|
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|