Briansmith 0 Posted December 14, 2010 I am somewhat new to Autoit, but I would like to use a variable from a function in the script that is calling the function. I don't have any example code, as I have no idea how this might work. But for example, there is _ArrayDiplay function that I am using in conjunction with _ADListPrintQueues. the end result is I have a variable in the _ArrayDisplay function call $sclip, this is where the choice of printers is "copied to the clipboard". I would like to use the $sclip var in the script that is calling the function. I apologize if this is in the wrong forum. thanks. Share this post Link to post Share on other sites
Briansmith 0 Posted December 14, 2010 Please IGNORE this post. I have found the answer with 2 minutes of research. Using Global $Sclip to declare the Variable, then removing the LOCAL tag from the Function makes is available to me. Share this post Link to post Share on other sites