bchan Posted June 30, 2010 Share 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 Link to comment Share on other sites More sharing options...
JScript Posted July 1, 2010 Share 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! Link to comment Share on other sites More sharing options...
Tvern Posted July 1, 2010 Share 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. Link to comment Share on other sites More sharing options...
Richard Robertson Posted July 1, 2010 Share Posted July 1, 2010 Exit codes are integers. This can't be changed. Instead consider writing to the console. Link to comment Share on other sites More sharing options...
Juvigy Posted July 1, 2010 Share Posted July 1, 2010 You can write strings to the registry or to files just before exit. Link to comment Share on other sites More sharing options...
Richard Robertson Posted July 1, 2010 Share Posted July 1, 2010 Writing to a non-volatile resource like that is slow and sometimes prone to caching error between programs. Link to comment Share on other sites More sharing options...
bchan Posted July 5, 2010 Author Share 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. Link to comment Share on other sites More sharing options...
bchan Posted July 5, 2010 Author Share 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 Link to comment Share on other sites More sharing options...
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