Renaming a background using script

Mark Swindell mdswindell at cruzio.com
Tue Apr 13 10:30:24 EDT 2010


Hi Charles,

Wouldn't  ........ put vMySchool into field "schoolSystem" of card whichEver..........    work?

Set the sharedText of field "schoolSystem" to true?

Mark

On Apr 13, 2010, at 7:22 AM, charles61 wrote:

> 
> Sarah,
> 
> Thanks but your suggestion does not work in my situation. This is because I have a field named "school system" that I have grouped and made as a background so that it appears on a number of cards. The idea is to change by code the name in the field to reflect the name of a school system. I was trying to code a preference so the user could customize the heading in an app that reflects the name of the school or school system that uses the software.
> 
> Charles Szasz
> cszasz at mac.com
> 
> 
> 
> 
> On Apr 12, 2010, at 5:42 PM, Sarah Reichelt-2 [via Runtime Revolution] wrote:
> 
>> On Tue, Apr 13, 2010 at 7:15 AM, charles61 <[hidden email]> wrote: 
>>> 
>>> I have searched through Rev's documentation and could not find any way to 
>>> rename background using a script. Anybody have any experience with setting 
>>> or renaming a background using code? 
>> 
>> I would assume that this would work: 
>> 
>> set the name of group "Blah" to "Whatever" 
>> 
>> or 
>> 
>> set the name of group ID 1234 to "Whatever" 
>> 
>> Cheers, 
>> Sarah 
>> _______________________________________________ 
>> use-revolution mailing list 
>> [hidden email] 
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: 
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
>> 
>> View message @ http://n4.nabble.com/Renaming-a-background-using-script-tp1837751p1837774.html 
>> To unsubscribe from Renaming a background using script, click here.
>> 
> 
> 
> -- 
> View this message in context: http://n4.nabble.com/Renaming-a-background-using-script-tp1837751p1838476.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list