 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Rajat
Joined: 28 Mar 2004 Posts: 1717
|
Posted: Thu Feb 07, 2008 9:52 pm Post subject: |
|
|
Thank You! _________________
 |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1717
|
Posted: Thu Feb 07, 2008 10:09 pm Post subject: |
|
|
i wasn't able to get hotkeys to work.. i tried opening the ahk window and pressed ctrl+k on the software keybd.. nothing.
i added this to script:
^m::msgbox, something
ctrl+m gets me nothing either... what's wrong?
thanks _________________
 |
|
| Back to top |
|
 |
Micha
Joined: 15 Nov 2005 Posts: 433 Location: Germany
|
Posted: Fri Feb 08, 2008 12:34 am Post subject: |
|
|
Hi Rajat,
I've (re)downloaded my uploaded version 17 and it worked with the emulator.
| Code: | ^m::MsgBox,pressed
return |
Are you sure that you have the latest version?
Ciao
Micha |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1717
|
Posted: Fri Feb 08, 2008 12:42 am Post subject: |
|
|
Micha,
yes, just dbl checked. not working on WM5
also one more thing... i made a script with a non-ending loop but as soon as a call comes in (and i press the green phone button) the script always exits.
regards,
Rajat _________________
 |
|
| Back to top |
|
 |
halweg
Joined: 27 Jan 2005 Posts: 102 Location: Germany, Dresden
|
Posted: Fri Feb 08, 2008 10:08 am Post subject: |
|
|
Hi Micha, it works if I use my hardware keyboard (I tried TAB and any letter) .
I think "hotkeys" means any hardware input, not software keyboard.
Other input methods should be realized via GUI.
Now it comes to the device depended Hardware keys. Inside the operating system they have numbers like 40C1, 40C2, ...(see Registry, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Keys).
Btw: I have a MDA III (= HTC 9090, = HTC Blue Angel), WM2003SE, Phone Edition. _________________
 |
|
| Back to top |
|
 |
Micha
Joined: 15 Nov 2005 Posts: 433 Location: Germany
|
Posted: Fri Feb 08, 2008 11:48 am Post subject: |
|
|
Hi,
have you used
#InstallKeybdHook
at the beginning of your script?
Rajat: crashing in loop: Do you have a script for me to reproduce the error?
Ciao
Micha |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1717
|
Posted: Fri Feb 08, 2008 12:16 pm Post subject: |
|
|
I was making a simple script that'd make the device vibrate about 10 sec before every pulse.
But this script exits as soon as a call comes in (or when i press the attend call button). I can't tell exactly as when the call comes in, the system tray isn't visible.
| Code: | Loop
{
Sleep, 800
ControlGetText, TLeft, MS_PHONE_ELAPSEDTIME1, Phone
StringRight, chk, TLeft, 2
IfEqual, chk, 50
Run, %A_ScriptDir%\vibrate.mscr
} |
Also, I'd really like if SoundBeep would do a phone vibrate on WinCE.
Thanks _________________
 |
|
| Back to top |
|
 |
halweg
Joined: 27 Jan 2005 Posts: 102 Location: Germany, Dresden
|
Posted: Fri Feb 08, 2008 12:17 pm Post subject: |
|
|
I didn't use #INSTALLKEYBDHOOK since I have a hotkey label inside the script.
The HOTKEY-Script | Code: | | a::MSGBOX You pressed %A_THISHOTKEY% key | stays active even during incoming phone calls. It works fine when triggered from my mini keyboard. _________________
 |
|
| Back to top |
|
 |
Micha
Joined: 15 Nov 2005 Posts: 433 Location: Germany
|
Posted: Fri Feb 08, 2008 1:35 pm Post subject: |
|
|
| halweg wrote: | Hi Micha, it works if I use my hardware keyboard (I tried TAB and any letter) .
I think "hotkeys" means any hardware input, not software keyboard.
Other input methods should be realized via GUI.
Now it comes to the device depended Hardware keys. Inside the operating system they have numbers like 40C1, 40C2, ...(see Registry, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Keys).
Btw: I have a MDA III (= HTC 9090, = HTC Blue Angel), WM2003SE, Phone Edition. |
Hi,
well I have no idea how to do this. Perhaps real wince programmers´could help here.
My pna does not have these registry keys
Ciao
Micha |
|
| Back to top |
|
 |
Micha
Joined: 15 Nov 2005 Posts: 433 Location: Germany
|
Posted: Fri Feb 08, 2008 1:41 pm Post subject: |
|
|
| Rajat wrote: | Also, I'd really like if SoundBeep would do a phone vibrate on WinCE.
Thanks |
I need help from a wince / pocketpc programmer. I know nothing about pocketpc programming.
My aim was just to port ahk, but I didn't know that I have to change so much code. I'm busy with that job and I think I will not implement compleatly new features.
The source is downloadable, so I will leave that job to real pocketpc-programmers.
sorry
micha |
|
| Back to top |
|
 |
halweg
Joined: 27 Jan 2005 Posts: 102 Location: Germany, Dresden
|
Posted: Fri Feb 08, 2008 2:00 pm Post subject: |
|
|
| Micha wrote: | | My pna does not have these registry keys |
Every PPC has some special hardware function keys (like "Calendar" "Contacts" etc.).
As far as I remeber they have even equivalent number codes (40C1, 40C2, ...in order of device layout).
Since modifiers like +a works, the task would be to remap these function keys to keyboard keys like ^d or !h. From the postion of a PPC system insider this should be easy.
Or do we have any input command working inside AHK? _________________
 |
|
| Back to top |
|
 |
Micha
Joined: 15 Nov 2005 Posts: 433 Location: Germany
|
Posted: Fri Feb 08, 2008 9:42 pm Post subject: |
|
|
Corrected
GuiControl,, var, text
for listboxes.
Terminating null was missed, so listview contained old values |
|
| Back to top |
|
 |
sergeich
Joined: 11 Jan 2008 Posts: 16 Location: Russia
|
Posted: Fri Feb 08, 2008 10:16 pm Post subject: |
|
|
| Thank you, Micha! v18 ok! |
|
| Back to top |
|
 |
Rhys
Joined: 17 Apr 2007 Posts: 707 Location: Florida
|
Posted: Fri Feb 08, 2008 10:30 pm Post subject: |
|
|
Micha, I've been following your progress and am very impressed - If you're looking for help from a WinMobile expert, you may find one at www.aximsite.com - I used to frequent that forum a lot back in the day. _________________ [Join IRC!]
 |
|
| Back to top |
|
 |
sergeich
Joined: 11 Jan 2008 Posts: 16 Location: Russia
|
Posted: Sat Feb 09, 2008 3:52 pm Post subject: |
|
|
Script AutohotkeyCE.ahk for associate AHK-Files with AutohotkeyCE.exe and wish icon
| Code: | RegWrite, REG_SZ, HKEY_CLASSES_ROOT, .ahk, , AutoHotkeyScript
RegWrite, REG_SZ, HKEY_CLASSES_ROOT, AutoHotkeyScript, , AutoHotkey Script
RegWrite, REG_SZ, HKEY_CLASSES_ROOT, AutoHotkeyScript\Shell\Open\Command, , "%A_AhkPath%" "`%1"
RegWrite, REG_SZ, HKEY_CLASSES_ROOT, AutoHotkeyScript\DefaultIcon, , %A_AhkPath%`,`-160
|
|
|
| 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
|