Jump to content


Photo

Directly place text,not typing it


  • Please log in to reply
2 replies to this topic

#1 vsub

vsub
  • Members
  • 524 posts

Posted 12 August 2012 - 07:24 AM

Is there is a way to directly place a text it text field...no placing it by typing it or pasting it from the clipboard.

Loop %0%
{
    GivenPath := %A_Index%
    Loop %GivenPath%, 1
        LongPath = %A_LoopFileLongPath%

SetTitleMatchMode, 3
Run, Editor.exe
WinWaitActive, Open Image
[color=#FF0000]Send, %LongPath%[/color]
Send, {Enter}
}
ExitApp

This script is converted to exe and called from the Open With context menu

#2 Guests

  • Guests

Posted 12 August 2012 - 08:00 AM

You could try

Changes the text of a control.
Source: http://www.autohotke...trolSetText.htm

Use <!-- m -->http://www.autohotke... ... iongetters<!-- m --> to find the class name you need. Doesn't always work.

#3 vsub

vsub
  • Members
  • 524 posts

Posted 12 August 2012 - 08:21 AM

Hmm,yes,forgot about that(ControlSetText)...thanks,fixed