I even tried copying and pasting in the name to be sure I have it there correctly. I can't figure out why it is saying the file doesn't exist. Any ideas?
First of all – don't trust what the action says – test it – and make darn sure both your macro and macro group are active. (I should have put a otherwise action in my macro below to play a different sound if the file was not found.)
This works perfectly for me on my macOS 10.12.6 Sierra system:
Using the Keyboard Maestro Editor's Share to Forum function uploads an image of the selected item in the editor (the complete macro or the selected actions) and the associated macro/action file.
Copy As Image works nicely in the editor as well and produces better copy than screenshots.
⠀⠀⠀⠀⠀⠀⠀
Please post complete macros if at all possible, because it's not fair to ask anyone to debug your work by eye and not give them an opportunity to test it directly.
Hi @ccstone, I recall now that this came up as an issue not that long ago. It almost calls for something like a refresh button next to what’s displayed, rather than have to try/test the action.
Thanks for all the replies. I didn't know I could drag the file into the window, so I tried that. For this test I put it into my Downloads folder just to try someplace else with a short path with no spaces in the name. Below is a screen shot of what KM put in when I dragged it from Finder:
As you can see I even created a new test macro to test it. I also tried running it and "trying" it and neither worked.
Since I don't want to do a useless upload trust me that I also tried changing "something exists" to "a file exists" and both ran it and "tried" it again with the same results.
I am on KM 8.2.4.
I haven't upgraded from that as this is doing everything I want (up until now. :-))
BTW, just to show you it is calculating, I changed it to a file does not exist and it instantly turns to true. So it is certainly evaluating it. And, as I said, this was with me dragging the file from Finder into the file's path field. So I can repeat it with different files in different macros with different test conditions.
@Stuart, I can confirm, like the above posters, that this KM Condition does work as advertised. The fact that you are observing a different behavior suggests it is something specific to your Mac.
Is your Documents folder stored in iCloud? If so, it is likely that the system is lying to you about where the file really is, and not keeping its lies straight when talking to Keyboard Maestro.
In the Terminal, try the command:
ls ~/Documents
and if that looks like; try:
ls ~/'Documents/Winter … Bill.pdf'
(copying the path from Keyboard Maestro, and enclosing it in quotes as shown (do not include the ~/ at the start in quotes or it will not work).