| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Wed Jul 09, 2008 7:46 am Post subject: how to check whether any control or menu is enabled or disab |
|
|
Hi ,
I am totally new to this autohotkey so may be this question is silly , but is there any way to check whether any control or menu item is enabled or disabled ???
want an urgent reply ..
thnxx in advance |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Jul 09, 2008 7:51 am Post subject: |
|
|
| use ControlGet. Enabled |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Jul 09, 2008 8:29 am Post subject: |
|
|
thnxx alot for quick reply..
but I have some other problem since i have to check menus and submenus.. but since the CNN is same for a single tool bar i.e same for all menus and submenus...
so what can be done in that case ??? |
|
| Back to top |
|
 |
heresy
Joined: 11 Mar 2008 Posts: 291
|
|
| Back to top |
|
 |
Guest
|
Posted: Wed Jul 09, 2008 9:29 am Post subject: |
|
|
thnxx allot... its wrking ..
only small but unique problem is thr--
suppose one sub menu is first disabled.. that time its returning 0
thzz fine... now through that .ahk file only if such task is done that makes that sub menu enabled and again i m checking its value.. still its coming 0 ,
if i manually goes to that menu and just see it once and now if i check its status then its coming 1 ...
so it seems that its value is not getting refreshed if it remains in that .ahk
file only..
can ny one giv solution to this problem ??? |
|
| Back to top |
|
 |
|