AutoHotkey Community

It is currently May 25th, 2012, 11:38 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 453 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 31  Next
Author Message
 Post subject:
PostPosted: February 4th, 2008, 6:52 pm 
Offline

Joined: February 4th, 2008, 6:43 pm
Posts: 1
Location: Dresden
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! ;)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 5th, 2008, 12:13 am 
Offline

Joined: January 27th, 2005, 3:28 pm
Posts: 120
Location: Germany, Dresden
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 :P

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 5th, 2008, 10:21 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
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..

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 5th, 2008, 10:54 am 
Offline

Joined: January 27th, 2005, 3:28 pm
Posts: 120
Location: Germany, Dresden
Yes, I know about CONTROLGET. But a Window Spy is much more comfortable. May be, I have to code my own PPC WinSpy.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 5th, 2008, 1:19 pm 
Offline

Joined: January 11th, 2008, 7:42 pm
Posts: 20
Location: Russia
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/


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 5th, 2008, 4:09 pm 
Offline

Joined: January 27th, 2005, 3:28 pm
Posts: 120
Location: Germany, Dresden
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 ...

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 5th, 2008, 4:23 pm 
Offline

Joined: January 11th, 2008, 7:42 pm
Posts: 20
Location: Russia
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 5th, 2008, 5:19 pm 
Offline

Joined: January 27th, 2005, 3:28 pm
Posts: 120
Location: Germany, Dresden
Thanks sergeich :D . 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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 6th, 2008, 10:53 pm 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 6th, 2008, 10:58 pm 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2008, 9:11 am 
Offline

Joined: January 27th, 2005, 3:28 pm
Posts: 120
Location: Germany, Dresden
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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2008, 11:36 am 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2008, 12:00 pm 
Offline

Joined: January 27th, 2005, 3:28 pm
Posts: 120
Location: Germany, Dresden
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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2008, 12:06 pm 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1870
i think uncool will suffice till cool arrives! what say? ;)

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2008, 9:49 pm 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
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


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 453 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 31  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: infogulch, Opal Monkey, tidbit and 10 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group