Comments (4)
I downloaded ImageAlpha and tried moving the slider using cliclick, which worked perfectly (given the window size and position on my screen, it was cliclick dd:644,396 du:730,396
).
What exactly were you trying to drag?
from cliclick.
I was trying to drag a png file from a Finder window and drop it in the ample space where you can open files in ImageAlpha.
I can see a blinking selection of the file png in the Finder window (so dd:. should work...), then the cursor moves over ImageAlpha window on the left and at the right point, but the file is not dragged.
I was wondering if it might be an activation problem of two different applications (Finder/ImageAlpha), because if I drag a file or a folder between two Finder windows (so the same application) everything works.
I even tried to use some different w:250 thinking could be a delay problem (a couple of times it has been decisive) or write a dd:x,y c:x,y (click over ImageAlpha window) du:x,y … nothing seems to work. And I have no idea, maybe it's right that doesn't work, maybe not.
Cliclick 3.0, OS 10.8.5
from cliclick.
It is difficult to give a general advice for cases like these, as it not only depends on the applications involved, but also on the foreground application and other factors.
But in this case, you might be right in assuming that activation is a key issue. If you invoke cliclick from the shell and the Finder is not in the foreground, you will probably have to click somewhere in the Finder to get it to the front. I just tried what you described (drag a file to ImageAlpha), and found that it doesn’t work when just using dd
and du
, but did work when starting with a simple click before the drag down:
cliclick c:1581,233 dd:. du:1013,431
from cliclick.
Thanks, actually I had achieved my goal (with ImageAlpha) by following a different procedure, but your advice is in any case useful.
from cliclick.
Related Issues (20)
- Commands "kp:enter" or "kp:tab" doesn't work on macOS Big Sur HOT 1
- Clicks not working on second desktop
- Fails silently when missing Accessibility permissions
- Cliclick is not working anymore HOT 2
- It doesn't seem to work on Xcode, I don't know if I formatted it wrong HOT 1
- Case in first character in type (`t:`) command is not respected HOT 2
- run with macOS "Shortcuts.app" HOT 3
- "The command terminated due to receipt of a signal." HOT 15
- How to schedule a task ? HOT 1
- sending spacebar to mpv HOT 2
- Hold down any key? HOT 2
- kp: doesnt work (MacOS 12.6.2) HOT 3
- -e option argument not applying to subsequent dm commands HOT 2
- Trouble sending to windowed application HOT 1
- cp:x,y HOT 1
- The "move" command doesn't work anymore (macOS Monterey 12.6.3) HOT 9
- Issue with move parameter and macOS Catalina HOT 5
- More options for mouse speed movement HOT 1
- Ventura 13.6 update - no longer recognizing cliclick codes HOT 3
- Key-list incomplete? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cliclick.