AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Autohotkey for Pocket PCs / WinCE
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
animelover



Joined: 04 Feb 2008
Posts: 1
Location: Dresden

PostPosted: Mon Feb 04, 2008 5:52 pm    Post subject: Reply with quote

I'm new to this but the first look is awesome! It would be really great when you release a final version so keep it up your great work!



BTW:
It's better when there are two Script languages, competition animates the business! Wink
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
halweg



Joined: 27 Jan 2005
Posts: 103
Location: Germany, Dresden

PostPosted: Mon Feb 04, 2008 11:13 pm    Post subject: Reply with quote

Hi Micha, I'm happy AHK for PPC gets stronger and stronger.
What about
- Hotkeys
- a Window Spy
I need the window spy to identify all windows and controls for manipulating them by a script. My intention is to use AfP as an input saver while I'm driving.


@Animelover: Welcome in the AHK world. Hope to see you tomorrow Razz
_________________
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Tue Feb 05, 2008 9:21 am    Post subject: Reply with quote

halweg wrote:

I need the window spy to identify all windows and controls for manipulating them by a script.

u cud use controlget etc for that..
_________________
Back to top
View user's profile Send private message
halweg



Joined: 27 Jan 2005
Posts: 103
Location: Germany, Dresden

PostPosted: Tue Feb 05, 2008 9:54 am    Post subject: Reply with quote

Yes, I know about CONTROLGET. But a Window Spy is much more comfortable. May be, I have to code my own PPC WinSpy.
_________________
Back to top
View user's profile Send private message
sergeich



Joined: 11 Jan 2008
Posts: 16
Location: Russia

PostPosted: Tue Feb 05, 2008 12:19 pm    Post subject: Reply with quote

halweg wrote:

But a Window Spy is much more comfortable.


This is my script WinSpy for AHKCE. Information getting from active window.
http://www.zshare.net/download/7218241437a839/
Back to top
View user's profile Send private message
halweg



Joined: 27 Jan 2005
Posts: 103
Location: Germany, Dresden

PostPosted: Tue Feb 05, 2008 3:09 pm    Post subject: Reply with quote

sergeich wrote:
This is my script WinSpy for AHKCE. Information getting from active window.
http://www.zshare.net/download/7218241437a839/

Sorry, I seem to be to stupid to download this file. To much advertising on this website, to short time window for downloading or to restrictive security settings in my browser?
Could you post your script direct here ...
_________________
Back to top
View user's profile Send private message
sergeich



Joined: 11 Jan 2008
Posts: 16
Location: Russia

PostPosted: Tue Feb 05, 2008 3:23 pm    Post subject: Reply with quote

halweg wrote:

Sorry, I seem to be to stupid to download this file. To much advertising on this website, to short time window for downloading or to restrictive security settings in my browser?
Could you post your script direct here ...


See private message
Back to top
View user's profile Send private message
halweg



Joined: 27 Jan 2005
Posts: 103
Location: Germany, Dresden

PostPosted: Tue Feb 05, 2008 4:19 pm    Post subject: Reply with quote

Thanks sergeich Very Happy . Using this script I detected, that allmost all of my PPC applications are controlable by AfP. Even the Today Plugins like Today plus.
The next step should be a stylus-tab-recognition to identfy wich control has wich name.
_________________
Back to top
View user's profile Send private message
Micha



Joined: 15 Nov 2005
Posts: 440
Location: Germany

PostPosted: Wed Feb 06, 2008 9:53 pm    Post subject: Reply with quote

halweg wrote:
Hi Micha, I'm happy AHK for PPC gets stronger and stronger.
What about
- Hotkeys
- a Window Spy
...

Hi halweg:
Hotkeys: just normal keys "a-z" should work (about 60%). AHK is using 2 or 3 functions which does not exist in windows ce. I haven't found functions to transform letters ("B") to the scancode and virtual keys back to the name ("Enter" <-> VK_RETURN). Lower and uppercase are handled different. ... some nasty problems... I have no clue how to deal with this. But it's on the todo-list.

