Script Improvement Advice
Paul Charlesworth
pcharles at chartermi.net
Thu Jun 5 15:27:01 EDT 2003
Hi Stephen:
I'm looking at the custom properties explanation in the manual, which
says I can create a property and fill it full of data, and even store
files (now that would be helpful if I ever add images of the elements).
Then my few days of learning to program kicks in and I get a little
confused with what comes next. Do I create that property using script
or the property inspector? If so, how and how do I call it?
Thanks,
Paul
On Thursday, Jun 5, 2003, at 14:57 America/Detroit, Stephen Quinn
Barncard wrote:
> Why hasn't anyone suggested user properties for this? Hidden fields
> aren't needed for this! This is an example of a good use for them....
>
>
>> Paul,
>>
>> There's a minor problem with a part of my script...the field is
>> locked. So, in order to edit it, you would have to first unlock it.
>> Sorry...I missed that little detail. ;=)
>>
>> Perhaps a better way, anyway (since you would be allowing the "user"
>> to change things), would be to create a text file to hold the data,
>> formatted in the same manner. On openStack, this file could be
>> opened, read and placed into the hidden field. Then, remove the "if
>> the oprionKey is down" portion of the code in the card and leave the
>> field hidden. This approach would also allow the user to save those
>> changes to the text file when he/she closes the stack...assuming
>> you'll be building a standalone from this.
>>
>> Best Regards,
>>
>> Tim Ponn
>>
>>
>> Paul Charlesworth wrote:
>>
>>> Cool! I'll need to read a little more to understand the "getline"
>>> part of the script, but the idea of allowing an end user to edit the
>>> content would be useful if they want a different number of sig figs
>>> for example. Not only that, but it would save me a lot of "put" and
>>> "set" commands.
>>>
>>> Thanks,
>>>
>>> Paul
>>>
>>>
>>> On Thursday, June 5, 2003, at 09:12 AM, T. R. Ponn wrote:
>>>
>>>> Hello Paul,
>>>>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list