Unix/Linux Go Back    


Shell Programming and Scripting BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

Help with xdotool and XOJO

Shell Programming and Scripting


Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 5 Days Ago
sbrady sbrady is offline
Registered User
 
Join Date: Sep 2015
Last Activity: 13 August 2017, 3:52 PM EDT
Location: Virginia Beach
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Help with xdotool and XOJO

I am trying to place and size a window on Mac using XOJO as my coding app. I am NOT in Terminal. Needs to be run as a shell I guess, but I don't know how to get the variable or set the variable.

Here is a line of code that opens a folder:

Code:
Dim sh As New Shell()
  sh.Execute("open /Users/shawn/Desktop/ATP")

how do I get the xdotool to place a size the active window.

Code:
xdotool getwindowpid
xdotool windowmove
xdotool windowsize

Moderator's Comments:
Help with xdotool and XOJO Please use CODE tags as required by forum rules!


---------- Post updated at 09:12 AM ---------- Previous update was at 09:05 AM ----------

ok mister moderator......dang pesky newbies.....#%$©∑´˙¡™£

Last edited by sbrady; 5 Days Ago at 09:11 AM.. Reason: Added CODE tags.
Sponsored Links
    #2  
Old Unix and Linux 4 Days Ago
sbrady sbrady is offline
Registered User
 
Join Date: Sep 2015
Last Activity: 13 August 2017, 3:52 PM EDT
Location: Virginia Beach
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
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

Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes



All times are GMT -4. The time now is 01:04 AM.