MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

"Autoload in AddOns" doesn't load?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg38766] "Autoload in AddOns" doesn't load?
  • From: "Borut L" <gollum at email.si>
  • Date: Fri, 10 Jan 2003 04:33:17 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Helo, I have a bit of a problem with auto-loading my code.

I've put a directory MyProcedures in Mathematica/4.2/AddOns/Autoload
directory, and into it a file Quickie.m and a directory Kernel with a
decleration file init.m. Now, in file Quickie a function MakeAGif is
declared, which works ok when starting Mathematica.

MakeAGif[name_String, dir_String, src_] :=
    (
      SetDirectory[dir];
      Export[name, src, "GIF",
          ConversionOptions -> {
              "Transparency" -> RGBColor[1, 1, 1],
              "Disposal" -> Background,
              "Loop" -> True}
          ] // Timing
      );

There is also a variable animeClosePlay declared, which should be used
'post-ani', ie "animation generator" // animeClosePlay, but this does not
work!

animeClosePlay:=
(
  SelectionMove[EvaluationNotebook[], All, GeneratedCell];
  FrontEndTokenExecute["OpenCloseGroup"];
  FrontEndTokenExecute["SelectionAnimate"];
 )


I guess my understanding of what is acctually happening here, lacks
something.

Help me please.


Borut Levart
Slovenia




  • Prev by Date: Re: successive over relaxation
  • Next by Date: Re: _ interpreted as pattern
  • Previous by thread: Re: FileNameDialog
  • Next by thread: RE: "Autoload in AddOns" doesn't load?