I'm seeing the same behavior that @troy is, i.e. the window is not resizable (and is also much smaller than the window screenshotted and has wide borders on the sides, as you can see here):
I Tried MacPorts and it failed saying dCode was not installed correctly.
I re-installed dCode, then installed ImageMagick via Homebrew with no errors.
I changed this 'pref' in the macro:
** Set Variable “scfs_resize” to Text “YES” **
See included screenshot showing the floating screenshot just taken of the browser.
I’m afraid I’m still not sure from your response if this solved the lack of resizability for you. Did it? On my machine, I made sure scfs_resize was being set to YES and it didn’t seem to change anything when I tested the macro again.
I selected
the "Screen Capture - Floating Screenshot (via ImageMagick)" macro
I then selected:
the unique "Custom Floating HTML Prompt" action
Copied it's content to the clipboard.
Created a new macro with a "Custom HTML Prompt" action
Pasted the clipboard
triggered the macro.
I get the same size (small) blank, non-resizable window.
That I got when I ran the full macro.
Hope that helps
It seems you are using the locate program to get the location of identify.
I don’t think this is a good idea. For example on my Mac there is no locate database. Hence the Shell Script action with the locate program spits out a several-lines-long warning text — instead of a valid path! That string is than used in the subsequent Shell Script action, which will gloriously fail, of course. (At least you should set that action to “abort/notify on failure”, or, better, make a sanity check for the output of locate.)
It is possible that the other users have the same problem. (?)
You — and any user of your macro — can set the paths for shell programs in KM’s ENV_PATH variable. The variable should contain — amongst others — /usr/local/bin, which is the default path for Homebrew-installed tools, and probably MacPorts, too.
I inserted a ‘new’ Custom Prompt with HTML text action into the macro.
Copied your text above into it, and disabled the original ‘Prompt’ step.
and - I get the same small, un-resizeable window.
Thank you @Tom for pointing weakness using locate to find ImageMagick installation path with a simpler and better solution.
Here the default path for MacPorts is /opt/local/bin
Although my goal was not to design a bullet proof auto-install macro, without the necessary means to test with many software/hardware configurations, I will switch to KM's ENV_PATH variable method in the next version.
Paths at the beginning have preference over the later paths. So the important thing is to have the paths where the system's default tools are installed (/usr/bin, /bin, etc.) towards the end. Otherwise your custom tools (i.e. the ones installed by Homebrew/MacPorts) will not be used.
The above is just an example, there might be better solutions. At the end it’s a decision of the user. For example if — for any reason — you are installing the same programs with Homebrew and with MacPorts you have to decide which ones to give preference to.
I tried your earlier suggestion to @troy to essentially recreate the Custom HTML Prompt in KM8, but it only resulted in an identical action. However, once I followed @peternlewis’s tip about making sure the “Resizable” option in the prompt’s gearbox menu was checked, the action, and subsequently the macro itself, worked as I expected. I don’t know how you made sure the prompt window was resizable in KM7, but perhaps the resizable option gets un-checked going from KM7 to KM8? Either way, at least it seems to have turned out to be an easy fix