Source Count
4 posts
• Page 1 of 1
Posts: 13
Joined: Fri Mar 02, 2012 2:43 pm |
I am not able to select my other sources, of which I show three. In checking the script named "select/deselect source (number)". Debugging shows that the global variable $$sc_SourceCount does not contain a value, which is faulting the script. I have searched for where this value is being set to start with and cannot find where his is occurring. If anyone knows, please advise. Thanks.
|
Hi Robert,
That variable itself gets set in the script: Insert iCal File Into Calendar { Use Existing Data } which is part of the main calendar refreshing routine. It counts the different $$sc_SourceName[] variables which are set at start-up. Here's some shots of the scripts in play. hth, Jason |
|
Posts: 13
Joined: Fri Mar 02, 2012 2:43 pm |
I see. However, I am not using the iCal feature, as users are on Windows 7. I had disabled all of the steps to prevent insertion of my own iCal content (as I work on a Mac), while I work on the client file. Is there a safe way to disable iCal without affecting the source count? Is it safe to disable certain parts of this script, but just leave the source count steps enabled? Granted, that on Windows PC this would not insert iCal content anyway, but I would prefer to reduce any scripts that don't need to be run - to reduce the processing overhead.
|
Hi Robert,
Removing any iCal source layouts is the best way to disable this. So you could remove Source No 2 and then start your next FM source and No 2. or just rename it to WAS Source No 2. The scripts key off the "Source No" in the layout name, so having them ignore the layout is the easiest thing. We talk about this a bit here: http://www.seedcode.com/pmwiki/pmwiki.p ... ndar.Speed Let me know if that helps, -Jason |
|
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests