I tried set value on slider. I can connect to it. But then I try set value catch _ctypes.COMError: (-2146233079, None, (None, None, None, 0, None))
I tried this, but it not helps.
How can I set value on slider
597 Views Asked by Denis_N At
1
There are 1 best solutions below
Related Questions in PYTHON-3.X
- Update a text file with ( new words+ \n ) after the words is appended into a list
- Kivy - Create new widget and set its position and size
- TypeError: encoding or errors without a string argument
- How to print varible name in python
- PyQt, Python 3: Lambda slot assigning signal argument to a variable?
- How to write data to stdin of the first process in a Python shell pipeline?
- pygame.draw.circle, still draws a square
- Duplicate Frames Created When Calling a Function in a Tkinter Application
- Python TypeError: can only concatenate tuple (not "int") to tuple
- recursively editing member variable: All instances have same value
- missing 1 required positional argument: 'key'
- How do I fix this sorting error?
- Dictionary values missing
- Why does opening a file in two different encodings work as expected?
- Binary bit flip generator in python
Related Questions in COM
- Possible consequences of duplicate ProgId for different classes
- Open array declaration lost when regenerating interop.dll with tlbimp.exe from type-lib
- How does a server that expose COM functions via IDispatch can distinct between different clients that Invoke functions without passing any ID param?
- Call IConnectionPoint::Advise cause a crash
- Is it safe to cast a IDispatch* into an IUnknown*, without using QueryInterface, for interprocess COM objects?
- Custom HRESULT from COM component
- Return multiple variables to JavaScript from COM
- How to read from exchange server asynchronously using IMoniker and IStream Interface
- How can a dialog become responsive while waiting for a call to DoModal() to return?
- ICallFactory with 32-bit and 64-bit type libraries side by side
- Report generation in server
- What is required in Delphi 2007 to use Variant arrays?
- How to convert string array to SAFEARRAY or VARIANT or COleVariant?
- ArcObjects ExcelWorkspaceFactory Won't Release Excel File
- Calling a method of a WMI Class
Related Questions in PYWINAUTO
- PywinAuto and the disappearing control Identifier
- Can't spy on CheckListBox with AutoIt
- How to automate pop up window click OK button?
- Pywinauto 0.6.0 access browser URL in edit control for Firefox
- How to set value in text box using pywinauto?
- print_control_identifiers() error in pywinauto
- How to get a window with certainty without using the id automation
- Control a hidden menu behind a button with pywinauto
- How to doubleclick a listview item with pywinauto?
- Pywinauto - COMError when selecting tabs
- pywinauto change application name
- Why does a right click sent from pywinauto not change the state of the grayed out connect button in informatica, but a real mouse button click does?
- Use PyWinAuto and Python to monitor a script being run
- How to get the current URL from Chrome using pywinauto 0.6
- Pywinauto to control the media player
Related Questions in UIA
- Can we "click" on edit boxes using Microsoft UIAutomation libraries
- pywinauto print_control_identifier() shows the element but cannot get it with ElementNotFoundError
- UI Automation on session 0
- UIAutomation failing to find child nodes
- Pywinauto: Tree information lost after close of system dialog
- Finding Missing Control Identifiers in Microsoft Minesweeper using Pywinauto
- How to add the UIA ExpandCollapse pattern in Qml
- Microsoft UI Automation framework in Javascript
- Which support team in microsoft should I reach out for Windows Automation API issues?
- Firefox fails tree traversal, further investigation shows messed tree hierarchy
- Which Accessibility APIs can be used to enable Chrome and Firefox? UIA does not work well and breaks often
- C# UI Automation: Current.Name returns empty string
- System.Windows.Forms.ListView Check box is not recognized by UIA verrify
- Mono didn't find UIA Bridge, but the packages are already installed
- Can't access element in PyWinAuto using child_window()
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Hmm... This is interesting. We have working unit tests for standard WPF slider. See test_uiawrapper.py, line 780 for reference.
Everything looks the same in Inspect.exe also. But for WpfApplication1.exe it works.
[EDIT] Wait! You pass int number to
set_value(...), how aboutfloatorstr?P.S. I can suggest a workaround since you should have "thumb" control as a child of the slider:
slider.children(control_type="Thumb")[0]. You can play with rectangles of the slider and the thumb (.rectangle().mid_point()), then useclick_input(coords=(x, y), absolute=False)with relative coordinates calculated for specified value. Or even.drag_mouse_input(...)is better, because one click should call just a small move in the direction of click.