Window manager plugin?

JB sundown at pacifier.com
Sat Aug 23 13:24:10 EDT 2014


Thanks Scott.

I cannot believe how dumb I am somedays.
The problem was I pasted the code as it was
in my openStack handler and after looking at
it I see they both call the same thing.

Your latest version fixed it.

thank again.

John Balgenorth


On Aug 23, 2014, at 10:07 AM, Scott Rossi <scott at tactilemedia.com> wrote:

> I should have clarified that I listed two scripts: one for answer, one for
> ask.  But the script is working here for all versions of LC, Mac and Win,
> including v7.  Not sure what to tell you.  Did you try the script in a
> new, empty stack?
> 
> Something like this would be better to be all-inclusive:
> 
> on suspendStack
>   put the openStacks into theList
>   if "answer dialog" is among the lines of theList then set the loc of
> stack "answer dialog" to loc of me
>   if "ask dialog" is among the lines of theList then set the loc of stack
> "ask dialog" to loc of me
> end suspendStack
> 
> 
> Historically, there has been no "approved" way to position the dialogs
> that I know of.  This method was suggested a long time ago (can't recall
> by who) but it works for me.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> 
> On 8/23/14 9:25 AM, "JB" <sundown at pacifier.com> wrote:
> 
>> Hi Scott,
>> 
>> I put the script in my stack script and it continued to
>> show the answer dialog in the center of the screen.
>> So I replaced llc with ³112,110² and  nothing changed.
>> 
>> Then I added "put the openStacks" into the mouseUp
>> handler where the answer dialog is called from.  If it
>> is at the very beginning of the handler it puts the open
>> stacks in the message box.  But if it is before or after
>> the answer script nothing is put in the message
>> box.
>> 
>> John Balgenorth
>> 
>> 
>> On Aug 23, 2014, at 8:54 AM, Scott Rossi <scott at tactilemedia.com> wrote:
>> 
>>> 
>>>>> 
>>>>> Will that let you position the ask and answer dialogs?
>>>>> 
>>>>> John Balgenorth
>>>>> 
>>>>> 
>>> 
>>> 
>>> 
>>> Here's one way to position ask/answer dialogs on desktop:
>>> 
>>> [ in your stack script ]
>>> 
>>> on suspendStack
>>>  if "ask dialog" is among the lines of the openStacks then
>>>     set the loc of stack "ask dialog" to the loc of me
>>>  end if
>>> end suspendStack
>>> 
>>> 
>>> on suspendStack
>>>  if "answer dialog" is among the lines of the openStacks then
>>>     set the loc of stack "answer dialog" to the loc of me
>>>  end if
>>> end suspendStack
>>> 
>>> 
>>> 
>>> ( can replace "loc of me" with any desired screenLoc )
>>> 
>>> 
>>> Regards,
>>> 
>>> Scott Rossi
>>> Creative Director
>>> Tactile Media, UX/UI Design
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 





More information about the use-livecode mailing list