[power-pro] Re: Where can I find info on using the autoit.dll: updating autoit.dll

2010-09-09 Thread Derek


--- In power-pro@yahoogroups.com, entropyreduction 
alancampbelllists+ya...@... wrote:

 
 
 --- In power-pro@yahoogroups.com, philipp_l_kiefer philippkiefer@ wrote:
 
  I actually still use it sometimes to send key and mouse combinations as 
  {shift}, {ctrl} and {alt} no longer work with Vista or Win7 and I could 
  never find a native PowerPro substitute. (I tried {fast} and {sinp}.)
 
 For those using autoit plugin:
 
 Interface to latest version of autoit has changed rues: all incoming strings 
 are WCHARS (unicode strings).
 
 
 I can either 
 
   (1) new plugin could convert every powerpro ANSI string 
   to unicode; any scripts now using autoit plugin should work 
   unchanged
   
   (2) new plugin could expect only handles to unicode strings 
   generated by unicode plugin; less wrok for me, but would
   require user to get and master unicode plugin, and change
   existing scripts
 
   (3) new plugin could check for handles to unicode strings;
   if found, process, otherwise assume standard ANSI string and
   convert to unicode.  This is most work for me.
 
 Any preferences?

I would prefer aption 2 as:
 (1)  I dont want you to have to work too hard
 (2)  We users of you (free) efforts shouldnt mind working a bit  ourselvs
My only request would be that the time you saved on just doing option 2 - well 
in that case could you spend a little time including a simple text file with a 
bit of help + example?



[power-pro] Re: Where can I find info on using the autoit.dll: updating autoit.dll

2010-09-09 Thread entropyreduction


--- In power-pro@yahoogroups.com, Derek delwo...@... wrote:
  I can either 
  
(1) new plugin could convert every powerpro ANSI string 
to unicode; any scripts now using autoit plugin should work 
unchanged

(2) new plugin could expect only handles to unicode strings 
generated by unicode plugin; less wrok for me, but would
require user to get and master unicode plugin, and change
existing scripts
  
(3) new plugin could check for handles to unicode strings;
if found, process, otherwise assume standard ANSI string and
convert to unicode.  This is most work for me.

  Any preferences?

 I would prefer aption 2 as:

  (1)  I dont want you to have to work too hard

OTOH keeps me off streets and out of trouble.

  (2)  We users of you (free) efforts shouldnt mind working a bit  ourselvs

Just depends if there's anyone wedded to autoit who doesn;t want to learn yet 
another plugin.

But I suspect anyone far enough gone to know about autoit and be writing pp 
scripts probably not much bothered by how many plugins they use.

 My only request would be that the time you saved on just doing option 2 - 
 well in that case could you spend a little time including a simple text file 
 with a bit of help + example?

Huh.  Though there was an example already in the plugin distro.
Just checked.  There is.  Okay, if that's not enough, how about you make up 
another one, or a more complicated one, and I'll chuck it in with next version.

Docs: for most point automatically generated by Perl script from the autoit 
header file.  I assume from that jumping off point you'd go back to the autoit 
dll docs E.g. AutoItX.chm in 
C:\Program Files\AutoIt3\AutoItX.

Hmm.  Now there's a point (he said having just bothred to read some of 
AutoItX.chm).  In addition to a C/C++ interface,
AutoItX3.dll provides a COM interface to exactly the same functions.
So in principle I could forget updating autoit plugin, and everyone could just 
use the COM interface instead.  What about that?






[power-pro] Re: Where can I find info on using the autoit.dll: updating autoit.dll

2010-09-08 Thread entropyreduction


--- In power-pro@yahoogroups.com, philipp_l_kiefer philippkie...@... wrote:

 I actually still use it sometimes to send key and mouse combinations as 
 {shift}, {ctrl} and {alt} no longer work with Vista or Win7 and I could never 
 find a native PowerPro substitute. (I tried {fast} and {sinp}.)

For those using autoit plugin:

Interface to latest version of autoit has changed rues: all incoming strings 
are WCHARS (unicode strings).