Window spy: The source is closed, so I cannot compile it for WinCE. You just can try some ahk-scripts from that forum.

Ciao
Micha
Back to top
View user's profile Send private message
Micha



Joined: 15 Nov 2005
Posts: 440
Location: Germany

PostPosted: Wed Feb 06, 2008 9:58 pm    Post subject: Reply with quote

There is the wish of a script compiler for WinCE.
I've changed the source I had downloaded from the ahk-website. (same problems with ahk: systemcalls have to be unicode).
But there is a dll which is linked to the executable. That dll must be recompiled too, but I do not have the source of that dll.
The dll is part of autoit. I've written two mails to the webmaster, asking for help, but I haven't got an answer.
Ciao
Micha
Back to top
View user's profile Send private message
halweg



Joined: 27 Jan 2005
Posts: 103
Location: Germany, Dresden

PostPosted: Thu Feb 07, 2008 8:11 am    Post subject: Reply with quote

Hi Micha, the windows spy is not that big problem. I'm using sergeich's script meanwhile.
Concering the hotkeys: why not have an "input detector" that gives me the scancode of any key I press. According the key-history for the desktop this way every user could find out his own key scancodes.
_________________
Back to top
View user's profile Send private message
Micha



Joined: 15 Nov 2005
Posts: 440
Location: Germany

PostPosted: Thu Feb 07, 2008 10:36 am    Post subject: Reply with quote

halweg wrote:
Hi Micha, the windows spy is not that big problem. I'm using sergeich's script meanwhile.
Concering the hotkeys: why not have an "input detector" that gives me the scancode of any key I press. According the key-history for the desktop this way every user could find out his own key scancodes.


Hi halweg,
the problem is:
you are writing a script like
!r :: reload

!r must be translated to the corresponding key with the correct modifiers (ctrl, shift,...). On a PC you can call the api VkKeyScanEx
Quote:
The VkKeyScanEx function translates a character to the corresponding virtual-key code and shift state. The function translates the character using the input language and physical keyboard layout identified by the input locale identifier.

Since the api does not exist, I do not know how to translate the letters you can use in a scrpt. I can use a static map but this is somehow "uncool".
Ciao
Micha
Back to top
View user's profile Send private message
halweg



Joined: 27 Jan 2005
Posts: 103
Location: Germany, Dresden

PostPosted: Thu Feb 07, 2008 11:00 am    Post subject: Reply with quote

I think, any
!r::MSGBOX You pressed ALT-R
Hotkey Labels are not necessary on a PPC.
Considering the different key layouts any
SC23456:: MSGBOX You pressed any key with the internal scan code SC23456
would be helpful enough.
The challenge would be a script, the detects any key press an provides the appropriate scan code for it.
_________________
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Thu Feb 07, 2008 11:06 am    Post subject: Reply with quote

i think uncool will suffice till cool arrives! what say? Wink
_________________
Back to top
View user's profile Send private message
Micha



Joined: 15 Nov 2005
Posts: 440
Location: Germany

PostPosted: Thu Feb 07, 2008 8:49 pm    Post subject: Reply with quote

halweg wrote:
I think, any
!r::MSGBOX You pressed ALT-R
Hotkey Labels are not necessary on a PPC.
Considering the different key layouts any
SC23456:: MSGBOX You pressed any key with the internal scan code SC23456
would be helpful enough.
The challenge would be a script, the detects any key press an provides the appropriate scan code for it.


Hi,
I googled a little bit and found a solution for the hooks (the last version just crashed)
I've just tested:
Code:
send, {LWin Down}{vkc2sc065}{LWin up}

which rotates the screen on the wince emulator. It worked.
You can also click on the autohotkey-icon in the tray and use <ctrl-k> to show the hotkeys pressed.
I'm sure there are still bugs, so be aware of them

You need the AutohotkeyCE17.exe
Ciao
Micha
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 5 of 10

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group