autoitWV 0 Posted March 28, 2011 Its the newbie again! If I can compile to a .dll instead of a .exe, then I can have function size programs to debug, instead of entire programs. What do you friends think? Share this post Link to post Share on other sites
SmOke_N 211 Posted March 28, 2011 There are two types of "compilation" you can do with AutoIt. Au3 to Exe Au3 to A3x That's the extent. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Share this post Link to post Share on other sites
autoitWV 0 Posted March 28, 2011 Thanks again! Luckily, there is a question posted just after mine that may work, "shellexecute question how could I read the output of a executable runed with shell execute". Also, perhaps post to clipboard--> read from clipboard may work as well. Surely there will be More to come from this newbie Share this post Link to post Share on other sites
martin 85 Posted March 28, 2011 Its the newbie again! If I can compile to a .dll instead of a .exe, then I can have function size programs to debug, instead of entire programs. What do you friends think?I don't think there would be anything to gain from having lots of compiled scripts rather than one script. My guess is that your program development would be slowed down many times.My advice is to write a function, test it in a simple script which just throws partameters at it and when you're confident that it does what you want simply tack it to the end of your script or save the function as a separate au3 file and include that file in your script header. Lump all related functions into the same include file. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Share this post Link to post Share on other sites
autoitWV 0 Posted March 28, 2011 Martin, thanks for the strategy! A pre-debugged include file for each function would do the trick. And it has a nice object orientation to it as well! Thanks to you and smoke_n! Share this post Link to post Share on other sites