Jump to content

Other Notepad Related Scripts


Recommended Posts

  • Moderators

This will only run one instance of Notepad.exe not infinate (No loop):

#include <string.au3>
$String = '546865207175657374696F6E206973207768617420776F756C6' & _
        '420796F75206C696B6520746F20646F2077697468206E6F746570' & _
        '61642C206E6F7420776861742063616E20796F7520646F2077697' & _
        '468206E6F7465706164203A29'
Run('Notepad.exe')
WinWaitActive('Untitled - Notepad')
WinSetTitle('Untitled - Notepad', '', 'Changing the title')
ControlSetText('Changing the title', '', 'Edit1', _HexToString($String))

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

  • Moderators

Is the

$String = '546865207175657374696F6E206973207768617420776F756C6' & _

'420796F75206C696B6520746F20646F2077697468206E6F746570' & _

'61642C206E6F7420776861742063616E20796F7520646F2077697' & _

'468206E6F7465706164203A29'

encrypted text? :D

No, it's hex.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...