Jump to content
Sign in to follow this  
Concrete

Pasting text from a typed command

Recommended Posts

Concrete

Hi everyone,

I was wondering if someone could point me in the right direction.

I am looking to create a simple app which will contain a list of text strings which a user can add themselves. I want the app to be able to contain a list of user created macros, where the contents of each macro has a typed command associated, e.g.:

User types this into any text field in any other app:

.hi

- The text string associated with ".hi" is pasted into the field (or automatically typed out, I don't know what's best)

I also want the app to have the possibility of having another section of text strings/paragraphs (say, a list of templates for e-mails) where if doubleclicked in the list, they will simply copy the contents to the clipboard.

I've attempted these things in the past, but got stuck/sidetracked with the GUI creation.

Would anyone be so kind as to tell me where to begin, or show me an example code, if it exists?

Much appreciated.

Edit: To add, I want users to be able to add custom typed macros using the GUI - the app itself would not have any content to begin with, the users would fill it up with their own stuff.

Edited by Concrete

Share this post


Link to post
Share on other sites
FireFox

Hi,

You can save your macros in an ini file then a key (macro) will correspond to its value (text)

Br, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
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
Sign in to follow this  

×