mergJSON and the ArrayToJSON script

2021-06-11 Thread Chris Heidecker via use-livecode
Hi, In the dictionary I found the ArrayToJSON -script to access mergJSON with a multi-dimensional array. While trying to pass a number as a string I noticed the pForceRootType is not passed along to the enclosed ArrayToJSON function. Adding the parameters does work for my array within an array.

folders() does not return aliases to folders?

2022-06-19 Thread Chris Heidecker via use-livecode
Hi, Aliases to foiders are missing in "the folders" function In the Dictionary for folders: Aliases (on OS X systems), symbolic links (on Linux systems) and shortcuts (on Windows systems) are included in the list only if they refer to a folder. Is it a bug or could it be my mistake? This is on

Re: folders() does not return aliases to folders?

2022-06-19 Thread Chris Heidecker via use-livecode
answer folderList end mouseUp -- I set the defaultfolder and did not use folders(targetFolder) because -- otherwise i would have to construct the filepath for the aliasreference -- put the aliasReference of (targetFolder&"/"& theFile) into theAlias Regards, Chris Heidecker &

Re: Ventura 1.3 - revcopyfile

2023-04-06 Thread Chris Heidecker via use-livecode
Hi, I had some trouble using revCopyFolder, maybe it is related. Looking for a method to move/duplicate folders on MacOS I tried using revCopyFolder. The internal LC appleScript seems to use 'copy folder' in LC9.6.8 On MacOS 12.6.3 that does not work for me. 'duplicate folder' does. Not sure s

Re: Merging PDF pages

2023-08-28 Thread Chris Heidecker via use-livecode
Hi, While applescript is still around, you could use this script. Works pretty well. https://www.macscripter.net/t/applescript-objective-c-handler-to-merge-pdf-files/72534 Regards, Chis Heidecker use scripting additions use framework "Foundation" use framework "Quartz" -- required for PDF stuf