Leaderboard
Popular Content
Showing content with the highest reputation on 03/23/2018 in all areas
-
That was it! There was a splash screen. Side note. The autoIT forum has been great and the help docs also, but its hard to get an abstract understanding of whats going on. I have no windows programming knowledge. Its hard to get a mental picture of whats going on. Anyway, Thanks for the help!1 point
-
Thanks again, Bilgus. I agree that messing with the user's input ability is a little heavy-handed, but that's what I have been tasked to do. Can't have users restarting their computers in the middle of an app deployment! Your code was very helpful. In the end, I have a pretty tidy solution: An Adlib function that ensures the splashtext maintains focus Moved the registry test to an Adlib function (with a sizeable delay) I nabbed your idea of using WinGetPos to return the splashtext position/size (much more flexible) A hotkey to toggle mouse trapping1 point
-
@toto22 see first post. getvalue should work. Advice to do first ac5ion highlight to see you find the right object to interact with. @MrCheese try simplespy on your object andvask for help in support forum. Examples frequently fail due to os language setting.1 point
-
There is probably another window that has the name prior to it being fully started what about adding a Sleep(10000) between run and winwait?1 point
-
Can't get newline to work on your _GUICtrlRichEdit_WriteLine
Earthshine reacted to Jos for a topic
That is not my installer, so can't help you there! So that means you have another SciTE setup stored in "C:\ProgramData\SciTE" ? You probably best use the setupfiles from the Full version and store them in that setup and adapt accordingly. Jos1 point -
Read from text file and set variable
Earthshine reacted to kaz for a topic
A lots of informations are in help : ..If a filename is given rather than a file handle - the file will be opened and closed during the function call ..1 point -
Sending keys and mouse clicks inside a VMWare VM
Earthshine reacted to JLogan3o13 for a topic
That is exactly what you're doing when you run something through PSExec.1 point -
Sending keys and mouse clicks inside a VMWare VM
Earthshine reacted to JLogan3o13 for a topic
There have been a couple. But to my knowledge they both deal with the underlying registry to lower/deactivate it. Not sending keystrokes to bypass it.1 point -
Sending keys and mouse clicks inside a VMWare VM
Earthshine reacted to JLogan3o13 for a topic
VMware does indeed make it difficult to do mouse manipulation. If you absolutely must use mouseclicks, I would suggest something like this, which I have had to resort to in the past: ;pseudocode WinActivate(<VMware Workstation Window>) Send("^g") ;CTRL+g = Grab Input <Do whatever else>1 point -
Sending keys and mouse clicks inside a VMWare VM
Earthshine reacted to Bilgus for a topic
It might that VMware blocks simulated mouse inputs two ideas, 1. run vnc software on the vmware and try interaction through that 2. create 2 small small scripts one on the host that presses a hotkey when mouse clicks and one on the guest the that when it gets a hotkey clicks the mouse at current position assuming your vm accepts keyboard input1 point -
cmd Unicode text maker
nacerbaaziz reacted to Trong for a topic
I think it is junk code :| #cs This script was designed by Nacer Baaziz from Algeria With this script you can print Unicode text in the CMD screen the script is easy to use just you write the text that contains Unicode in the first input and the script automatically reflect the code in the second input you can copy the text to the clipboard or you can try printing the text in the CMD window I apologize to everyone for colors and shape if not appropriate I'm a blind man and I do not see Thank you for your understanding You can contact me by e-mail below nacerStile@gmail.com #ce #RequireAdmin #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_UseUpx=y #AutoIt3Wrapper_Res_Comment=unicode cmd text maker #AutoIt3Wrapper_Res_Description=CMD Unicode Text Maker #AutoIt3Wrapper_Res_Fileversion=1.0.0.0 #AutoIt3Wrapper_Res_LegalCopyright= ©2018, by nacer baaziz #AutoIt3Wrapper_Res_Language=1033 #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include <AutoItConstants.au3> #include <MsgBoxConstants.au3> #include <file.au3> #include <Clipboard.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <GuiEdit.au3> ### the window ### Local $GUI = GUICreate("cmd Unicode text maker") GUICtrlCreateLabel("&original text", 0, 10, 100, 25) Local $Input1 = GUICtrlCreateInput("", 110, 10, 200, 25) GUICtrlCreateLabel("&Unicode text", 0, 50, 100, 25) Local $Input2 = GUICtrlCreateInput("", 110, 50, 200, 25) _GUICtrlEdit_SetReadOnly(-1, True) Local $BT1 = GUICtrlCreateButton("&test", 0, 100, 50, 25) Local $BT2 = GUICtrlCreateButton("©", 60, 100, 50, 25) Local $BT3 = GUICtrlCreateButton("&Close", 120, 100, 50, 25) ### GUISetState(@SW_SHOW, $GUI) ### the loop ### While 1 Switch GUIGetMsg() Case $GUI_event_close, $BT3 Exit Case $Input1 Local $Run = Run(@ComSpec & " /c cls & @echo off & echo " & GUICtrlRead($Input1), @SystemDir, @SW_HIDE, BitOR($STDERR_CHILD, $STDOUT_CHILD)) Local $Text = "" While 1 $Text = StdoutRead($Run) If @error Then ExitLoop GUICtrlSetData($Input2, $Text) WEnd Case $BT1 If Not (GUICtrlRead($Input2) = "") Then Local $temp = _TempFile(@TempDir & "\", Default, ".cmd") FileWrite($temp, "cls" & @CRLF & "@echo off" & @CRLF & "title Unicode Test" & @CRLF & "echo " & GUICtrlRead($Input2) & @CRLF & "pause" & @CRLF & "exit") Run($temp) FileDelete($temp) EndIf Case $BT2 If Not (GUICtrlRead($Input2) = "") Then _ClipBoard_SetData(GUICtrlRead($Input2)) If Not @error Then MsgBox(64, "result", "the unicode text was added to the ClipBoard", "", $GUI) Else MsgBox(16, "result", "the unicode text can't be added to the ClipBoard", "", $GUI) EndIf EndIf EndSwitch WEnd ###1 point -
cmd Unicode text maker
Earthshine reacted to jchd for a topic
Sorry to put it boldly, but I don't see the purpose and possible use of your code.1 point -
Deleting the first element of multiple arrays
Earthshine reacted to jchd for a topic
All this sounds for me like a couple of good solutions to an ill-posed problem. Why do you need to remove the leading (or even the Nth) row in a number of distinct arrays in the first place?1 point -
Is it possible to rename directory based on file name?
Subz reacted to KickStarter15 for a topic
@ripcord, Welcome to AutoIt forum. Yes by doing the below. Actually there are lots of function that can do what you need. By getting the file name, you can easily create folder by doing below: DirCreate($sFilePath & "\" & $sFileName) This one will get the filename as well (see help file): #include <File.au3> Local $sDrive = "", $sDir = "", $sFileName = "", $sExtension = "" $Path = @ScriptDir & "\10 Cloverfield Lane (2016).mkv" _PathSplit($Path, $sDrive, $sDir, $sFileName, $sExtension) MsgBox(0,"",$sFileName) There are lots of ways to do what you want.1 point -
Copy a file to clipboard to be manually pasted as shortcut
masvil reacted to Earthshine for a topic
Or just create it where you want it. Be it desktop or in a directory or on the Start Menu1 point -
@x_bennY Search and you will find1 point
-
First run is meant to be done by you, not user. But I see what you mean by automating, so maybe it would be better to add custom callback function. Maybe like this: Global $CheckSumVerifyCallback = CustomFunctionToCall #include "CheckSumVerify.a3x" ...But that adds global variable, so I'm not sure.1 point
-
Can't get newline to work on your _GUICtrlRichEdit_WriteLine
Earthshine reacted to akandesh for a topic
Can't figure out how to change it. Even did some googling and it's not in enviroment variables. :upside_down: https://www.ebswift.com/scite-text-editor-installer.html This is what I installed, doesn't even support autoit hah.0 points