bchan Posted June 30, 2010 Posted June 30, 2010 Hi, I'm currently using AutoIt with C# and I'm trying to get AutoIt to return a string (variable) on exit but I couldn't find anything online. Is this possible? Thanks, Bchan
JScript Posted July 1, 2010 Posted July 1, 2010 (edited) ;ClipPut -------------------------------------------------------------------------------- ;Writes text to the clipboard. ClipPut( "value" ) ;Parameters - "value" The text to write to the clipboard.This solves? Edited July 1, 2010 by jscript http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere!
Tvern Posted July 1, 2010 Posted July 1, 2010 As far as I know exitcodes always have to be an integer. In theory you'd be able to encode any message to an integer, but I fear there is a size limitation to it.
Richard Robertson Posted July 1, 2010 Posted July 1, 2010 Exit codes are integers. This can't be changed. Instead consider writing to the console.
Juvigy Posted July 1, 2010 Posted July 1, 2010 You can write strings to the registry or to files just before exit.
Richard Robertson Posted July 1, 2010 Posted July 1, 2010 Writing to a non-volatile resource like that is slow and sometimes prone to caching error between programs.
bchan Posted July 5, 2010 Author Posted July 5, 2010 Hi everyone, thanks for the suggestions!! @jscript - I don't think copying to the clipboard would help because it would confuse things in my current code since I'm running a lot of this in parallel. @Richard - I'll try out writing to console although I'm not quite sure how to approach this yet.
bchan Posted July 5, 2010 Author Posted July 5, 2010 Hi everyone! I think I'm going to stick with an alternative solution - using AutoItX3! thanks, (I'm not sure how to close topics) B
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now