Skip to content
This repository has been archived by the owner on Jul 12, 2019. It is now read-only.

cyberpunklibrarian/Polaris-Portal-Slide-Code-Generator

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
Polaris Slide Code Generator

Written using AutoHotkey (www.autohotkey.com)

This script is specific to the Polaris ILS portal page where things can be added for the library using it. It's basically the front page of the PAC, though this script could create code to add anywhere within the system. It's a simple script that generates the code necessary to add slides, or any other timed event, to the Polaris powered PAC site. Written in Autohotkey, you fill out the form to generate C# code for an ASPX page running in Polaris' ASP/.NET environment. The code generated is of this format:

<% System.DateTime SLIDECODEStartDate = new System.DateTime(2015, 01, 01);
   System.DateTime SLIDECODEEndDate = new System.DateTime(2015, 02, 27);
   if (DateTime.Now > SLIDECODEStartDate && DateTime.Now < SLIDECODEEndDate) { %>
                <a href="LINK TO URL OR EVENT"><img src="PATH TO SLIDE/SLIDENAME.JPG" width="740" border="0" alt="ALT TEXT"></a>
<%}%>

While this code is specific to my needs at the library I work for, modification to the generated code are pretty easy, just change the things you need to change. I'm happy to help with questions.

Daniel Messer
cyberpunklibrarian@gmail.com
@bibrarian
google.com/+DanielMesser

About

A code generator for slides for the Polaris ILS PowerPAC and web portal.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published