I can either 

  (1) new plugin could convert every powerpro ANSI string 
  to unicode; any scripts now using autoit plugin should work 
  unchanged
  
  (2) new plugin could expect only handles to unicode strings 
  generated by unicode plugin; less wrok for me, but would
  require user to get and master unicode plugin, and change
  existing scripts

  (3) new plugin could check for handles to unicode strings;
  if found, process, otherwise assume standard ANSI string and
  convert to unicode.  This is most work for me.

Any preferences?



 




[power-pro] Re: Where can I find info on using the autoit.dll

2010-09-05 Thread philipp_l_kiefer
I just tried all the possible keysend options to get PowerPro to select text in 
Notepad from the cursor position to the beginning of a line of text, i.e. I 
tried sending {shift}{home}{shift} under Windows 7.

Result: au.send was the only way of doing it successfully.

It seems that the *keys {fast} method is broken as it won't even eat the 
assigned trigger key, i.e. when I assign *keys {shift}{home}{shift} to key a, 
PowerPro sends a instead of the *keys combination. Do you think this might 
mean a chance of fixing it?



--- In power-pro@yahoogroups.com, brucexs bruc...@... wrote:

 
 
  I actually still use it sometimes to send key and mouse combinations as 
  {shift}, {ctrl} and {alt} no longer work with Vista or Win7 and I could 
  never find a native PowerPro substitute. (I tried {fast} and {sinp}.)
 
 
 Have you tried keytrap.  I think it might use a different approach to sending 
 keys, but I am not sure.  Although I guess one plugin is as good as the next.





[power-pro] Re: Where can I find info on using the autoit.dll

2010-09-05 Thread brucexs


--- In power-pro@yahoogroups.com, philipp_l_kiefer philippkie...@... wrote:

 I just tried all the possible keysend options to get PowerPro to select text 
 in Notepad from the cursor position to the beginning of a line of text, i.e. 
 I tried sending {shift}{home}{shift} under Windows 7.
 
 Result: au.send was the only way of doing it successfully.
 
 It seems that the *keys {fast} method is broken as it won't even eat the 
 assigned trigger key, i.e. when I assign *keys {shift}{home}{shift} to key 
 a, PowerPro sends a instead of the *keys combination. Do you think this 
 might mean a chance of fixing it?

Probably not for now.  keys fast does not work in win 7.



J



[power-pro] Re: Where can I find info on using the autoit.dll

2010-09-05 Thread brucexs


--- In power-pro@yahoogroups.com, brucexs bruc...@... wrote:

 
 
 --- In power-pro@yahoogroups.com, philipp_l_kiefer philippkiefer@ wrote:
 
  I just tried all the possible keysend options to get PowerPro to select 
  text in Notepad from the cursor position to the beginning of a line of 
  text, i.e. I tried sending {shift}{home}{shift} under Windows 7.

Did you try +{home}





[power-pro] Re: Where can I find info on using the autoit.dll

2010-09-05 Thread philipp_l_kiefer
Yes, I tried that as well with all the methods and I tried both methods offered 
by the keytrap plugin.

--- In power-pro@yahoogroups.com, brucexs bruc...@... wrote:

 
 
 --- In power-pro@yahoogroups.com, brucexs brucexs@ wrote:
 
  
  
  --- In power-pro@yahoogroups.com, philipp_l_kiefer philippkiefer@ wrote:
  
   I just tried all the possible keysend options to get PowerPro to select 
   text in Notepad from the cursor position to the beginning of a line of 
   text, i.e. I tried sending {shift}{home}{shift} under Windows 7.
 
 Did you try +{home}





[power-pro] Re: Where can I find info on using the autoit.dll

2010-09-03 Thread entropyreduction


--- In power-pro@yahoogroups.com, philipp_l_kiefer philippkie...@... wrote:

 I actually still use it sometimes to send key and mouse combinations as 
 {shift}, {ctrl} and {alt} no longer work with Vista or Win7 and I could never 
 find a native PowerPro substitute. (I tried {fast} and {sinp}.)

Oops, I better update it then to work with relatively recent version of autoit. 





[power-pro] Re: Where can I find info on using the autoit.dll

2010-09-02 Thread Derek


