Author Topic: Add Script as a Process Icon?  (Read 2142 times)

Offline joelshort

  • PixInsight Addict
  • ***
  • Posts: 260
    • Buckeyestargazer.net
Add Script as a Process Icon?
« on: 2018 April 27 16:47:29 »
Is it possible to add the NoiseEvaluation script as a process icon on my workspace?
Joel Short
www.buckeyestargazer.net
CFF135 f6.7, SV80ST, G3-16200M, QHY163M, QHY183M

Offline RickS

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1298
Re: Add Script as a Process Icon?
« Reply #1 on: 2018 April 27 20:45:34 »
Hi Joel,

I faked up an XPSM file that works for me (attached.)  Load or merge it as an icon.  When you double click it, it will display a script dialog.  Click on the Apply Global symbol and voila!

Cheers,
Rick.

Offline joelshort

  • PixInsight Addict
  • ***
  • Posts: 260
    • Buckeyestargazer.net
Re: Add Script as a Process Icon?
« Reply #2 on: 2018 April 28 04:58:09 »
PERFECT! Thanks!  You can also just drag the icon over the image which is what I wanted to do. 

Can anyone do this in PI, or do you have some secret mojo knowledge to be able to make an XPSM?
Joel Short
www.buckeyestargazer.net
CFF135 f6.7, SV80ST, G3-16200M, QHY163M, QHY183M

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Add Script as a Process Icon?
« Reply #3 on: 2018 April 28 08:53:47 »
they are just XML files, which are text files... if you have a little bit of programming experience you will be able to figure out what they do and hack them a little bit.

rob

Offline RickS

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1298
Re: Add Script as a Process Icon?
« Reply #4 on: 2018 April 28 14:29:01 »
they are just XML files, which are text files... if you have a little bit of programming experience you will be able to figure out what they do and hack them a little bit.

Yup.  I just made an icon for another script (one that had a UI that supported saving process icons) and then modified it in a text editor.