Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Get( DesktopPath ) on Mac

Featured Replies

I've built a solution that makes use of the Get( DesktopPath ) function. For all of the machines running the system except one, this works fine. This is happening on Macs across the board.

For those machines under which this is working, the function returns something like this:

/Aslan/Users/chuck/Desktop/




However, on one machine, and only on this one, it returns something like this:




/chuck/Desktop/

Has anyone else experienced this kind of behavior? Can anyone offer an explanation as to its possible origin? One difference that it is not due to is that one runs under an Admin account and the other does not. I tested this under both types of accounts on my machine and the function returned the correct result.

Thanks,

Chuck

Which version of OSX are the machines running? Seems like a scope issue.

  • Author

I believe that all are running some iteration of Tiger, but I'll double-check.

Thanks,

Chuck

  • Author

The system with the odd behavior is running 10.4.10, as is mine.

  • Author

This is a FileVault issue.

The client sent a screenshot of one of her Finder windows and it showed the home folder icon in the sidebar, which had the FileVault icon. I created an encrypted account on my computer and tested Get( DesktopPath ) and it returned

/encrypted/Desktop/
 rather than 
/Aslan/Users/encrypted/Desktop/
.



I find it odd that the path returned even in the "correct" instance includes the volume name in the path. If I had never seen what was returned, I would have expected 
/Users/username/Desktop/

without the volume name (what the shell would return from pwd with the addition of the trailing slash). Regardless, passing the default value to a plugin resulted in correct behavior when logged in under a normal home folder.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.