 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
engunneer
Joined: 30 Aug 2005 Posts: 6847 Location: Pacific Northwest, US
|
Posted: Sat Jun 30, 2007 4:56 am Post subject: |
|
|
I would usually call them taskbar buttons. I will have to think about how to tell what window it is. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
azure
Joined: 07 Jun 2007 Posts: 297
|
Posted: Thu Jul 05, 2007 5:59 am Post subject: |
|
|
also hotkeys dont work accurately
isnt there a solution to make what ahk does but in an OS-level? |
|
| Back to top |
|
 |
Grumpy Guest
|
Posted: Thu Jul 05, 2007 10:41 am Post subject: |
|
|
| If you are able to do better than Chris in low level Windows programming, we would love that you share your knowledge, Chris would surely integrate any improvement you could suggest! (if effective) |
|
| Back to top |
|
 |
azure
Joined: 07 Jun 2007 Posts: 297
|
Posted: Thu Jul 05, 2007 11:27 am Post subject: |
|
|
the problem is "low level windows programming" isnt sufficient, "OS-level" would be robust and stable and fully-featured
but since windowsXP isnt open source, I doubt it can happen |
|
| Back to top |
|
 |
Grumpy Guest
|
Posted: Thu Jul 05, 2007 12:55 pm Post subject: |
|
|
Uh?
Explain me the difference between Windows-level and OS-level when the OS is made by Microsoft...
If you mean the features must be integrated to Windows, they are already (or else, it wouldn't be possible), but they can be incomplete or buggy... |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 2737 Location: Australia, Qld
|
Posted: Mon Jul 09, 2007 4:01 am Post subject: |
|
|
| azure wrote: | | also hotkeys dont work accurately | Which hotkeys, and inaccurately how?
If you mean keyboard simulation, I imagine any limitations (such as DirectX support/support for games) could be overcome by implementing a virtual keyboard driver. However, that would most likely require someone with sufficient C/C++ (and driver development) knowledge and access to the Windows DDK (Driver Development Kit).
Some (few) aspects of hotkey detection might be more reliable if implemented at the driver-level, but I think that would require replacing your current keyboard driver (which would not be an option for some keyboards.)
All in all, I rarely encounter limitations of AutoHotkeys ability to intercept hotkeys/simulate keypresses. Even then, workarounds are usually available. |
|
| Back to top |
|
 |
azure
Joined: 07 Jun 2007 Posts: 297
|
Posted: Tue Jul 10, 2007 11:03 am Post subject: |
|
|
| Grumpy wrote: | Uh?
Explain me the difference between Windows-level and OS-level when the OS is made by Microsoft...
|
I didnt say Windows-level, I said low-level-programming (for Windows)
the difference is that to do something in an OS-level, you dont script, you change the OS from inside to make it perform the way you want, you dont just trick it
ahk is tricks
it tricks the winxp to do what you want, it doesnt change it
thats why it is not robust, solid, accurate and fast enough
one among numerous examples is when you want to hide a popup window: with ahk you monitor for it (this consumes your pc resources), then when it detects it, it kills it
this approach, when your pc is heavy loaded, it will make the popup flash, which is annoying
in an OS-level programming, you would alter the OS from inside and make it just not to display that popup and there will be no flashing and no system resources cunsumption |
|
| Back to top |
|
 |
Grumpy Guest
|
Posted: Tue Jul 10, 2007 11:43 am Post subject: |
|
|
The problem is that to do it the way you describe it, you must modify the sources of the OS and recompile it.
But Windows isn't open source yet...
Now, it offers some openings, like device drivers, hooks, code injection, DLL substitutions, etc. But these solutions are high level, needing advanced Windows programming knowledge, and some of them can be seen as intrusive or highly suspect by the users (methods used by rootkits, keyloggers, spies...). |
|
| Back to top |
|
 |
azure
Joined: 07 Jun 2007 Posts: 297
|
Posted: Thu Nov 08, 2007 7:58 am Post subject: |
|
|
anyone made a comparison of ahk with:
Windows PowerShell
Windows Script Host
KiXtart
?? |
|
| Back to top |
|
 |
BoBoĻ Guest
|
Posted: Thu Nov 08, 2007 9:10 am Post subject: |
|
|
| Quote: | | anyone made a comparison of ahk with ... | What about DIY? Why?? Because in 99,99% of all cases it's finaly a matter of taste.
And you might know already: 'degustibus non est disputandum'
Would you really expect an usefull answer if the question would be: "anyone made a comparison of women?"
And because you didn't gave any criteria to check for, I wouldn't start such a comparison anyway. |
|
| Back to top |
|
 |
Unbelievable Guest
|
Posted: Thu Nov 08, 2007 11:43 pm Post subject: |
|
|
| azure wrote: | anyone made a comparison of ahk with:
Windows PowerShell
Windows Script Host
KiXtart
?? |
Do something, anything, by yourself  |
|
| Back to top |
|
 |
azure
Joined: 07 Jun 2007 Posts: 297
|
Posted: Fri Nov 09, 2007 4:07 pm Post subject: |
|
|
| Unbelievable wrote: | | azure wrote: | anyone made a comparison of ahk with:
Windows PowerShell
Windows Script Host
KiXtart
?? |
Do something, anything, by yourself  |
STFU |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3652 Location: Belgrade
|
Posted: Fri Nov 09, 2007 9:58 pm Post subject: |
|
|
Well, you obviously ask on wrong place, as ppl here are AHK lovers (obviously) and are not very objective.
Power Shell is state of the art thing IMO, but its a shell, not automatition tool. As you can use entire dotNet from it, I imagine you can automate Windows using Ranorex library.
Windows Script Host runs JS and VB scripts which are not made for automation in mind - you can make automation scripts but then, you have 0 benefits in that topic - you will have to use low level API or COM. The same goes for KiXtart, which I never used, but one look at it reference manual proves me that it tries to be general scripting language.
AHK, AU3, Phanotm, WinRunner, Ranorex etc... are made with automatition in mind, so they are better in that domain.
Anyway, all the things you complained can be done in AHK today. Its hard, but doable, and AHK is very reriable IMO. _________________
 |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|