Transfer Atom Settings Script

Moderator: SecondMan

User avatar
AndrewHazelden
Fusionator
Posts: 1310
Joined: Fri Apr 03, 2015 3:20 pm
Answers: 2
Location: West Dover, Nova Scotia, Canada
Been thanked: 38 times
Contact:

Transfer Atom Settings Script

#1

Post by AndrewHazelden » Mon May 28, 2018 10:37 am

The "Transfer Atom Settings" script in Reactor allows you to automatically restore your installed Reactor atom packages on another workstation. This script works by saving out a special "Collections" category based atom file that lists each of the installed packages that are present on your system as an atom package format installation dependency tag entry.

When you copy over the new atom file, and install it on another one of your computers the exact same Reactor packages will be loaded.

Installing Transfer Atom Settings

The "Transfer Atom Settings" script is accessible in Reactor's Scripts/Reactor category. Select the Transfer Atom Settings entry and then click the Install button.

1 Installing Transfer Atom Settings.png

Using a Collections Atom

Step 1. Run the Transfer Atom Settings script from the Script > Andrew Hazelden > Transfer Atom Settings menu. A new atom file named com.Local.Reactor.TransferAtomSettings.atom will be saved to your desktop folder.

(If you are on Fusion 9 you can also access this script from the Reactor > Tools > Transfer Atom Settings menu once you have installed this script thanks to the use of a Fusion based .fu menu definition that is set up for you.)

The Atomizer package window will open the newly saved .atom file so you can edit and review the document. You should use this editing session to customize and personalize the Author and Package Name attributes. At this time you can also scroll through the Dependencies section and remove any atom packages from the list you want to omit from the installation process.

2 Atomizer Transfer Atom Settings.png

Step 2. Copy the com.Local.Reactor.TransferAtomSettings.atom atom file into your Reactor:/Atoms/Reactor/ PathMap folder.

The easiest way to navigate to this folder location is to open up the Reactor > Tools > Show Reactor Folder menu item.

3 Reactor Tools Show Reactor Folder Menu.png
3 Reactor Tools Show Reactor Folder Menu.png (46.55 KiB) Viewed 582 times

Then open up the Atoms folder, then open the Reactor sub-folder. Now you can drag a copy of the com.Local.Reactor.TransferAtomSettings.atom file from your desktop into this folder.

4 Installing the Atom.png

You will want to store a copy of the com.Local.Reactor.TransferAtomSettings.atom file in the Reactor:/Atoms/Reactor/ folder location on any of the workstations you want to use the atom package with.


Step 3. Re-open the Reactor window and select the Collection Category. Click on the Transfer Atom Settings file in this view and then press the "Install" button.

You will notice the Author name for this package is set to your user account name @ your host name by default. In this case for my workstation that value is Andrew@PINE.

5 Reactor Collections Atom Category.png

Usage Note

You will have to hit the "Okay" button to continue the installation process as each of the Reactor Atoms are installed that have a "Suggested Donation" field active, and to confirm you want to run any of the Reactor atom InstallScripts.

Example Atom File

Here is an example com.Local.Reactor.TransferAtomSettings.atom file output that was saved by the script:
Code: [Select all] [Expand/Collapse] [Download] (com.Local.Reactor.TransferAtomSettings.atom)
  1. Atom {
  2.     Name = "Transfer Atom Settings",
  3.     Category = "Collections",
  4.     Author = "Andrew@PINE",
  5.     Version = 1,
  6.     Date = {2018, 5, 28},
  7.     Description = [[<p>This atom package is special in that it allows you to automatically restore your previous atom settings on another system.</p>
  8.  
  9. <h2>Usage Note</h2>
  10.  
  11. <p>You will have to hit the "Okay" button to continue the installation process as each of the Reactor Atoms are installed that have a "Suggested Donation" field active.</p>
  12.  
  13. <h2>Installation</h2>
  14. <p>Step 1. Copy this atom to your "Reactor:/Atoms/Reactor/" PathMap folder.</p>
  15. <p>Step 2. Re-open the Reactor window and browse to the "Reactor" Repo and select the "Collection" Category.</p>
  16. <p>Step 3. Click on the "Transfer Atom Settings" file and then press the "Install" or "Update" buttons.</p>
  17. ]],
  18.     Deploy = {
  19.     },
  20.     Dependencies = {
  21.             "com.AndrewHazelden.8ball",
  22.             "com.AndrewHazelden.AtomProbe",
  23.             "com.AndrewHazelden.Atomizer",
  24.             "com.AndrewHazelden.BarrelShape3D",
  25.             "com.AndrewHazelden.BrainfuckInterpreter",
  26.             "com.AndrewHazelden.CaveOfFusion",
  27.             "com.AndrewHazelden.CloseComps",
  28.             "com.AndrewHazelden.Commodore64",
  29.             "com.AndrewHazelden.ConvertMoviesToImageSequences",
  30.             "com.AndrewHazelden.CoopersShape3D",
  31.             "com.AndrewHazelden.FancyAtom",
  32.             "com.AndrewHazelden.FuseScanner",
  33.             "com.AndrewHazelden.FusionCompLink",
  34.             "com.AndrewHazelden.FusionGuiColorSwitcher",
  35.             "com.AndrewHazelden.Fuzionmonger",
  36.             "com.AndrewHazelden.MacroScanner",
  37.             "com.AndrewHazelden.NudgePlayhead",
  38.             "com.AndrewHazelden.OpenACopy",
  39.             "com.AndrewHazelden.OpenInScriptEditor",
  40.             "com.AndrewHazelden.PluginScanner",
  41.             "com.AndrewHazelden.PythonScriptSnippetsForFusionTDs",
  42.             "com.AndrewHazelden.RestartFusion",
  43.             "com.AndrewHazelden.RotateView",
  44.             "com.AndrewHazelden.SlashAtom",
  45.             "com.AndrewHazelden.SlashPing",
  46.             "com.AndrewHazelden.SlashSnapshot",
  47.             "com.AndrewHazelden.Sqlite3",
  48.             "com.AndrewHazelden.TransferAtomSettings",
  49.             "com.AndrewHazelden.UIManagerLuaExamples",
  50.             "com.AndrewHazelden.UnbendableGirder",
  51.             "com.AndrewHazelden.ZebraBarMacroLUT",
  52.             "com.HouseOfSecrets.hos_HeatMap_Ultra",
  53.             "com.HouseOfSecrets.hos_SplitEXR_Ultra",
  54.             "com.HouseOfSecrets.hos_Tiler",
  55.             "com.wesuckless.EyeonLegacy",
  56.             "com.wesuckless.ForumUtilities",
  57.             "com.wesuckless.NotepadPlusPlus",
  58.             "com.wesuckless.ReactorDocs",
  59.             "com.wesuckless.SlashCommand",
  60.             "com.wesuckless.Wireless",
  61.             "com.wesuckless.ffmpeg",
  62.             "com.wesuckless.wintee",
  63.     },
  64. }

User avatar
SecondMan
Site Admin
Posts: 3473
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 5
Location: Vancouver, Canada
Been thanked: 92 times
Contact:

Re: Transfer Atom Settings Script

#2

Post by SecondMan » Mon May 28, 2018 3:26 pm

Works a treat, Andrew!

:cheer: