Andromo - Start Making Apps - Free Signup

Announcement

Collapse

New Forum Software

If you're here, you've found the new home for our forums. There will be some bugs to iron out, so thanks for your patience...
See more
See less

Copy Fonts

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Copy Fonts

    Any of you know an easy way to copy fonts using AMS? You can't do it with a regular dialog populating a table or whatever. I mean, I can do it in Explorer and all that, but I want a "user friendly" dialog to just select a font to copy to a source folder - then register later. None of the dialogs will do this (not AMS' fault).

    Worm? Maybe a dll that would override the system aspects of the fonts folder? Any advice would be appreciated.
    Regards,

    -Ron

    Music | Video | Pictures

  • #2
    What about using System.RegisterFont?

    From the help file...
    fonts_dir = Shell.GetFolder(SHF_FONTS); -- Gets the path to the user's Font directory.
    System.RegisterFont(fonts_dir .. "\\myfont.ttf", "Crazy Font", true);

    The first line uses the Shell.GetFolder action to get the path to the user's Font directory and stores it's path in the variable "fonts_dir." The second action permanently registers the font file named "myfont.ttf" on the user's local system with the name "Crazy Font."
    Eric Darling
    eThree Media
    http://www.ethreemedia.com

    Comment


    • #3
      Nope. This is what I will use to "install" the particular font to the new user's system, I got that, thanks Eric. I want to know if there's a way to do step one; and that's copy the font to the source folder (or whatever) first.

      Give it a try. You can't simply copy a font using an AMS dialog. It doesn't work.
      Regards,

      -Ron

      Music | Video | Pictures

      Comment


      • #4
        Anyone?
        Regards,

        -Ron

        Music | Video | Pictures

        Comment


        • #5
          Could one zip them and then deal with them as zip files, only extracting at the last step of the process? An idea anyhow...

          Corey Milner
          Creative Director, Indigo Rose Software

          Comment


          • #6
            Yes one could...neat idea. I'll give this a shot, thanks.
            Regards,

            -Ron

            Music | Video | Pictures

            Comment

            Working...
            X