Hanukka Posted May 29, 2017 Posted May 29, 2017 Hello peeps, can any one please give an example of passing an array[1D] to another script, then read and display it. Thanks
Developers Jos Posted May 29, 2017 Developers Posted May 29, 2017 1 hour ago, Hanukka said: Hello peeps (Peeps huh) ... Hallo @Hanukka, For starters: Why did you think the Examples forum would be the right forum to post your question after you read the forum purpose? Jos Moved. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Hanukka Posted May 30, 2017 Author Posted May 30, 2017 ...thanks for moving it to the right category @jos....I am new to this forum n b4 posting the question i found only 2 available options (for i guess the forum select) and the rest were greyed out...i just chose randomly. Also i dont know anything bout forum propose
coffeeturtle Posted May 30, 2017 Posted May 30, 2017 I imagine writing the values in a flat file (.ini, etc.) or the registry. So then the second script can read from the location (file/registry). https://www.autoitscript.com/autoit3/docs/functions/RegRead.htm https://www.autoitscript.com/autoit3/docs/functions/RegWrite.htm https://www.autoitscript.com/autoit3/docs/functions/IniRead.htm https://www.autoitscript.com/autoit3/docs/functions/IniWrite.htm
Hanukka Posted May 31, 2017 Author Posted May 31, 2017 @coffeeturtle..Thanks but I actually wanted to know if there was any way of doing this via cmd. Also i dont know about flat files but I could do it using the normal text file. But it is not as efficient as the cmd way. There is a method to pass normal variables using cmd, but i couldn't find one for arrays. coffeeturtle 1
jguinch Posted May 31, 2017 Posted May 31, 2017 You can try with _ArrayToDeclarationString / _ArrayDeclareFromString from here : Hanukka and coffeeturtle 2 Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF
Deye Posted May 31, 2017 Posted May 31, 2017 Another way: _FileWriteFromArray() , _FileReadToArray() coffeeturtle 1
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