Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 12:47 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: INI Variable Does Not Update When App Loads
PostPosted: July 25th, 2017, 3:29 pm 
Offline

Joined: May 15th, 2015, 8:30 am
Posts: 59
Opus: 9.0
OS: Win 7
System: Icore 7
Hi All
See attached imp file.
The user can define a color background.
The variable is stored, but the selected color is not shown when I close and re-open the publication.
Any ideas anyone?
Yours
Pakapak


You do not have the required permissions to view the files attached to this post.


For this message pakapaka has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: INI Variable Does Not Update When App Loads
PostPosted: July 28th, 2017, 4:42 pm 
Offline

Joined: May 15th, 2015, 8:30 am
Posts: 59
Opus: 9.0
OS: Win 7
System: Icore 7
HI All
Looking for a way to change the background color on all pages and save the color to a variable.

I update the imp file from the previous post...made it more simple.
1. There is a single Frame (myBackground) on a Master slide (will be used for all pages)
2. When the user selects a color, the myBackground frame color changes.
3. The color value (bgColor) is stored in an external ini file (\\Themes\\Theme.ini\"Background", "Color", bgColor)
4. The myBacgkground frame in the Master slide contains an On Show script to get the bgCOlor variable
4. I added a GetINIFileData script to the Homepage (to load the saved color value into the frame)

Problem is that I cannot get the save color to load when I run the publication.
Can anybody please help
Yours
Pakapaka


You do not have the required permissions to view the files attached to this post.


For this message pakapaka has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: INI Variable Does Not Update When App Loads
PostPosted: July 29th, 2017, 11:41 pm 
Offline

Joined: May 15th, 2015, 8:30 am
Posts: 59
Opus: 9.0
OS: Win 7
System: Icore 7
No need to reply to this request.
I solved the problem by adding a missing var statement.
...got it from the Script Help file :)


For this message pakapaka has been thanked by : mackavi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group