AutoHotkey Community

It is currently May 26th, 2012, 7:42 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 453 posts ]  Go to page Previous  1 ... 13, 14, 15, 16, 17, 18, 19 ... 31  Next
Author Message
PostPosted: May 4th, 2009, 1:20 pm 
Offline

Joined: May 3rd, 2009, 1:50 pm
Posts: 2
Location: Germany
Thx for the quick reply.

Micha wrote:
masterblaster wrote:
Do I need these reg entries in my wm device (I did made a *.reg file out of the code content but under wm6 it could not be run)?

Hi masterblaster,
If you want to click an ahk file the OS must know the coresponding exe to launch with that file. If you do not have the connection the OS complains after clicking an ahk file that it does not know how to run that kind of file.
To create a reg file you cannot just copy the commands. The AHK syntax is different from the reg file syntax. The second problem with a reg file is that the pathes inside are static. If you move the exe to another place and rerun the reg file it does not work. Sergeichs script is working regardless of the location of the exe.

You mean I should copy the content to the autohotkeyce.ahk?

Quote:
I've tested V25 with an emulator and my PNA and it's working fine.
I've changed the script in V26 to execute the registration as first command. Please redownload V26 and try again. Download the zip file. Extract all 3 files inside and copy them in one folder of your device. Then run the exe.
Ciao
Micha


The error stays persistent :(
Info: I am running WM 6 Prof.
Is there a chance to get it running another way?


Report this post
Top
 Profile  
Reply with quote  
PostPosted: May 5th, 2009, 7:40 pm 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
masterblaster wrote:
Thx for the quick reply.
You mean I should copy the content to the autohotkeyce.ahk?
...
The error stays persistent :(
Info: I am running WM 6 Prof.
Is there a chance to get it running another way?

Hi,

Quote:
I've changed the script in V26 to execute the registration as first command. Please redownload V26 and try again. Download the zip file. Extract all 3 files inside and copy them in one folder of your device. Then run the exe.

You do not need to copy any content, just download, extract the files, copy them to the device and run the exe.
I can't test WM 6 prof because I do not own such a device and I haven't googled for an emulator. It's running on WM 5 so it should run on v6, too.
Please send me a pm with the problems
Ciao
Micha


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 6th, 2009, 9:56 pm 
Offline
User avatar

Joined: May 5th, 2007, 7:24 pm
Posts: 1240
Location: Seville, Spain
Hi Micha,
After doing some research, I found out that the Windows CE 5.0 SDK (what you're using, I think) also works with the SP4 of Microsoft's eMbedded Visual C++ 4.0 program, all freely available, so after all I might be able to help you ;)

EDIT: I tried to install it but it didn't work :cry:
EDIT2: I'm now downloading the *real* Windows Mobile 5.0 SDK, and try if I can hack it to work under my VC++ 2008 Express...

EDIT3: I'm going to log what I'm doing here.

1. I've succesfully extracted all files from the installer. I'm now attempting to figure out where to put them.

_________________
fincs
Highly recommended: AutoHotkey_L (see why) (all my code snippets require it)
Formal request to polyethene - I support the unity of the AutoHotkey community
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)
[My project list]


Last edited by fincs on May 7th, 2009, 7:13 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
PostPosted: May 7th, 2009, 7:07 pm 
Offline

Joined: May 19th, 2006, 5:09 pm
Posts: 2
I'm using a PPC program called OziCE.
I figured out by trail and error the position of some file items.

How can I get the screen position of the Ok button on some screen of that application?

I searched for a the spy, but could not find it. If says there is no AU3_Spy.exe on the storagecard.

Please help.

Perhaps there is a little script to retrieve a position or to show the controls on the current screen.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: May 7th, 2009, 8:48 pm 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
Hi dhmc,
the ahk_spy is not working because it's a win32 exe and does not run with wince.
You can search the forum for a spy script.
I have tried http://www.autohotkey.com/forum/viewtop ... ht=win+spy
but it's not working yet.
At this stage of the project I don't have a ready solution for you
Sorry
Micha


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 7th, 2009, 8:51 pm 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
Hi fincs,
good luck. Every help is welcome!
Ciao
Micha

We are now 3 people who are working at that project. I'm creating a todo-list for us at the weekend to prevent that 2 people are working on the same problem.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: May 8th, 2009, 10:23 am 
Offline

Joined: April 23rd, 2009, 9:48 am
Posts: 4
Hi,

I did something similar recently and I did it like this...

I use http://www.microsoft.com/downloads/details.aspx?FamilyID=74473fd6-1dcc-47aa-ab28-6a2b006edfe9&displaylang=en (and sometimes http://www.mymobiler.com - but this only works with WM5/6) to get the view on my desktop.

then I use autoit3 window spy to get the xy of the active window. this is then offset by about 7 pixels accross & 45 down (using ActiveSync Remote Display) which is done for me by spreadsheet where I enter my xy coords.

Hope this helps.

Barry

dhmc wrote:
I'm using a PPC program called OziCE.
I figured out by trail and error the position of some file items.

How can I get the screen position of the Ok button on some screen of that application?

I searched for a the spy, but could not find it. If says there is no AU3_Spy.exe on the storagecard.

Please help.

Perhaps there is a little script to retrieve a position or to show the controls on the current screen.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 8th, 2009, 10:25 am 
Offline

Joined: April 23rd, 2009, 9:48 am
Posts: 4
Hi,

I have evc4, it would be nice to have it on that too.


Barry

fincs wrote:
Hi Micha,
After doing some research, I found out that the Windows CE 5.0 SDK (what you're using, I think) also works with the SP4 of Microsoft's eMbedded Visual C++ 4.0 program, all freely available, so after all I might be able to help you ;)

EDIT: I tried to install it but it didn't work :cry:
EDIT2: I'm now downloading the *real* Windows Mobile 5.0 SDK, and try if I can hack it to work under my VC++ 2008 Express...

EDIT3: I'm going to log what I'm doing here.

1. I've succesfully extracted all files from the installer. I'm now attempting to figure out where to put them.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: May 8th, 2009, 1:55 pm 
Offline

Joined: May 19th, 2006, 5:09 pm
Posts: 2
My HP IPAQ RX5940 Travel Companion had two keys on the front: Start menu button and Ok button. These are hardware buttons.
The IPAQ has Windows Mobile 5.

These are two buttons one can push with the hand. The Start menu button has the Windows logo and the Ok button has a "x" painted above it.

I want to assign a Autohotkey script to one of these buttons.

I tried the #:: and *#:: but in both cases the Windows Start menu is displayed and the script is not run. I see that the script is waiting because of the green H on my PPC desktop

Questions:
1) Which command should I give to get the Autohotkey respond to one of these keys?
2) Is there a way to find out which keys they are assigned to?


