sykes Posted April 7, 2004 Share Posted April 7, 2004 I think I have seen this posted in the past, but if you collect infomation with Autoit and store the information in variable, can you then use these variables in VB Script to write the info to a table in an access database? I know the valuse can be written to the database with VB Script, but am unsure if the variables collected will be recognized in VB. We have enough youth. How about a fountain of SMART? Link to comment Share on other sites More sharing options...
esfalk Posted April 7, 2004 Share Posted April 7, 2004 Wow, that avatar is distracting... You could always output the variables from AutoIT into an intermediate file to be read by VBA, then delete the intermediate file (ie, data.txt) Link to comment Share on other sites More sharing options...
PerryRaptor Posted April 9, 2004 Share Posted April 9, 2004 This is a very interesting question...I write in VBscript and use compiled AutoIT to handle issues VBscript cannot. I've called compiled AutoIT scripts and passed varibles via the $cmdline[x] feature, but I've never requested them back. I have used some compiledAutoIT scripts in a few VBscript subroutines; writing registry entries and later on in my VBscript calling the registry entries. This could save me a number lines of code in several scripts. Link to comment Share on other sites More sharing options...
Nutster Posted April 23, 2004 Share Posted April 23, 2004 The variables in VBscript and AutoItV3 are seperate and there is no convienent mechanism to send the values from one to the other. You could create a file (.txt or .INI) in one language and read it in the other, that could allow for the transfer. Or you could pass the values of the variable in the command line, calling the other language. I am sure there are other ways we could do this as well, but I am not sure what they would be. David NuttallNuttall Computer Consulting An Aquarius born during the Age of Aquarius AutoIt allows me to re-invent the wheel so much faster. I'm off to write a wizard, a wonderful wizard of odd... 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