Hi Ernie, If you go to Terminal you can type or paste $command_t contents to test.
You could also type, "man screencapture" to see the the manual which documents options like -R, which I do not see in High Sierra. My guess is that you need a single quote for path name since it contains space. I will add it for you in the following: $command_t:="screencapture "+$screenRectOption_t+" '"+Convert path system to POSIX($filePath_t)+"'" or the human-readable version: $command_t:="screencapture "+$screenRectOption_t+" "+Char(Quote)+Convert path system to POSIX($filePath_t)+Char(Quote) HTH, Spencer > On Jan 25, 2018, at 10:04 PM, ernie hilgers via 4D_Tech > <[email protected]> wrote: > > Hi Tim Nevels, > > I was trying to make the code work on my mac 10.6 / 10.8 but somehow I am not > getting the snapshot on the desktop. (where I want them, for now) > > I changed some of your code (see below) but I am not sure if I understand if > that makes it work. ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

