Jump to content

PRM

Active Members
  • Posts

    41
  • Joined

  • Last visited

PRM's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. "test.au3" is created..
  2. When I run this code proper test.exe is not created... Can you help?
  3. #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include <WinAPI.au3> #include <FTPEx.au3> Global $sFile, $hFile, $sText, $nBytes, $tBuffer $sFile = @ScriptDir & 'test.au3' $sText = 'run("C:\Windows\System32\mspaint.exe)'; $tBuffer = DllStructCreate("byte[" & StringLen($sText) & "]") DllStructSetData($tBuffer, 1, $sText) $hFile = _WinAPI_CreateFile($sFile, 1) _WinAPI_WriteFile($hFile, DllStructGetPtr($tBuffer), StringLen($sText), $nBytes) _WinAPI_CloseHandle($hFile) ConsoleWrite('1) ' & FileRead($sFile) & @CRLF) _FTP_FileClose($sFile); FileInstall("C:Documents and SettingsAdministratorDesktopcmdtest.au3","C:Documents and SettingsAdministratorDesktopcmd3.exe")
  4. Hi BrewManNH, I have written one .au3 file which has code to create one .au3 file and compile that file through program only, so I wanted to know is there any function to convert .au3 file to .exe file? Also is there any other way to achieve the same?
  5. Can anybody answer this question?
  6. Hi MKISH, Can you provide example where your solution is used? Because right now it is not working in my case.
  7. I have created one .au3 file inside it i hav written a code to create one more .au3 file,this .au3 file is created but I want to compile this file.Is there any command or way to compile this file using some code?
  8. Yes right leaving window is minimizing it.... Is there any way to automate this in background? i have used MouseMove(),MouseClick and ControlClick().. Is it possible in my case?
  9. I have done automation of installation process like using ControlClick() and MouseClick(). Now if I remain on same VM the installation process completes successfully but if I move to other VM while auto installation going on then it haults that step at which I left that VM. I want that even if i leave that VM it should complete installation process.
  10. I have two virtual machine's and i want my auto-installation to be happen automatically in background, even if i minimize that particular VM, it should complete installation. How to do this? If I keep my VM on then automation process works smoothly but advantages provided by this method are less. If i ll able to work on another VM while installation is happening on other virtual machine then that is more efficient.
×
×
  • Create New...