--- In power-pro@yahoogroups.com, entropyreduction 
alancampbelllists+ya...@... wrote:

 
 
 --- In power-pro@yahoogroups.com, Derek delwoode@ wrote:
 
  Can someone supply an example?
 
 There's one in the zip
 
  I want to take a script written in autoit and sort of convert it to be run 
  by power pro, Is that the idea of this dll?
 
 It was written in 2007.  Back then Powerpro scripting wasn't as it is now, 
 this was a way of allowing pp scripts to do stuff that autiit could and pp 
 couldn't.
 
  how would I do it, any tips, 
 
 Probably just translate the script to pp native commands, rather than going 
 via autoit.  Post autoit script if you have problems doing that.
  
  anyone used it?
 
 Not for years.  And it's built on an old version of autoit dll, so some calls 
 out to autoit may fail (if autoit has changed its rules).
 
 If you find things that don;t work and can;t be duplicated in pp, I can 
 regenerate plugin for current autoit dll.
 
 Though not right away.

Thanks for the reply, I didnt realize it was out of date now and you can do 
most of it in powerpro
I have recently translated an auk(autohotkey) script with success so guess I 
will stick to just learning more abt powerpro scripting.
thanks.




[power-pro] Re: Where can I find info on using the autoit.dll

2010-09-02 Thread philipp_l_kiefer
I actually still use it sometimes to send key and mouse combinations as 
{shift}, {ctrl} and {alt} no longer work with Vista or Win7 and I could never 
find a native PowerPro substitute. (I tried {fast} and {sinp}.)

--- In power-pro@yahoogroups.com, Derek delwo...@... wrote:

 
 
 --- In power-pro@yahoogroups.com, entropyreduction 
 alancampbelllists+yahoo@ wrote:
 
  
  
  --- In power-pro@yahoogroups.com, Derek delwoode@ wrote:
  
   Can someone supply an example?
  
  There's one in the zip
  
   I want to take a script written in autoit and sort of convert it to be 
   run by power pro, Is that the idea of this dll?
  
  It was written in 2007.  Back then Powerpro scripting wasn't as it is now, 
  this was a way of allowing pp scripts to do stuff that autiit could and pp 
  couldn't.
  
   how would I do it, any tips, 
  
  Probably just translate the script to pp native commands, rather than going 
  via autoit.  Post autoit script if you have problems doing that.
   
   anyone used it?
  
  Not for years.  And it's built on an old version of autoit dll, so some 
  calls out to autoit may fail (if autoit has changed its rules).
  
  If you find things that don;t work and can;t be duplicated in pp, I can 
  regenerate plugin for current autoit dll.
  
  Though not right away.
 
 Thanks for the reply, I didnt realize it was out of date now and you can do 
 most of it in powerpro
 I have recently translated an auk(autohotkey) script with success so guess I 
 will stick to just learning more abt powerpro scripting.
 thanks.





[power-pro] Re: Where can I find info on using the autoit.dll

2010-09-02 Thread brucexs


 I actually still use it sometimes to send key and mouse combinations as 
 {shift}, {ctrl} and {alt} no longer work with Vista or Win7 and I could never 
 find a native PowerPro substitute. (I tried {fast} and {sinp}.)


Have you tried keytrap.  I think it might use a different approach to sending 
keys, but I am not sure.  Although I guess one plugin is as good as the next.





[power-pro] Re: Where can I find info on using the autoit.dll

2010-09-01 Thread entropyreduction


--- In power-pro@yahoogroups.com, Derek delwo...@... wrote:

 Can someone supply an example?

There's one in the zip

 I want to take a script written in autoit and sort of convert it to be run by 
 power pro, Is that the idea of this dll?

It was written in 2007.  Back then Powerpro scripting wasn't as it is now, this 
was a way of allowing pp scripts to do stuff that autiit could and pp couldn't.

 how would I do it, any tips, 

Probably just translate the script to pp native commands, rather than going via 
autoit.  Post autoit script if you have problems doing that.
 
 anyone used it?

Not for years.  And it's built on an old version of autoit dll, so some calls 
out to autoit may fail (if autoit has changed its rules).

If you find things that don;t work and can;t be duplicated in pp, I can 
regenerate plugin for current autoit dll.

Though not right away.