argumentum Posted 9 hours ago Posted 9 hours ago #AutoIt3Wrapper_If_Run #AutoIt3Wrapper_Run_Au3Check=Y #AutoIt3Wrapper_Run_Tidy=Y #Autoit3Wrapper_If_Compile #AutoIt3Wrapper_Run_Au3Check=N #AutoIt3Wrapper_Run_Tidy=N #AutoIt3Wrapper_EndIf AutoIt3Wrapper has the above ( when not as GUI ) Can a similar be had for AutoIt ? #Directive_If_Run #RequireAdmin #Directive_If_Compile ; highestAvailable #Directive_If_Something ; maybe if_au3, if_exe, etc. Just an idea #Directive_EndIf Because if "#RequireAdmin" is there, it will abide by that instead of: #pragma compile(ExecLevel, highestavailable) or #AutoIt3Wrapper_Res_requestedExecutionLevel=highestAvailable Let it be known that is not a "OMG!, what am I gonna do" kind of thing since we all live with it since always but, it'd be nice to have. PS: I know that requests are by trac only. So this is a wish for when time permits it. WildByDesign 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Developers Jos Posted 4 hours ago Developers Posted 4 hours ago 5 hours ago, argumentum said: Can a similar be had for AutoIt ? Not as-is, as AutoIt3 will simply read all directive lines one by one and ignore any KEYWORDS it doesn't recognise. So the only way it could be possible is that AutoIt3Wrapper would remove the lines that are in an untrue section of the "#AutoIt3Wrapper_If_Run" statement. 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.
argumentum Posted 3 hours ago Author Posted 3 hours ago I know that @Jos, I know. The implementation in the AutoIt3 product would not be script braking. I don't know how hard/easy would it be to code it or what are the caveats of having that. Maybe am thinking that is a great idea but didn't take into consideration ... something, I don't know. Maybe @Jon or @jpm get to look at the post and like the "proposal". I say proposal in quotes because when someone ask me for something I run it in my head and in an instant and I know if it'd be possible or not, and what would it entail. Maybe looking for those conditionals are very taxing, maybe not. Maybe.., I don't know. I do know that in AutoIt3Wrapper would be very taxing. So, convenience vs. bloat. Don't know if is worth it. What is nanoseconds in C is milliseconds in script, that I know but again, ...maybe is a bad idea ?, no clue. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Developers Jos Posted 2 hours ago Developers Posted 2 hours ago 1 hour ago, argumentum said: I do know that in AutoIt3Wrapper would be very taxing. So, convenience vs. bloat. Don't know if is worth it. What is nanoseconds in C is milliseconds in script, that I know but again, ...maybe is a bad idea ?, no clue. My bet is that this will be the only option, as implementing this in AutoIt3 will never happen (my educated guess). 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.
argumentum Posted 2 hours ago Author Posted 2 hours ago Opened a proper request in trac. I know that a trac is more visible to developers. We'll see. Maybe #HighestAvailable is added instead, or nothing. Who knows. I tell the people that I code for, that they need to talk to me because I don't use what I put together for them, and if there is a need, how am I to know. So don't be shy and lets converse. Trac is a better way to talk to the DEVs and now is an open conversation. We'll see. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Developers Jos Posted 1 hour ago Developers Posted 1 hour ago Try the current beta v25.205.1420.11 of AutoIt3Wrapper. Added logic to strip the lines between #Autoit3Wrapper_If_* ---- #Autoit3Wrapper_(End)If(_*) that are not valid for the run and save the source to a temp file to process. argumentum 1 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.
argumentum Posted 57 minutes ago Author Posted 57 minutes ago ..when I Ctrl + F7, I get "GUI mode not supported in combination with #AutoIt3Wrapper_If_Run". Any way around that ? Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Developers Jos Posted 49 minutes ago Developers Posted 49 minutes ago It is always possible, but that is not something I will be looking at, as that makes it way too complex and doesn't weight up to the effort I would have to put in. Have a go when you want and when done make a proposal for update of Autoit3Wrapper. 😉 argumentum 1 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.
argumentum Posted 37 minutes ago Author Posted 37 minutes ago (edited) @Jos I liked the idea of "VersionWrapper" I saw in the code. Would you share a snippet to get the gist of it ( or all of it ) ? ..unless is a C tool of yours Edited 37 minutes ago by argumentum Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
argumentum Posted 30 minutes ago Author Posted 30 minutes ago ...then again, I see "...\bin\svn.exe" around and might as well forget the request as I may just get myself in more confusion. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
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