Jump to content

Program wont accept simulated keystrokes...


Recommended Posts

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.   

Link to comment
Share on other sites

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....

Link to comment
Share on other sites

@markyrocks
Ok, but your answer didn't reply my question :D

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:

 

Link to comment
Share on other sites

  • Moderators

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

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

50 minutes ago, FrancescoDiMuro said:

@markyrocks
Ok, but your answer didn't reply my question :D

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.

Link to comment
Share on other sites

  • Developers
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

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

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 by markyrocks
Link to comment
Share on other sites

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... 

Link to comment
Share on other sites

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

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. 

Link to comment
Share on other sites

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.  

Link to comment
Share on other sites

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 - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Link to comment
Share on other sites

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. 

Link to comment
Share on other sites

  • Moderators

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

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...