Author Topic: copying a script  (Read 4846 times)

Offline budguinn

  • PixInsight Addict
  • ***
  • Posts: 106
copying a script
« on: 2011 May 31 17:08:48 »
Juan referenced a script in this thread:

http://pixinsight.com/forum/index.php?topic=806

How do I take this and turn it into a useable script?

I have a camera that has a bunch of bad columns that don't seem to calibrate out....and this might be useful.

understand that I know next to nothing about script writing/programming.

best regards,

bud

Offline sleshin

  • PixInsight Old Hand
  • ****
  • Posts: 431
Re: copying a script
« Reply #1 on: 2011 May 31 17:22:46 »
Bud,

Try this:

1. Save the code ie copy and paste it into Notepad.
2. Save as a .js file, ie Fix Rows and Columns.js
3. Open PixInsight
4. Select the menu entry "Script|Feature Scripts"
5. Press the "Add" button and select the directory where you saved the .js file

Now the Script can be used from the menu "Script|Utilities|Fix Rows and Columns"

See if that works.

Steve
Steve Leshin

Stargazer Observatory
Sedona, Arizona

Offline budguinn

  • PixInsight Addict
  • ***
  • Posts: 106
Re: copying a script
« Reply #2 on: 2011 June 01 08:16:18 »
thanks steve, I'd just figured it out.....I used the script editor and pasted it into a new .js document and then compiled.
I'd done a search but couldn't quite figure it out....it's amazing how the next morning things tend to work when you couldn't do it the night before.....something about sleep and getting older.

best

bud