Skip to content

How to use result of query inside another command? #268

Answered by LGUG2Z
tupini07 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @tupini07,

In this particular situation, I believe you may be able to use this command which targets the focused workspace before changing the padding:

Adjust container padding on the focused workspace

Usage: komorebic.exe adjust-container-padding <SIZING> <ADJUSTMENT>

Arguments:
  <SIZING>      [possible values: increase, decrease]
  <ADJUSTMENT>  Pixels to adjust by as an integer

However, for more complex uses of subqueries, I think your best bet will be to wrap the command in a PowerShell script and then use AHK to call the script file.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tupini07
Comment options

Answer selected by tupini07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants