RE: use-livecode Digest, Vol 181, Issue 33

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

RE: use-livecode Digest, Vol 181, Issue 33

Geoff Canyon via use-livecode
Thanks for the reply, Klaus... but I'm sure we all agree this is totally non-intuitive.  However, using this call in my openStack script does two negative things:

1) least important but somewhat self-defeating to my "goal", this now opens the Project Browser right on top of my app in some default height and width.  As a result I have to move it over to the side and adjust the size.  If I just open the Project Browser via the LC tools, it opens in the same position and size as to the last saved stack.

2) more importantly, after allowing this code to execute within my app, I went to create my standalone version and found that all of the Saved Standalone Application Settings were GONE! and the setting had reverted back to the default ones for a brand-new stack.  Luckily, by not saving the stack at that point and commenting out that call, the settings came back .. whew!

This was on LC Business v8.1.9 on Windows 7 enterprise SP1.

There are a series of Project Browser related livecodescript files in (my install):

C:\Program Files (x86)\RunRev\LiveCode Business 8.1.9\Toolset

however none of them seem to (directly) reference any Standalone functionality. ... Back to using the LC tools option.

thanks!


Douglas Ruisaard
Trilogy Software
(250) 573-3935

> Hi Douglas,
>
> > Am 23.10.2018 um 20:31 schrieb Douglas Ruisaard via use-livecode <[hidden email]>:
> >
> > Is there a way to start/open the "Project Browser" (from the main LC Tools menu) using a script
> command for LC v8 and above?
>
> this works, go figure :-D
> ...
> go stack "revIDEProjectBrowser"
> ...
>
> > ...
> >
> > Douglas Ruisaard
> > Trilogy Software
> > (250) 573-3935
>
> Best
>
> Klaus


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: use-livecode Digest, Vol 181, Issue 33

Geoff Canyon via use-livecode
On 10/24/2018 02:10 PM, Douglas Ruisaard via use-livecode wrote:
> Thanks for the reply, Klaus... but I'm sure we all agree this is totally non-intuitive.  However, using this call in my openStack script does two negative things:
>
> 1) least important but somewhat self-defeating to my "goal", this now opens the Project Browser right on top of my app in some default height and width.  As a result I have to move it over to the side and adjust the size.  If I just open the Project Browser via the LC tools, it opens in the same position and size as to the last saved stack.
>
> 2) more importantly, after allowing this code to execute within my app, I went to create my standalone version and found that all of the Saved Standalone Application Settings were GONE! and the setting had reverted back to the default ones for a brand-new stack.  Luckily, by not saving the stack at that point and commenting out that call, the settings came back .. whew!

I'm probably misunderstanding what you're trying to do, but a couple of
observations:

1. if you open the PB and then set the loc of it, both in your openStack
(or preOpenStack) handler, then the browser should appear where you tell
it to.

2. trying to do this in a standalone app is bound to fail. The PB is
part if the LiveCode IDE, and thus a separate application from your
standalone. If you really need to launch the browser in the IDE then
you'll need to set up a means of communication between the two. Most
probably socket communication via a plugin stack, but ymmv.

--
  Mark Wieder
  [hidden email]

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode