opening stack "revStandaloneSettings" in a script [was:error in test contion
J. Landman Gay
jacque at hyperactivesw.com
Thu Nov 7 13:19:13 EST 2013
On 11/7/13 11:35 AM, Dr. Hawkins wrote:
> On Thu, Nov 7, 2013 at 9:17 AM, Mark Wieder <mwieder at ahsoftware.net> wrote:
>
>> ? Do you really need to modify the revStandaloneSettings stack ?
>> I thought your goal was to change the settings of the target stack.
>> And in that case you want to look at the cRevStandaloneSettings of the
>> target stack.
>>
>
> When opening, I check to see if the program file name ends in livecode,
> indicating that I'm in the IDE (is there a better way?).
Check "the environment". If it's "development" then you're in the IDE.
>
> If so, I build the revision numbers from the filename and set the values in
> revStandAloneSettings, and then send those fields closeField messages to
> cause the changes to actually happen.
>
> I just got tired of repeatedly typing the same numbers when building the
> standalones.
Mark is right. These settings as stored in your mainstack in a custom
property set called "revStandaloneSettings". Just change those.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list