Author Topic: scripts not showing in the menubar  (Read 3362 times)

Hans Pleijsier

  • Guest
scripts not showing in the menubar
« on: 2011 December 31 02:06:52 »
Trying to import Enzo's /Juan's script for file-sizing using the feature_script option.
Without any result: the script is not part of the optionlist afterwards.

PI 1.7.4 / 64 bits / MacOSX

Offline Jack Harvey

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 975
    • PegasusAstronomy.com & Starshadows.com
Re: scripts not showing in the menubar
« Reply #1 on: 2011 December 31 06:13:42 »
I am having some script trouble also.  I can open and compile, but not run Kai's CalAlign script in Mac 64.  Ran fine in Mac 32 previous ver.

I get Error:  line 1; include file not found:  pjsr/Sizer.jsh
Jack Harvey, PTeam Member
Team Leader, SSRO/PROMPT Imaging Team, CTIO

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: scripts not showing in the menubar
« Reply #2 on: 2011 December 31 11:48:58 »
Hi Hans,

There's a little bug in the script, very easy to fix. Open it in PixInsight with Script Editor. Line #32 of the script is:

#feature-id    Utilities > ImageInsert

It should be:

#feature-id    Utilities > WriteJPEGWithSizeConstraint

Save the script and regenerate the featured list with Script > Feature Scripts > Regenerate. Now it appears under the Script > Utilities category.

All the best for 2012 to everybody!
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Enzo De Bernardini

  • PTeam Member
  • PixInsight Addict
  • ***
  • Posts: 274
  • Resistance is futile.
    • Astronomí­a Sur
Re: scripts not showing in the menubar
« Reply #3 on: 2011 December 31 13:41:54 »
Ooops. I will repair the error.

Sorry  ;)

Hans Pleijsier

  • Guest
Re: scripts not showing in the menubar
« Reply #4 on: 2012 January 01 03:31:13 »
Juan, Enzo,

Customer support at PI ... second to none.

Happy new year, Hans.