I went ahead and took a stab at this -- hopefully this is the best day of your life!!
It adds two action handlers to Hype -- an "Exit" and "Ad Event" action. Right now it only supports one exit. The Ad Event takes an argument which should be a number corresponding to an event number that I assume is setup when making the ad.
Unfortunately I don't have an Adfox account, so if you don't mind it would be great if you could test this. Please use these manual install instructions:
-
Download the export script from:
https://raw.githubusercontent.com/tumult/hype-export-scripts/Adfox/Adfox/Adfox.hype-export.py
(you may need to hit option-return in the browser to get the file to download) -
Open the /Applications/Utilities/Terminal.app and enter in this command:
open ~/Library/Application\ Scripts/com.tumult.Hype4
This will open the Applications Scripts folder; alternatively you can get to this via Hype's Preferences > Exporting > Show Export Scripts Folder in Finder
-
Make an
Adfox
folder inside thecom.tumult.Hype4
folder, and then move theAdfox.hype-export.py
file into that -
Back in the Terminal, enter this command:
chmod 755 ~/Library/Application\ Scripts/com.tumult.Hype4/Adfox/Adfox.hype-export.py
This will give the export script permission to run.
It should be installed now. In Hype, you should be able to choose the File > Export as HTML5 > Adfox… menu item.
Please let me know if this winds up working or not. If so, I can make an installer and publish. Thanks!