Talk:AutoHotkey: Inplace rename with dialog
Jump to navigation
Jump to search
"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)}