View Full Version : suggestion to keep people like me from shooting themselves in the foot
NewsArchive
01-28-2011, 01:17 AM
I managed to start a sesion editing a script and then not realizing
that I had a session open I opened another and made changes in that.
I have no idea which changes were made in which. both want me to save
before exiting. I managed to tell the differences by saving each to
text and then comparing them.
My request: please allow only 1 setupbuilder for a given script.
thanks, Bob Roos
NewsArchive
01-28-2011, 01:18 AM
Hi Bob,
Unfortunately, this is not possible. Similar to opening the same .TXT in
different Notepad or .RTF in different Wordpad instances. Or the same .CPP
file in different Visual Studio instances.
SetupBuilder does not hold the project file open if you have it active in an
IDE instance.
Friedrich
NewsArchive
01-28-2011, 01:18 AM
Friedrich - wrapping the exe in Armadillo supports only one instance. I use
it all the time on my own apps.
I wonder if anyone could take the exe and wrap it themselves for these
purposes?
HTH
John Fligg
NewsArchive
01-28-2011, 01:18 AM
> Friedrich - wrapping the exe in Armadillo supports only one instance. I use
> it all the time on my own apps.
>
> I wonder if anyone could take the exe and wrap it themselves for these
> purposes?
That would be a VERY bad idea IMHO and limit SetupBuilder severely.
I routinely have several copies of SetupBuilder open (usually with
different scripts) and copy/paste between them.
So I would hate to see SetupBuilder limited to a single instance.
The only way I could see that Friedrich could limit a project to a single
instance would be to do some sort of messaging between running copies of
SetupBuilder during the open project code, but as Jane says - there are
times when it is useful to have a second copy open.
I suppose that Friedrich could allow that (making the second copy read only
somehow), but it would not be SWB and I can see a potential even there to
do a bunch of work in the second copy and not be able to save it.
At best, perhaps some inter-copy communication that would warn you "You
already have this project open in another copy of SetupBuilder - do you
want to open it anyway?". Then change the window title to be something
like:
EZRound2.sb7 [ READ-ONLY ] - SetupBuilder 7.3 Developer Edition
But it still seems like a lot of work<g>.
:-)
Charles
--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
for Windows 7 and Vista!"
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.clarionproseries.com - "Serious tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------
NewsArchive
01-28-2011, 01:20 AM
I agree. I also tend to have several copies open from time to time.
That is why I wondered if the user could wrap the exe in Armadillo
themselves just for the one run functionality.
John
NewsArchive
01-28-2011, 01:20 AM
> That is why I wondered if the user could wrap the exe in Armadillo
> themselves just for the one run functionality.
Yes, that would work and could all be handled by the built-in code of
Armadillo, so no mods to SB needed.
Charles
--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
for Windows 7 and Vista!"
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.clarionproseries.com - "Serious tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------
NewsArchive
01-28-2011, 01:21 AM
Hi Friedrich,
> Unfortunately, this is not possible. Similar to opening the same .TXT in
> different Notepad or .RTF in different Wordpad instances. Or the same .CPP
> file in different Visual Studio instances.
>
> SetupBuilder does not hold the project file open if you have it active in an
> IDE instance.
I do the same in Build Automator, i.e. the xml is loaded into queues and
kept in memory until saved. But I have a "file list" that is stored in an
INI file along with the "pick list" which are always identical. The
filelist uses the path/filename as an entry and then equal to 0 if the file
is not in use or 1 if the file is in use. This way you cannot open the same
file twice from the same user account (that's as far as I was ready to go
with this;) This is updated when the file is opened and when it is closed.
Perhaps you could implement something like that in SB?
Best regards,
--
ArnĂ³r Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com
Icetips product subscriptions at http://www.icetips.com/subscribe.php
NewsArchive
01-28-2011, 01:22 AM
Bob,
I have to ask, does this happen often or is that a one-off?
--
Russell B. Eggen
www.radfusion.com
Clarion developers: www.radfusion.com/devs.htm
NewsArchive
01-28-2011, 01:22 AM
So far it has only "bitten" me once because I got "do you want to save"
on both open copies. Usually, I can close one and it simply goes away.
The problem is that I have 20-30 windows open and sometimes lose track
of what is open and what is not.
But, I did not want only one copy of SB to be active. What I would
like to see is a scan of open windows for one that matches the same
title as the one that I am trying to open and then a warning "HEY
Turkey -- you really want to open a 2nd copy??" No lockouts, but just
a warning.
Bob Roos
NewsArchive
01-28-2011, 01:23 AM
Occasionally I find it useful to have two copies of the same script open at
once so I can look at two distant areas of the code.
Jane
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.