Talk:AutoHotkey: Inplace rename with dialog: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
(test of this script)
 
Line 8: Line 8:
  "SendMessage %LB_GETCURSEL%, 0, 0, %sf_FocusedControl%, ahk_class TTOTAL_CMD"
  "SendMessage %LB_GETCURSEL%, 0, 0, %sf_FocusedControl%, ahk_class TTOTAL_CMD"
and  
and  
"SendMessage %LB_GETCURSEL%, 0, 0, sf_FocusedControl, ahk_class TTOTAL_CMD"
"SendMessage %LB_GETCURSEL%, 0, 0, sf_FocusedControl, ahk_class TTOTAL_CMD"


[[User:Sheepdog|Sheepdog]] 18. January 2006 10:45 (GMT)}
[[User:Sheepdog|Sheepdog]] 18. January 2006 10:45 (GMT)}

Latest revision as of 10:45, 18 January 2006

"SendMessage %LB_GETCURSEL%, 0, 0, %sf_FocusedControl%, ahk_class TTOTAL_CMD"

Here %sf_FocusedControl% should be replaced by sf_FocusedControl (tested with AutoHotKey 1.0.40.12 and TC 6.53)

test of this script

I don't know how it works or where this makes the difference but here it works with both

"SendMessage %LB_GETCURSEL%, 0, 0, %sf_FocusedControl%, ahk_class TTOTAL_CMD"

and

"SendMessage %LB_GETCURSEL%, 0, 0, sf_FocusedControl, ahk_class TTOTAL_CMD"

Sheepdog 18. January 2006 10:45 (GMT)}