Page 1 of 1

Migrating from Win to Mac

PostPosted: Mon Oct 07, 2019 10:45 am
by asr10
Hello,

I switched from Windows to Mac. Almost all of my macros of my database do work, but opening a directory/folder doesnt work.

I really tried a lot, but the idea of

viewtopic.php?f=21&t=99039&p=476128&hilit=+macro+open+folder#p476128
rem---open Folder with content.xml:
oSyShell.execute(workdirfull, "", 0)

delivers an error (its a directory)

and the former way on windows by
oFeld2.TargetURL = url

too (cant open an absolute link).

Since I am a beginner on mac, I kindly ask for help. I am looking for a macro to open a folder in the finder.

Thank you very much and have mercy for my bad english :)

Re: Migrating from Win to Mac

PostPosted: Thu Oct 10, 2019 8:09 am
by Zizi64
Please upload a sample document with the embedded macros here.

Re: Migrating from Win to Mac

PostPosted: Mon Oct 14, 2019 7:28 pm
by asr10
Thank you for the reply.

I guess, it is not an issue with the macro. Infact it is only building the path to the folder, which is to get opened.

I have a button, which is showing the exact path, when you move the mouse over. The properties of the push button are (General) Action....Open document/web page and (Events) Execute action....<macro>

But I get the Warning: "file:///Volumes/space/serverdocs/2019/71-19/" is not an absolute URL that can be passed to an external application to open it. <ok>

I have not changed anything, the database is opening the specific folder on Win7, Win10 and Linux, but on MacOS I get this warning.