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 ... 19, 20, 21
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
First Toy Lab



Joined: 15 Nov 2009
Posts: 21
Location: London, UK

PostPosted: Mon Nov 16, 2009 8:12 pm    Post subject: Reply with quote

THAT'S WHAT I CALL A EXQUISITE PROGRAMMER!

This project is marvelous!

Well done Micha.
_________________


http://www.autohotkey.net/~FirstToyLab/
Back to top
View user's profile Send private message MSN Messenger
woj
Guest





PostPosted: Tue Nov 17, 2009 11:29 am    Post subject: Reply with quote

Here is my script for importing certificates. There are two CA's and one user's with private key. Sometimes it runs properly and sometimes hangs on WinWaitActive (the WinActivate was not enough)... What is kind of strange - the script usually hangs on WinWaitActive,Import?
Code:
Send {LWin}
Sleep,1000
Send s
Sleep,1000
Send c
Sleep,1000
Send c
Sleep,1000
Send {Enter}

WinActivate,Certificates
WinWaitActive,Certificates
Send !i
WinActivate,Import
WinWaitActive,Import
Send {Enter}
WinActivate,Select
WinWaitActive,Select
Send {ASC 92}storage card{ASC 92}dtm.cer
Send {Enter}
Sleep,1000
IfWinActive,Root
{
Send {Enter}
}

WinActivate,Certificates
WinWaitActive,Certificates
Send !i
;;Sleep,1000
WinActivate,Import
WinWaitActive,Import
Send {Enter}
;;Sleep,1000
WinActivate,Select
WinWaitActive,Select
Send {ASC 92}storage card{ASC 92}fiddler.cer
Send {Enter}
Sleep,1000
IfWinActive,Root
{
Send {Enter}
}

WinActivate,Certificates
WinWaitActive,Certificates
Send m
Sleep,500
WinActivate,Certificates
WinWaitActive,Certificates
Send !i
;;Sleep,1000
WinActivate,Import
WinWaitActive,Import
Send {Enter}
;;Sleep,1000
WinActivate,Select
WinWaitActive,Select
Send {ASC 92}storage card{ASC 92}usr.cer
Send {Enter}

WinActivate,Certificates
WinWaitActive,Certificates
Send !i
;;Sleep,1000
WinActivate,Import
WinWaitActive,Import
Send {Enter}
;;Sleep,1000
WinActivate,Select
WinWaitActive,Select
Send !tp!n{ASC 92}storage card{ASC 92}usr.pvk
Send {Enter}

WinActivate,Certificates
WinWaitActive,Certificates
Send {Esc}
Back to top
woj
Guest





PostPosted: Tue Nov 17, 2009 11:32 am    Post subject: Reply with quote

I forgot to add - the script does not resume when I activate the import dialog, event when the old one is closed and the new one is brought up.
Back to top
woj
Guest





PostPosted: Tue Dec 01, 2009 10:20 am    Post subject: Reply with quote

It looks like there is really something wrong with WinWaitActive.
I think the line
Code:
048: WinWaitActive,Root,1 (159.99)

should never be reported in the script log...

[Deleted double post. ~jaco0646]
Back to top
wooly_sammoth



Joined: 12 May 2009
Posts: 204
Location: Gloucester UK

PostPosted: Fri Dec 11, 2009 1:30 pm    Post subject: Reply with quote

Morning All,

Does anyone know how to invoke the software keyboard using AHKCE? I have a couple of GUI's which will show the keyboard if it is present before they are started but won't if it wasnt.



Also I thought I'd share my work-around for displaying a progress bar using AHKCE

First I create a GUI containing a progress bar of zero length (I like to have no title bar and extra border)
Code:
Gui, -0xC00000
Gui, +0x800000
Gui, Add, Text, w200 Center, Scanning Data
Gui, Add, Progress, w0 vData, 0
Gui, Show, w210, Data
Return


Then at any pont during the script that I wish to advance the progress bar I use ControlMove like so:

Code:
ControlMove, msctls_progress321, , , 20, , Data
(the number in red is the new length of the bar)

I hope that's of use to someone


edit: wow, my eleventy-first post
Back to top
View user's profile Send private message
thewer



Joined: 12 Feb 2008
Posts: 12
Location: Munich, Germany

PostPosted: Tue Jan 12, 2010 9:10 am    Post subject: Reply with quote

First of all -
thanks a lot for your great work.

I'd just like to ask if anyone else is experiencing problems with 'iniRead'?

So I installed the latest version (which should support it I think) and couldn't get it working on my PPC.
Well - I'm using WM2003, so could this the problem?
AHK works there in general, the script also runs fine on the Desktop PC, but on my PDA the variables return empty if reading the ini-file.

Another question would be, if some of you have tried skinned GUIs with AHK-CE, so e.g. buttons using images or text on images (there was a thread with a link mentioning that Backgroundtrans makes the whole window transparent, not just its control. Unfortunately there wasn't a really simple solution so far and my workaround is terrible).

Any help/comments would be great -

thanks again for the port!

Cheers,
thewer
Back to top
View user's profile Send private message Visit poster's website
Moebius



Joined: 09 Mar 2009
Posts: 17

PostPosted: Fri Jan 22, 2010 12:14 am    Post subject: Reply with quote

1000 thanks for AHK-CE, great work!
(I'm only missing a window-spy like script)
_________________
http://monschein.org
Back to top
View user's profile Send private message
mic2009



Joined: 12 May 2009
Posts: 5

PostPosted: Fri Jan 29, 2010 11:48 am    Post subject: Reply with quote

Hi Micha,

I found that ControlGetFocus doesn't work. after googling, I seem to find a solution in http://www.smartphonedn.com/qa/getfocusip.html. It would be great if you can integrate into the ahk exe. Question
Back to top
View user's profile Send private message
thewer



Joined: 12 Feb 2008
Posts: 12
Location: Munich, Germany

PostPosted: Wed Feb 03, 2010 2:20 am    Post subject: Reply with quote

Hi there -

just found another problem I would be happy if someone knows a solution for:
I want to replace the existing text/label of (alltogether Cool text controls.
So within a loop I normally would do

GuiControl,, MyTextControl, NewText or
GuiControl,Text , MyTextControl, NewText

However on my device this leads to the new text written above the old one.
What seems to miss is a kind of redrawing of the control:
If I hide the controls and show them again, the old text has vanished.
However this isn't really a solution as it makes the whole process very slow...
So when looping over only 8 controls, it takes 1-2 seconds to refresh the contents. Unfortunately I need them to be rather responsive as they"re updated quite often (kinf of context buttons).

Another question - probably rather advonced - how do I get rid of the tap and hold gesture? Sorry, I'm aware it was sure difficult to implement, but in my case it's rather annoying (I'm trying kind of mouse gestures).

Thanks a lot for help -

und nochmals: Ein Superprojekt, Micha! Smile
Back to top
View user's profile Send private message Visit poster's website
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 ... 19, 20, 21
Page 21 of 21

 
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