Opened 7 hours ago
Last modified 4 hours ago
#4043 assigned Feature Request
#Directive_If_Run
Reported by: | argumentum | Owned by: | Jon |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | Severity: | None | |
Keywords: | Cc: |
Description (last modified by mLipok)
#Directive_If_Run
#RequireAdmin
#Directive_If_Compile
; highestAvailable
#Directive_EndIf
The above is an idea. Naming is unimportant. But the concept would be very welcomed.
There is a post at https://www.autoitscript.com/forum/topic/213009-directive_if_run/ about this.
Attachments (0)
Change History (7)
comment:1 Changed 7 hours ago by argumentum
comment:3 Changed 6 hours ago by Jpm
- Owner set to Jon
- Status changed from new to assigned
comment:4 Changed 4 hours ago by mLipok
- Description modified (diff)
comment:5 follow-up: ↓ 7 Changed 4 hours ago by mLipok
My understanding of this request lead me to this proposal:
normal/standard behavior
#RequireAdmin
only if not compiled (processed by AutoIt3.exe but omitted by Aut2exe.exe )
#RequireAdmin=1
only if compiled (processed by Aut2exe.exe but omitted by AutoIt3.exe)
#RequireAdmin=2
comment:6 Changed 4 hours ago by Jos
Added some support to AutoIt3Wrapper for this...see linked thread.
comment:7 in reply to: ↑ 5 Changed 4 hours ago by Jos
Replying to mLipok:
My understanding of this request lead me to this proposal:
normal/standard behavior
#RequireAdminonly if not compiled (processed by AutoIt3.exe but omitted by Aut2exe.exe )
#RequireAdmin=1only if compiled (processed by Aut2exe.exe but omitted by AutoIt3.exe)
#RequireAdmin=2
This was the reason the #AutoIt3Wrapper directives are created... right?:
#Autoit3Wrapper_If_Compile #RequireAdmin #AutoIt3Wrapper_EndIf
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
..added in the post https://www.autoitscript.com/forum/topic/213009-directive_if_run/#findComment-1544532 that maybe #HighestAvailable is an option given that why would a user need an "if" conditional ?, just for #HighestAvailable ?, lets add #HighestAvailable then.