Report this post
Top
 Profile  
Reply with quote  
PostPosted: May 11th, 2009, 12:53 pm 
LWin:: does the trick.

I first tried #:: and this doesn't work.


Report this post
Top
  
Reply with quote  
PostPosted: May 11th, 2009, 5:01 pm 
Offline

Joined: April 23rd, 2009, 9:48 am
Posts: 4
Hi dhmc,

I had a quick look at this and if you get this app on your device, then note down the code/codes (note it might be a combo of button actions triggered on a key)
http://www.pocketdos.com/Misc/ShowKeyCodes.zip

Then compare these values with what is in winuser.h and create you hotkey script line using the code/codes (so for 0x84 in the ShowKeyCodes, you are looking at VK_F21 in winuser.h and that means using the following in the script 'F21::MsgBox,F21')

Hope this helps,

Barry


dhmc wrote:
My HP IPAQ RX5940 Travel Companion had two keys on the front: Start menu button and Ok button. These are hardware buttons.
The IPAQ has Windows Mobile 5.

These are two buttons one can push with the hand. The Start menu button has the Windows logo and the Ok button has a "x" painted above it.

I want to assign a Autohotkey script to one of these buttons.

I tried the #:: and *#:: but in both cases the Windows Start menu is displayed and the script is not run. I see that the script is waiting because of the green H on my PPC desktop

Questions:
1) Which command should I give to get the Autohotkey respond to one of these keys?
2) Is there a way to find out which keys they are assigned to?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 11th, 2009, 9:18 pm 
Offline
User avatar

Joined: May 5th, 2007, 7:24 pm
Posts: 1240
Location: Seville, Spain
I think I could program some sort of embedded filesystem in the EXE file for compiled scripts... I'm not sure though, I'll try, the problem is that I've not yet managed to get a working WinCE development environment on my computer :(

_________________
fincs
Highly recommended: AutoHotkey_L (see why) (all my code snippets require it)
Formal request to polyethene - I support the unity of the AutoHotkey community
Get SciTE4AutoHotkey v3.0.00 (Release Candidate)
[My project list]


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2009, 4:22 am 
Offline

Joined: May 12th, 2009, 4:13 am
Posts: 7
Hi Micha,

Thank for this program to unleash the power of pocket pc. But I found that the last few versions seem to break the call of WinGetClass that was working on version 21.

Can you have a look at that? Many thanks


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 16th, 2009, 9:16 pm 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
New version available.
Created html page (better to maintain)
Created an installer
If you download the source you can build win32 and pocketpc versions. So the original code is at least not compleatly ruined.
Ciao
Micha


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 16th, 2009, 9:28 pm 
Offline

Joined: November 15th, 2005, 11:15 am
Posts: 537
Location: Germany
fincs wrote:
I think I could program some sort of embedded filesystem in the EXE file for compiled scripts... I'm not sure though, I'll try, the problem is that I've not yet managed to get a working WinCE development environment on my computer :(

Hi fincs,
good luck to get this working in your development studio. Barry created a solution file for visual studio 2005. If you can manage to make this run on your compiler I can put the needed project files in the source code package. But I can only maintain the vstudio 2008 files.
I have changed a lot of things recently. If I'm changing settings in the future I will leave a note so you can maintain your files.

compiled scripts: Really cool if you can do that. To stay as close to Chris sources as possible I would prefer to use a class with the functions of the file exearc_read.h.

Thanks
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 ... 13, 14, 15, 16, 17, 18, 19 ... 31  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: bobbysoon, Xx7 and 11 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