markyrocks Posted September 5, 2018 Share Posted September 5, 2018 I'm attempting to manipulate a program that doesn't accept simulated keystrokes. I've been searching for a few hours now and it seems my only option is using like a virtual keyboard wrapper/driver? What I'm doing is a royal pitb, I just need to enter data into text fields but it's very repetitive like taking a list of hundreds of objects and entering them one by one. I'm writing helper scripts to improve my qol. Basically I'd be happy with a solid copy paste solution but it won't even allow a simulated mouseclick, control click dosen't work. I can't even drag and drop from notepad into the text box.... it's so frustrating bc it really is so pointless as to why it's this way. Basically any advice I could get would be great, if this isn't allowed I apologize. Spoiler "I Believe array math to be potentially fatal, I may be dying from array math poisoning" Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted September 5, 2018 Share Posted September 5, 2018 Hi @markyrocks I don't know if this goes against the Forum Rules ( check the EULA of the proram you are using ). By the way, did you already try AutoIt Window Info Tool? If it does return something, post it here. Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
markyrocks Posted September 5, 2018 Author Share Posted September 5, 2018 Pretty sure the user agreement allows for the program to be used and manipulated However the user sees fit. Basically I'm entering in variables based on specific pieces of information that are linked by form ids, then I'm making lists of said variables in a different menu and then making a function call for each variable in a different form and a 3rd form is involved to link the whole thing together. It's very Annoying and tedious. So ya some of the input fields are for function calls and others are for variables and others are for generic names for those variables. This is in a different language than autoit. The good news is the one field actually no now that I think about it 2 of the fields generate loose scripts that I can directly manipulate so that's a relief. It's just like one of the tasks is...right clicking in a field of excel cells hitting new and having to type in a number....I'm up to like 700.. you know how sick I am of typing in numbers one by one like that? This is stuff autoit was literally designed for.... Spoiler "I Believe array math to be potentially fatal, I may be dying from array math poisoning" Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted September 5, 2018 Share Posted September 5, 2018 @markyrocks Ok, but your answer didn't reply my question Did you already try AutoIt Window Info Tool? If it does return something, post it here. 6 minutes ago, markyrocks said: It's just like one of the tasks is...right clicking in a field of excel cells hitting new and having to type in a number So, are you trying to automating Excel too, or it was just an example? Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted September 5, 2018 Moderators Share Posted September 5, 2018 markyrocks, Quote Pretty sure the user agreement allows for the program to be used and manipulated However the user sees fit. But the important question is whether automating it is legal under the rules of this forum? And you seem unwilling to let us know the program you are attempting to automate, which does not give me a warm fuzzy feeling. Also many apps (usually games) have active anti-automation measures, so something of this sort may well be happening here. But unless you give us more details of what exactly you are trying to do we cannot really offer any help in the event that everything is indeed above-board. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
markyrocks Posted September 5, 2018 Author Share Posted September 5, 2018 It's not a game I only mentioned the rules bc I was asking about a wrapper or driver. I just read the user agreement and it doesn't say anything about automation. Its actually like a 3d creation program. How would entering in massive amounts of data help someone win a game? What kinda game would that be? Secretary simulator? Spoiler "I Believe array math to be potentially fatal, I may be dying from array math poisoning" Link to comment Share on other sites More sharing options...
markyrocks Posted September 5, 2018 Author Share Posted September 5, 2018 50 minutes ago, FrancescoDiMuro said: @markyrocks Ok, but your answer didn't reply my question Did you already try AutoIt Window Info Tool? If it does return something, post it here. So, are you trying to automating Excel too, or it was just an example? It's not excel, but the program uses excel type fields to show an item and all the other bits of information associated with those items. Basically like a struct. Yes I've tried the window info tool. Spoiler "I Believe array math to be potentially fatal, I may be dying from array math poisoning" Link to comment Share on other sites More sharing options...
Developers Jos Posted September 5, 2018 Developers Share Posted September 5, 2018 47 minutes ago, markyrocks said: How would entering in massive amounts of data help someone win a game? What kinda game would that be? Secretary simulator? Trying to win the smart-ass of the day award? What about instead being way more specific in what it is you are doing or else please don't bother us with vague questions? Jos FrancescoDiMuro, Fin and Earthshine 3 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
markyrocks Posted September 5, 2018 Author Share Posted September 5, 2018 (edited) 10 minutes ago, Jos said: Trying to win the smart-ass of the day award? What about instead being way more specific in what it is you are doing or else please don't bother us with vague questions? Jos I am attempting to click inside of a text field and enter in information automatically. For whatever reason I'm not able to use conventional methods. Edited September 5, 2018 by markyrocks Spoiler "I Believe array math to be potentially fatal, I may be dying from array math poisoning" Link to comment Share on other sites More sharing options...
Developers Jos Posted September 5, 2018 Developers Share Posted September 5, 2018 ...and you seriously think this is any less vague? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
markyrocks Posted September 5, 2018 Author Share Posted September 5, 2018 I have 4 main forms in a program that I need to enter data. One form I declare variables, another form has their generic names in a list, form 3 basically points to form 4 through a function call pointing at a specific instance on the form, form 4 calls a specific function and passes a variable to a script, the script runs the function.... the program came prebuilt with these systems inplace... I'm using it as intended. I just don't think they expected someone to go through these processes 1000x... Spoiler "I Believe array math to be potentially fatal, I may be dying from array math poisoning" Link to comment Share on other sites More sharing options...
markyrocks Posted September 5, 2018 Author Share Posted September 5, 2018 31 minutes ago, Jos said: ...and you seriously think this is any less vague? Idk how I could get anymore specific than I'm trying to click into a text input box and it won't let me. Spoiler "I Believe array math to be potentially fatal, I may be dying from array math poisoning" Link to comment Share on other sites More sharing options...
aa2zz6 Posted September 5, 2018 Share Posted September 5, 2018 16 minutes ago, markyrocks said: I have 4 main forms in a program that I need to enter data. One form I declare variables, another form has their generic names in a list, form 3 basically points to form 4 through a function call pointing at a specific instance on the form, form 4 calls a specific function and passes a variable to a script, the script runs the function.... the program came prebuilt with these systems inplace... I'm using it as intended. I just don't think they expected someone to go through these processes 1000x... As FrancescoDiMuro suggested did you try the AutoIt Window Info Tool? Link to comment Share on other sites More sharing options...
markyrocks Posted September 5, 2018 Author Share Posted September 5, 2018 1 minute ago, aa2zz6 said: As FrancescoDiMuro suggested did you try the AutoIt Window Info Tool? Yes...tried focusing on the control b4 the controlclick... setup error msgs to see if they were returning successful or not... looked at the documentation 18x times for said functions. Started looking at lower level calls like from user32dll... that doesn't make a difference. Winapi doesn't seem like it would make much difference. So again I'm basically down to the driver level. I can't even get windows 10 to let me custom map a keyboard key through the registry. It just dont work. Spoiler "I Believe array math to be potentially fatal, I may be dying from array math poisoning" Link to comment Share on other sites More sharing options...
Developers Jos Posted September 5, 2018 Developers Share Posted September 5, 2018 Is this a TeamViewer screen you are trying to manipulate? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
markyrocks Posted September 5, 2018 Author Share Posted September 5, 2018 20 minutes ago, Jos said: Is this a TeamViewer screen you are trying to manipulate? No, that's just so I can work from my laptop but use the horsepower of my desktop. It looks like I can use a low level keyboard hook through winapi. Idk if that's really going to help but If i can monitor it I can inject things into it. Is this different than user32dll? I'm guessing no but worth a shot I guess. Spoiler "I Believe array math to be potentially fatal, I may be dying from array math poisoning" Link to comment Share on other sites More sharing options...
caramen Posted September 5, 2018 Share Posted September 5, 2018 I guess we will able to help you a bit more if you tell us : -what is the operating systeme on the host of this application? -what is the application name ? Becose you are on a TeamViewer screen so it will be MAC or PC. And then if you are on a PC you can use multiple way to simulate keystroke in different way of only the send command from autoit. I remember i add a problem like that and i used a virtual keyboard out of microsoft tools. * Also you can use the Microsoft virtual keyboard. W+R > OSK.exe My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki Link to comment Share on other sites More sharing options...
markyrocks Posted September 5, 2018 Author Share Posted September 5, 2018 1 hour ago, caramen said: I guess we will able to help you a bit more if you tell us : -what is the operating systeme on the host of this application? -what is the application name ? Becose you are on a TeamViewer screen so it will be MAC or PC. And then if you are on a PC you can use multiple way to simulate keystroke in different way of only the send command from autoit. I remember i add a problem like that and i used a virtual keyboard out of microsoft tools. * Also you can use the Microsoft virtual keyboard. W+R > OSK.exe Ty. Spoiler "I Believe array math to be potentially fatal, I may be dying from array math poisoning" Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted September 5, 2018 Moderators Share Posted September 5, 2018 markyrocks, As you obviously have no intention of opening up about this app there seems little point in this thread remaining open - so it is closed. You are now firmly on our radar as "uncooperative", so expect similar treatment if you are equally evasive in the future. aa2zz6, caramen, As explained in the Forum rules and in this announcement the Mods take a dim view of people helping while we are trying to determine if a thread is legal - which should be patently obvious in this thread where 2 Mods are involved. You are each suspended for a week "pour encourager les autres". M23 FrancescoDiMuro, Fin and JLogan3o13 3 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts