AutoHotkey Community

It is currently May 27th, 2012, 8:16 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: January 20th, 2012, 8:36 am 
Offline

Joined: June 7th, 2007, 1:33 pm
Posts: 1019
hello!

I would like to suggest functions like:

IfControlisFocused
IfCursorIsInsideTextBox
IfCursorIsIBeam
IfRadioButtonIsEnabledd
etc

that would save us too much time and lines

thanks!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 20th, 2012, 9:28 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
Absolutely not. Just define a function and use it with If-expression.
Code:
if ControlIsFocused()

In particular, your cursor example is rediculous.
Code:
IfCursorIsIBeam
if A_Cursor=IBeam
if (A_Cursor="IBeam")


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 12 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