Jump to content

spoolin1

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

spoolin1's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. $file = FileOpen("file.txt", 0) $read = FileRead($file) If @error = -1 Then MsgBox(0, "Error", "File not read") Exit Else ;;;MsgBox(0, "Read", $read) If StringRegExp($read, "______Part Status______") Then MsgBox(0, "Oops", "Match") Else MsgBox(0, "Oops", "No match") EndIf EndIf FileClose($file) I found this code and works great finding a string. What I would like to do is have it look at the next line after a string and assign it to a variable then go from there. End goal is to check if there is any text on the next line after string or if its empty.
  2. Thanks for the feedback jdelaney. I'm needing to run scripts as standard user, the script is sending text or keystrokes to another application that is also being ran as a standard user. I'm compiling the scripts as a standard user aswell. It hunch is that the autoit send command is being blocked by some security software. Or maybe more like security software is blocking any type of script or macro from sending keys to other applications. I have a Logitech G13 that has a qucikmacro text record and playback function. This worked great in windows 7 but now with 10 the macros will record but not play back, all other fuctions of G13 ar working great. Ive tried some other script and macro tooks. Auto hotkey and pullovers macro creator text/keys are being blocked as well. The big unknown now is whether security software is requiring local admin rights in order to allow text and key sends or did microsoft make this a requirement for Win10. I dont see these problems on my home personal windows 10 machines. I also dont have the security software installed and am not on a domain controller at home. I've tried local admin and local standard accounts with autoit scripts and they work great, so does the G13. Im thinking a good next step would be to ask if the security software could be temporarily disabled in order to troubleshoot if one of them are the culprit.
  3. Did something change between windows7 and windows10 that you have to run as elevated rights in order to use send command? Send("some text or key strokes here") ^this works fine on Win7 & WinServer2008 but on Win10 the cursor will just stop blinking and no text is sent to textbox. #RequireAdmin Send("some text or key strokes here") This will work if logging in as admin. All other autoit commands work great just Send or controlSend doesn't want to work. Im writing scripts for myself and others in my group at work and not allowed to be local admins so trying to figure out a workaround. Has anyone else seen similar problems with Windows 10?
×
×
  • Create New...