Churchy112
Members-
Posts
17 -
Joined
-
Last visited
Recent Profile Visitors
328 profile views
Churchy112's Achievements
Seeker (1/7)
0
Reputation
-
Good evening. I am trying to create a really simple script to read text in iTunes and give me mouse position of that text. I downloaded Tesseract 3.0.2 I believe and download the Tessertact.Au3 and included this file. I cant even make it off the starting line! I was trying the _TesseractControlFind() function. "C:\Program Files (x86)\AutoIt3\Include\Tesseract.au3" (968) : ==> Subscript used on non-accessible variable.: $hBMP = _WinAPI_CreateCompatibleBitmap($hDC, ($pos[2] * $scale) - ($right_indent * $scale), ($pos[3] * $scale) - ($bottom_indent * $scale)) $hBMP = _WinAPI_CreateCompatibleBitmap($hDC, ($pos^ ERRORI ran the command from the example script to get this error so I have no idea what I've done wrong. Everyone else on the forum seems to work straight off the bat but the post was 5 years ago hehe. If anyone has any idea of what I've done wrong it would be a huge help!
-
Morning all, For past few days I've been rattling my brains trying to work out how to create TCP Server and Client. I have successfully made a connection between a single client and server but beyond that I'm hopeless! I've been messing with Arrays and trying to read other examples but it's a little over my head... I was hoping I could ask someone to give me a really simple example with some comments for a server to accept multiple connections and a client to connect and receive data from server. I'm planning to have a client and server GUI to display "Client connected with identifier" "Server connected" "Message from server" etc Thanks in advance!
-
How can I confirm TCPStartUp has started?
Churchy112 replied to Churchy112's topic in AutoIt General Help and Support
I assigned a variable to TCPStartUp() as you did and this returns the error code I'm now expecting within my GUI! Thanks. Next step is trying to get another script to talk to this one. -
Hello, I'm trying my hand at a simple TCP server and client but I have a bit of a worry! I create a simple GUI to return the error code following the TCPStartUp command and its returning an error! I have tried using some example TCP Scripts too which don't seem to work properly. Would someone mind having a look at my code below and tell me if the TCPStartUp should be working? Should it be returning errorcode 1? And should my text steps be TCP Listen > TCP Accept > TCP Recieve? I'm a bit of a noob so any help would be hugely appreciated #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Opt('GUIonEventMode', 1) $GUI = GUICreate("S.M.I Server", 472, 311, 751, 312) $Content = GUICtrlCreateEdit("", 8, 8, 313, 289, BitOR($GUI_SS_DEFAULT_EDIT,$ES_READONLY)) GUISetState(@SW_SHOW) GUICtrlSetData($Content, "Content") TCPStartup() IF @error == 1 Then GUICtrlSetData($content, "TCP Services started with: " & @Error) Else GUICtrlSetData($content, "TCP Services failed with error: " & @error) EndIf While 1 GUISetOnEvent($GUI_EVENT_CLOSE, "quit", $GUI) WEnd Func quit() TCPShutdown() GUICtrlSetData($content, "TCP Shut Down: " & @error) sleep(700) Exit EndFunc
-
The computer info UDFs look very useful! Although I don't yet know how to manipulate the results into a CSV. I'll look at the Audit Tool next when I have a moment
-
Thanks I'll have a look I'd like it to check for Critical and Warning events on event viewer as well as information like user logged on, connectivity time stamp, Architecture, PC Spec, OS, antivirus version etc and produce all this information to a onscreen console on the server. Eventually it would be great if I could issue commands to the client such as Display Message, WOL, Shutdown, run MDT rebuild, remote installations, remote update etc but for now I figured stick with the basic reporting.
-
Good morning, I'm hoping some of you kind people could help me get started on a simple client on a workstation which can report events and computer information back to a console on a server to display all the information. I support primary schools which are always a mess when I take them on so this would be hugely helpful. I'm still very new to AutoIT so if anyone could point me in the right direction or any examples they have would be great. I did have a quick look on the forum but the topics I found looked way more complex for my needs. Thanks
-
Thanks! I just need to have a play at the emulation functions and I'll give it a go tomorrow with iTunes form at my school.
-
Thanks for your suggestions. I'll be using Chrome but I can switch to any if more compatible. I'm hoping to apply this to other uses such as iTunes account creation. I work with schools and for every Apple device in school I need to create an Apple ID for it, so thats on average 60 Apple IDs per school . Would you mind giving me a example of the loops that I could have a play with?
-
Good morning, Apologies if this thread already exists or I've completely missed the answer in a similar thread. I'm new to Autoit since yesterday, albeit that I've had an account for 3 years, I'm only starting to get into it. I am trying to create a script which will read my CSV row by row and create a variable per cell on that row. In my job I'm going to need to fill out a webform 100 times over so I would like to input each variable into my chosen field on this webform and repeat. I've been playing with AutoIT and this is what I've done so far, am I on the right track? I was thinking of using the StringSplit functions but I am a bit clueless to be honest. Any help would be Great to get me started. #include <file.au3> #include <FileConstants.au3> #include <array.au3> _BrowseForFile() Global $aOutput, $FilePath _FileReadToArray ($FilePath,$aOutput,4,",") _ArrayDisplay($aOutput) Func _BrowseForFile() ;Sets $FilePath global $FilePath=FileOpenDialog("Browse for CSV",@DesktopDir,"csv files (*.csv)",$FD_MULTISELECT + $FD_FILEMUSTEXIST) EndFunc
-
thats awesome Cheers bud!!
-
Thanks, that does work, but isnt a solution to what im trying to do. the ultimate goal is to have a custom log in screen where I would enter my name and pwd and it would open IE > outlook.com input name and add "@EmailHere.com" and pwd and enter.
-
outlook live. basically im a it technician at a school and would like this for teachers to just type their username and password and script to add all the extras and log in, to make my life easier, as we just moved over to outlook live.