Sponsored Content
Full Discussion: Help with xdotool and XOJO
Top Forums Shell Programming and Scripting Help with xdotool and XOJO Post 303001877 by sbrady on Sunday 13th of August 2017 12:51:40 PM
Old 08-13-2017
Xdotool

here is what I am using that does not work. Am I on the right track, I want to move a window, then I want to resize the window

Code:
  Dim br As New Shell()
  br.Execute ("xdotool getactivewindow windowmove 100 100")

xdotool windowsize 123 800 600

 

We Also Found This Discussion For You

1. Ubuntu

Wildcard with xdotool

The window id for the particular popup window is different each time, so this scripts often does not work. Is there a way I could use a wildcard ? Ex. xdotool key --window 1677*.* alt+F4 or go through all the relevant window IDs and filter what I need and discard the rest. This... (15 Replies)
Discussion started by: drew77
15 Replies
shell(1F)							   FMLI Commands							 shell(1F)

NAME
shell - run a command using shell SYNOPSIS
shell command [command] ... DESCRIPTION
The shell function concatenate its arguments, separating each by a space, and passes this string to the shell ($SHELL if set, otherwise /usr/bin/sh). EXAMPLES
Example 1 A sample output of shell command. Since the Form and Menu Language does not directly support background processing, the shell function can be used instead. `shell "build prog > /dev/null &"` If you want the user to continue to be able to interact with the application while the background job is running, the output of an exe- cutable run by shell in the background must be redirected: to a file if you want to save the output, or to /dev/null if you don't want to save it (or if there is no output), otherwise your application may appear to be hung until the background job finishes processing. shell can also be used to execute a command that has the same name as an FMLI built-in function. NOTES
The arguments to shell will be concatenate using spaces, which may or may not do what is expected. The variables set in local environments will not be expanded by the shell because "local" means "local to the current process." ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
sh(1), attributes(5) SunOS 5.11 5 Jul 1990 shell(1F)
All times are GMT -4. The time now is 04:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy