Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 982827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T04:45:38+00:00 2026-05-16T04:45:38+00:00

I want to put an alias to a fixed folder, namely the iWorks template

  • 0

I want to put an alias to a fixed folder, namely the iWorks template folder into a DMG.

The directory is

/Users/USERNAME/Library/Application Support/iWork/Pages/Templates/My Templates

My Problem is, that I want to put it into a DMG so people can easily install the template. But while it works fine with the Application folder, the template folder always has my username in it. So if someone else opens it, the alias points to the dir with my username, which of course does not exist on a different mac.

Does anyone have any idea how to fix it?

Thanks.


Combining all of your comments to the following I get a droplet working the way I want.

on open thefiles    
    set outputFolder to (path to application support folder from user domain as text) & "iWork:Pages:Templates:My Templates:"
    do shell script "/bin/mkdir -p " & quoted form of POSIX path of outputFolder
    tell application "Finder"
        duplicate thefiles to outputFolder
    end tell    
end open

The Problem is, while it works on my mac, I can not use it being inside the DMG file. I can not Drag anything on it. Any ideas?

Thanks so far.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T04:45:38+00:00Added an answer on May 16, 2026 at 4:45 am

    The ~ folder represents the users home directory. So your folder would be ~/Library/Application Support/iWork/Pages/Templates/My Templates.
    In response to your comment: I am not sure if this is possible. You could try ln from Terminal. It is a utility for making links. But I think it just converts ~ to the actual path of your home directory when you use it. And I think you would have to make a symbolic link as apposed to a hard link, which some file systems might not support (All macs should though). Another possibility would be to make a simple Applescript droplet that uses a shell script to move the file you drag onto it to the path you want. Paste the following code into script editor and save it as an Application or Application Bundle (doesn’t matter which):

    on open thefile
     do shell script "mv " & POSIX path of thefile & " ~/Library/Application\ Support/iWork/Pages/Templates/My\ Templates/"
    end open
    

    When you drag a file to the application you made it will move it to your directory. You could change the icon by right clicking on the app and selecting “Get Info”, then pasting the new icon on top of the old one, to make it look more like a folder.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to put my dependent files in the app directory. I seem to
I want to put individual JComboBoxes into each cells of a JTable. ie. The
I really want to put in some sort of section handler into App.config that
There is an svg file I want put into my cfm page. Safari can
I want to put my two functions into one. They look like this now:
I want to put command option of rsync into a variable so I can
I have a page layout for my MOSS '07 site that I want put
I want to put a copyright notice in the footer of a web site,
I want to put random output from my result set (about 1.5 mil rows)
I want to put some common information in my MasterPage to be shown on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.