Search the Community
Showing results for tags 'GRRRRRRRRRRRRRR'.
-
I've been at this for about two weeks now. I can not for the life of me open an exe! Here is the function that calls the exe: Func scite4au3_model_update_context_menu_entries(Const $this, Const ByRef $context_menu_selections) Local Const $autoit_directory = ' ' & $this.GetAutoItDirectory() & ' ' local const $definition = $this.GetLoadedDefinition() & ' ' Local Const $command = $autoit_directory & $definition & $this.EnableDisableContextMenuItems($context_menu_selections) Switch IsAdmin() Case True RunWait($this.StorageDirectory & "SciTE4AutoIt3\ContextMenuAdmin.exe" & $command, '', @sw_hide) Case False RunWait($this.StorageDirectory & "SciTE4AutoIt3\ContextMenuNonAdmin.exe" & $command, '', @sw_hide) EndSwitch EndFunc Here is the code in the exe: #AutoIt3Wrapper_testing=y #NoTrayIcon #RequireAdmin Run(@ScriptDir & "\ContextMenu.exe " & command(), '', @sw_show) func command() local $command = '' for $argument in $CmdLine $command &= $argument next return $command endfunc I've confirmed that the paths are correct. I can click on the exe and it will execute. Any ideas? Edit: Windows 7 x64. AutoIt Production and Beta. Edit: More Iinfo I know the $this object is good because the script wouldn't run at all. $autoit_directory = C:\Program Files (x86)\AutoIt3\ $definition = BETA $command = C:\Program Files (x86)\AutoIt3\ BETA "Compile" "True" "CompileX86" "True" "CompileX64" "True" "CompileWithOptions" "True" "Edit" "True" "Run" "True" "RunX86" "True" "RunX64" "True" "Tidy" "False" D:\Programming\AutoIt\My Scripts\SciTE4AutoIt3 Customizer\SciTE Customization GUI\SciTE4AutoIt3\ContextMenuNonAdmin.exe C:\Program Files (x86)\AutoIt3\ BETA "Compile" "True" "CompileX86" "True" "CompileX64" "True" "CompileWithOptions" "True" "Edit" "True" "Run" "True" "RunX86" "True" "RunX64" "True" "Tidy" "False"