Hi guys.
I made a script that helps me a lot in what I'm dealing with but still does not make the whole work for me.
The script reads lines from txt file and copies the lines to clipboard.
Skips to next line when I press OK button.
That works great but I would like to add one more funcionality to it.
I would like it to send Ctrl+Enter to Photoshop.exe process as well when OK button is pressed.
The photoshop window is not minimized but not on top (I don't know if it matters at all
)
Sorry for my english.
Thx for your help.
I made a script that helps me a lot in what I'm dealing with but still does not make the whole work for me.
[ autoit ]
#include #include Local $file = FileOpen("lista.txt", 0) ; Check if file opened for reading OK If $file = -1 Then MsgBox(0, "Error", "Unable to open file.") Exit EndIf ; Read in lines of text until the EOF is reached While 1 Local $line = FileReadLine($file) If @error = -1 Then MsgBox(262144,"...", "...") ExitLoop Clipput($line) GUICreate("H", 250, 150,900,200,1,$WS_EX_TOPMOST) GUICtrlCreateLabel($line, 30, 10) $okbutton = GUICtrlCreateButton("OK", 70, 70, 60) GUISetState(@SW_SHOW) While 1 $msg = GUIGetMsg() Select Case $msg = $okbutton GuiDelete("H") ExitLoop EndSelect WEnd ;MsgBox(262144, "Line read:", $line) WEnd FileClose($file)
The script reads lines from txt file and copies the lines to clipboard.
Skips to next line when I press OK button.
That works great but I would like to add one more funcionality to it.
I would like it to send Ctrl+Enter to Photoshop.exe process as well when OK button is pressed.
The photoshop window is not minimized but not on top (I don't know if it matters at all
![;)](http://aut1.autoit-cdn.com/forum/public/style_emoticons/default/wink.png)
Sorry for my english.
Thx for your help.