Jump to content
Sign in to follow this  

How do i write my own include file?

Recommended Posts


Ok, i want to create my own UDF which encrypts text in a stupid manner (e.g. replace the character "a" or "A" with "penguin")

Things i want to know:

1. How do i pass variables to an included file (#include <StupidEncryption.au3> -- My UDF)

2. How do i get my included file to read these variables then do it's thing

3. How do i return the new text? (do i use Return?)

Also, i want the syntax to be like this

$StupidEncryptionText = Confubulate ( $ConfubText , 1 (encrypt) or 0 (decrypt) )
GUICtrlSetData ( $MyEditControl , $StupidEncryptionText )

I've been searching the whole site for documentation on it (well a teenagers excuse for searching anyway :D) and can't seem to find any :P

Brownie points for whoever can help me ;)

Edited by SxyfrG

My scripts:AppLauncherTRAY - Awesome app launcher that runs from the system tray NEW VERSION! | Run Length Encoding - VERY simple compression in pure autoit | Simple Minesweeper Game - Fun little game :)My website

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.