Re: OT - GOOGLE NOT WORKING FOR ME

2011-01-31 Thread Joe Lewis Wilkins
Too late tonight. I'll give it a try tomorrow. 

Joe Lewis Wilkins
Architect & Director of Product Development for GSI


On Jan 31, 2011, at 11:48 PM, Peter Haworth wrote:

> Doesn't explain why the normal method doesn't work but at least you can still 
> use Google.  I'd be tempted to re-install Firefox.
> 
> Pete Haworth
> 
> On Jan 31, 2011, at 11:38 PM, Joe Lewis Wilkins wrote:
> 
>> I've never had to do that, but it does work that way. Hmn! Actually the 
>> results seem to be better this way.
>> 
>> Thanks Pete.
>> 
>> Joe Lewis Wilkins
>> Architect & Director of Product Development for GSI
>> 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - GOOGLE NOT WORKING FOR ME

2011-01-31 Thread Peter Haworth
Doesn't explain why the normal method doesn't work but at least you can still 
use Google.  I'd be tempted to re-install Firefox.

Pete Haworth

On Jan 31, 2011, at 11:38 PM, Joe Lewis Wilkins wrote:

> I've never had to do that, but it does work that way. Hmn! Actually the 
> results seem to be better this way.
> 
> Thanks Pete.
> 
> Joe Lewis Wilkins
> Architect & Director of Product Development for GSI
> 
> 
> On Jan 31, 2011, at 11:21 PM, Peter Haworth wrote:
> 
>> Have you tried going directly to google.com as a url instead if using the 
>> search box?  Curious as to what happens.
>> 
>> Pete Haworth
>> 
>> On Jan 31, 2011, at 11:08 PM, Joe Lewis Wilkins wrote:
>> 
>>> Never connects to Google. Just sits there doing nothing. I've tried it from 
>>> a number of websites and it's just dead. Wondering if I should post it to 
>>> FireFox someplace. I use Google Search for a lot of things. The ASK search 
>>> engineer does work from FireFox, however.
>>> 
>>> Joe Lewis Wilkins
>>> Architect & Director of Product Development for GSI
>>> 
>>> 
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - GOOGLE NOT WORKING FOR ME

2011-01-31 Thread Joe Lewis Wilkins
I've never had to do that, but it does work that way. Hmn! Actually the results 
seem to be better this way.

Thanks Pete.

Joe Lewis Wilkins
Architect & Director of Product Development for GSI


On Jan 31, 2011, at 11:21 PM, Peter Haworth wrote:

> Have you tried going directly to google.com as a url instead if using the 
> search box?  Curious as to what happens.
> 
> Pete Haworth
> 
> On Jan 31, 2011, at 11:08 PM, Joe Lewis Wilkins wrote:
> 
>> Never connects to Google. Just sits there doing nothing. I've tried it from 
>> a number of websites and it's just dead. Wondering if I should post it to 
>> FireFox someplace. I use Google Search for a lot of things. The ASK search 
>> engineer does work from FireFox, however.
>> 
>> Joe Lewis Wilkins
>> Architect & Director of Product Development for GSI
>> 
>> 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Update on defaultStack problem

2011-01-31 Thread Peter Haworth
I still have no idea why this is happening but I have fixed it by setting the 
defaultStack to the topStack immediately on return form the modal dialog.

I'm now chasing down another problem.  I have a mouseUp and a mouseDoubleUp 
handler for the same control.  When I double click, the mouseUp handler is 
triggered, not the mouseDoubleUp.  How do suppress the mouseUp processing in 
favour of the mouseDoubleUp?

Pete Haworth








___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - GOOGLE NOT WORKING FOR ME

2011-01-31 Thread Peter Haworth
Have you tried going directly to google.com as a url instead if using the 
search box?  Curious as to what happens.

Pete Haworth

On Jan 31, 2011, at 11:08 PM, Joe Lewis Wilkins wrote:

> Never connects to Google. Just sits there doing nothing. I've tried it from a 
> number of websites and it's just dead. Wondering if I should post it to 
> FireFox someplace. I use Google Search for a lot of things. The ASK search 
> engineer does work from FireFox, however.
> 
> Joe Lewis Wilkins
> Architect & Director of Product Development for GSI
> 
> 
> 
> On Jan 31, 2011, at 10:22 PM, Peter Haworth wrote:
> 
>> Weird.  When you say it doesn't work, what exactly happens?  Error message, 
>> no results displayed, never connects to Google?
>> 
>> Pete Haworth
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - GOOGLE NOT WORKING FOR ME

2011-01-31 Thread Joe Lewis Wilkins
Never connects to Google. Just sits there doing nothing. I've tried it from a 
number of websites and it's just dead. Wondering if I should post it to FireFox 
someplace. I use Google Search for a lot of things. The ASK search engineer 
does work from FireFox, however.

Joe Lewis Wilkins
Architect & Director of Product Development for GSI



On Jan 31, 2011, at 10:22 PM, Peter Haworth wrote:

> Weird.  When you say it doesn't work, what exactly happens?  Error message, 
> no results displayed, never connects to Google?
> 
> Pete Haworth

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - GOOGLE NOT WORKING FOR ME

2011-01-31 Thread Peter Haworth
Weird.  When you say it doesn't work, what exactly happens?  Error message, no 
results displayed, never connects to Google?

Pete Haworth

On Jan 31, 2011, at 10:10 PM, Joe Lewis Wilkins wrote:

> Hi Pete,
> 
> Same FireFox I'm using. Really mysterious. FireFox works OK, except for the 
> Google Search. Started happening yesterday. I thought Google might be closed 
> down for maintenance or something, but finding it works with Safari precludes 
> that. So...? 
> 
> Joe Lewis Wilkins
> Architect & Director of Product Development for GSI
> 
> 
> On Jan 31, 2011, at 9:37 PM, Peter Haworth wrote:
> 
>> Assuming you mean typing a search into the Firefox search box, Firefox 
>> 3.6.13 works fine for me on Snow Leopard. Maybe you need an update to 
>> FireFox?
>> 
>> Pete Haworth
>> 
>> On Jan 31, 2011, at 9:12 PM, Joe Lewis Wilkins wrote:
>> 
>>> Hi All,
>>> 
>>> Using a MacPro with Snow Leopard and I'm getting no action when I try to 
>>> Google. Any thoughts?
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - GOOGLE NOT WORKING FOR ME

2011-01-31 Thread Joe Lewis Wilkins
Hi Pete,

Same FireFox I'm using. Really mysterious. FireFox works OK, except for the 
Google Search. Started happening yesterday. I thought Google might be closed 
down for maintenance or something, but finding it works with Safari precludes 
that. So...? 

Joe Lewis Wilkins
Architect & Director of Product Development for GSI


On Jan 31, 2011, at 9:37 PM, Peter Haworth wrote:

> Assuming you mean typing a search into the Firefox search box, Firefox 3.6.13 
> works fine for me on Snow Leopard. Maybe you need an update to FireFox?
> 
> Pete Haworth
> 
> On Jan 31, 2011, at 9:12 PM, Joe Lewis Wilkins wrote:
> 
>> Hi All,
>> 
>> Using a MacPro with Snow Leopard and I'm getting no action when I try to 
>> Google. Any thoughts?

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - GOOGLE NOT WORKING FOR ME

2011-01-31 Thread Peter Haworth
Assuming you mean typing a search into the Firefox search box, Firefox 3.6.13 
works fine for me on Snow Leopard.  Maybe you need an update to FireFox?

Pete Haworth

On Jan 31, 2011, at 9:12 PM, Joe Lewis Wilkins wrote:

> Hi All,
> 
> Using a MacPro with Snow Leopard and I'm getting no action when I try to 
> Google. Any thoughts?
> 
> Joe Lewis Wilkins
> Architect & Director of Product Development for GSI
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - GOOGLE NOT WORKING FOR ME

2011-01-31 Thread Warren Samples
On Mon, 2011-01-31 at 21:19 -0800, Joe Lewis Wilkins wrote: 
> I guess Warren, since I prefer FireFox to Safari by lots!
> 
> Joe Lewis Wilkins
> Architect & Director of Product Development for GSI
> 
> 
> 
> On Jan 31, 2011, at 9:16 PM, Warren Samples wrote:
> 
> > On Mon, 2011-01-31 at 21:12 -0800, Joe Lewis Wilkins wrote: 
> >> Hi All,
> >> 
> >> Using a MacPro with Snow Leopard and I'm getting no action when I try to 
> >> Google. Any thoughts?
> >> 
> >> Joe Lewis Wilkins
> >> Architect & Director of Product Development for GSI
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> > 
> > 
> > Is this a complaint?
> > 


My irreverence wasn't directed at the browser dilemma ;) I have a
longstanding and very strong preference for a particular browser and it
really bothers me when I run into one of those browser blocking scripts
that tells me I have to use the browser "they" like.

Good luck with your problem :)

Warren




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - GOOGLE NOT WORKING FOR ME

2011-01-31 Thread Warren Samples
On Mon, 2011-01-31 at 21:12 -0800, Joe Lewis Wilkins wrote: 
> Hi All,
> 
> Using a MacPro with Snow Leopard and I'm getting no action when I try to 
> Google. Any thoughts?
> 
> Joe Lewis Wilkins
> Architect & Director of Product Development for GSI
> 
> 
> 
> 
> 
> 


google is reachable here, but feel free to send this "problem" to me...
I want google to leave me alone :D




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - GOOGLE NOT WORKING FOR ME

2011-01-31 Thread Joe Lewis Wilkins
I guess Warren, since I prefer FireFox to Safari by lots!

Joe Lewis Wilkins
Architect & Director of Product Development for GSI



On Jan 31, 2011, at 9:16 PM, Warren Samples wrote:

> On Mon, 2011-01-31 at 21:12 -0800, Joe Lewis Wilkins wrote: 
>> Hi All,
>> 
>> Using a MacPro with Snow Leopard and I'm getting no action when I try to 
>> Google. Any thoughts?
>> 
>> Joe Lewis Wilkins
>> Architect & Director of Product Development for GSI
>> 
>> 
>> 
>> 
>> 
>> 
> 
> 
> Is this a complaint?
> 
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - GOOGLE NOT WORKING FOR ME

2011-01-31 Thread Joe Lewis Wilkins
Interesting. I switch from FireFox to Safari and Google works fine. Hmn!

Joe Lewis Wilkins
Architect & Director of Product Development for GSI








On Jan 31, 2011, at 9:12 PM, Joe Lewis Wilkins wrote:

> Hi All,
> 
> Using a MacPro with Snow Leopard and I'm getting no action when I try to 
> Google. Any thoughts?
> 
> Joe Lewis Wilkins
> Architect & Director of Product Development for GSI
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT - GOOGLE NOT WORKING FOR ME

2011-01-31 Thread Warren Samples
On Mon, 2011-01-31 at 21:12 -0800, Joe Lewis Wilkins wrote: 
> Hi All,
> 
> Using a MacPro with Snow Leopard and I'm getting no action when I try to 
> Google. Any thoughts?
> 
> Joe Lewis Wilkins
> Architect & Director of Product Development for GSI
> 
> 
> 
> 
> 
> 


Is this a complaint?


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


OT - GOOGLE NOT WORKING FOR ME

2011-01-31 Thread Joe Lewis Wilkins
Hi All,

Using a MacPro with Snow Leopard and I'm getting no action when I try to 
Google. Any thoughts?

Joe Lewis Wilkins
Architect & Director of Product Development for GSI








___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Weird defaultStack behavior

2011-01-31 Thread Peter Haworth
I have something strange going on  related to the setting of the defaultStack.  
It's a little complicated t0 explain, I'll do my best.

My application puts up a modal dialog window ( "ModalCardB") when the user 
clicks on a button on a particular card  "CardA".  

ModalCardB starts off life with two controls on it but the user can add more 
pairs of these controls by clicking on a third button control.  

Each new pair of controls is created by copying the first pair, setting their 
rectangle to position them beneath the original pair, and changing the height 
of the stack.  

When the user clicks on a final button to close ModalCardB, I set the 
dialogData to the contents of all the pairs of controls, one per line, delete 
all the pairs of controls except the original pair, and close ModalCardB.  

After ModalCardB is closed, the script of the CardA button grabs the dialogData 
and continue to process it.

Here's the problem.  

Immediately after I come out of ModalCardB, the defaultstack is set differently 
depending on whether the user filled in just the initial pair of controls or 
added more pairs.  

When just the initial pair of controls is used, the defaultStack is set to 
CardA's stack.  

When more than one pair of controls is used, the defaultStack is set to 
ModalCardB's stack, which totally messes up CardA's button script.  I can't 
hard code the stack name because this is a generic script I want to use in many 
places.

What could be causing this?  I assume it must be something to do with 
dynamically adding and deleting controls to the modal card, but maybe it's a 
bug?  If it is a bug, how can I work around it?

Pete Haworth










___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] Revision to TimeMachine

2011-01-31 Thread Bob Sneidar
Try changing it to is or is not. I always use words instead of operators 
because it makes the code easy to read, and I don't run into these kinds of 
problems. 

Bob


On Jan 31, 2011, at 3:55 PM, Alejandro Tejada wrote:

> 
> Hi Roger,
> 
> Many thanks for updating
> your stack with ideas
> proposed in this list.
> 
> Have you test it in Windows?
> http://dl.dropbox.com/u/3834621/TimeMachine_screenshot.PNG
> 
> When I open the stack on Windows, 
> I receive many warnings:
> 
>   compiling at 7:17:22 PM
> Type  if: missing 'then'
> Objectplay
> Line  if gTP  eval then send "mouseUp" to btn "strtOvr"
> Hint     
> 
> (Probably, you used a Mac Only character instead of <>)
> 
> Cant find handler "clearFlds"
> Line: send "clearFlds" to stack "eventControl"
> 
> How could I fix these warnings?
> Thanks in advance.
> 
> Alejandro
> 
> -- 
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/ANN-Revision-to-TimeMachine-tp3248071p3250202.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] Revision to TimeMachine

2011-01-31 Thread Alejandro Tejada

Hi Roger,

Many thanks for updating
your stack with ideas
proposed in this list.

Have you test it in Windows?
http://dl.dropbox.com/u/3834621/TimeMachine_screenshot.PNG

When I open the stack on Windows, 
I receive many warnings:

compiling at 7:17:22 PM
Typeif: missing 'then'
Object  play
Lineif gTP  eval then send "mouseUp" to btn "strtOvr"
Hint   

(Probably, you used a Mac Only character instead of <>)

Cant find handler "clearFlds"
Line: send "clearFlds" to stack "eventControl"

How could I fix these warnings?
Thanks in advance.

Alejandro

-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-Revision-to-TimeMachine-tp3248071p3250202.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: semi[OT] Preview of Intelli-Pubs

2011-01-31 Thread Thunder

Ditto ...
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/semi-OT-Preview-of-Intelli-Pubs-tp3248530p3250158.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Linux standalone

2011-01-31 Thread Richard Gaskin

Mike Arnold wrote:

> Yep, right there in the doc it says that its Windows & Mac only.
> That is quite disappointing (but at least it is documented, unlike
> a number of other mac vs windows behaviors).
> Its not that I expect many (if any) linux users for this particular
> application, but its just disappointing for such a common function to
> not be available across all platforms.

There will likely be an option for us to see a Linux version of 
RevBrowser relatively soon, but how soon is anyone's guess right now. 
Hopefully Kevin can chime in with details.


> Though the fact that menus (comboxes, etc) are missing commonly
> supported features like separator lines & disabled item  are missing
> from windows is also a big disappointment. (is there a way to
> implement these?)

Microsoft says "no"; there's no support for that in their HIG. :(

I wouldn't mind if RunRev rolled their own on that one; I think MS' 
position on it is wrong.


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Linux standalone

2011-01-31 Thread Mike Arnold
Warren & Richard,

Thank you for your responses.  Yep, right there in the doc it says that its 
Windows & Mac only.  That is quite disappointing (but at least it is 
documented, unlike a number of other mac vs windows behaviors).  

Its not that I expect many (if any) linux users for this particular 
application, but its just disappointing for such a common function to not be 
available across all platforms.  Though the fact that menus (comboxes, etc) are 
missing commonly supported features like separator lines & disabled item   are 
missing from windows is also a big disappointment. (is there a way to implement 
these?)

sorry for the whine,
Mike.
___
use-livecode mailing list
use-livecode@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@lists.runrev.com

2011-01-31 Thread John Patten

Thanks Chris!

I still seem to be getting some inconsistencies related to your  
script. I thought I'd align each button  by its bottom, but that did  
not seem to help. It seems it reads a partial correct order. I've  
placed a copy of the stack here:


http://dl.dropbox.com/u/6767916/RefrigMagnetTest.livecode

It seems like some of the custom properties are not registering  
correctly...?


Thanks for your help!

John Patten
SUSD



On Jan 31, 2011, at 11:11 AM, form wrote:


Slight fix to the code:

if x < x1 and abs(x1 - x) >= abs(y1 - y) and d < nxtd and the  
lastbtn of btn

b < 1 then

Needed to make sure the button wasn't already used in the previous  
line.


~ Chris Innanen
~ Nonsanity



On Mon, Jan 31, 2011 at 2:00 PM, form  wrote:

I'm thinking you're going for refrigerator poetry magnets, or  
something
like it. To that end, I made something that reads the order similar  
to the
way a human would. I haven't tested it a lot, but this was the  
arrangement I

used:

http://dl.dropbox.com/u/144280/btnorder.png

There are a dozen buttons, named with their btn number. (So button  
6 is
named "6".) Notice that word 8 is at about the same level as word  
9, but

still counts as part of the second row.

Running the following script sets properties on all the buttons  
(and one on
the card) that lets you easily walk through them from other  
scripts. The
scanrwords command needs to be re-run after moving the buttons, but  
only

then.

The last chunk of the scanwords command does a sample walkthrough and
outputs the buttons in "word" order to the messagebox. Use that  
code in

other functions that need to move through the words.


on scanwords
  -- clear the custom properties
  repeat with a = 1 to the number of btns
 set the nextbtn of btn a to "0"
 set the lastbtn of btn a to "0"
 set the startsline of btn a to "0"
 set the linenumber of btn a to "0"
 set the nextline of btn a to "0"
  end repeat

  repeat with a = 1 to the number of btns
 put item 1 of the loc of btn a into x
 put item 2 of the loc of btn a into y
 put "" into nxtbtn
 put 1 into nxtd
 repeat with b = 1 to the number of btns
if a = b then next repeat
put dist( loc of btn a, loc of btn b ) into d
put item 1 of the loc of btn b into x1
put item 2 of the loc of btn b into y1
if x < x1 and abs(x1 - x) >= abs(y1 - y) and d < nxtd then
   put d into nxtd
   put b into nxtbtn
end if
 end repeat
 if nxtbtn is not empty then
set the nextbtn of btn a to nxtbtn
set the lastbtn of btn nxtbtn to a
 end if
  end repeat

  put "" into sortlines
  repeat with a = 1 to the number of btns
 if the lastbtn of btn a < 1
 then put item 2 of the loc of btn a &","& a & return after  
sortlines

  end repeat
  sort lines of sortlines numeric by item 1 of each
  repeat with a = 1 to the number of lines in sortlines
 set the startsline of btn (item 2 of line a of sortlines) to a
  end repeat

  set the firstbtn of this card to item 2 of line 1 of sortlines
  put 0 into lasttgt
  repeat with a = 1 to the number of lines in sortlines
 put item 2 of line a of sortlines into tgt
 set the linenumber of btn tgt to a
 if lasttgt > 0 then set the nextline of btn lasttgt to tgt
 put the short name of btn tgt &"," after output
 put tgt into lasttgt
 put the nextbtn of btn tgt into tgt
 repeat while tgt > 0
set the linenumber of btn tgt to a
put the short name of btn tgt &"," after output
put tgt into lasttgt
put the nextbtn of btn tgt into tgt
 end repeat
  end repeat

  -- all buttons are now tagged with the information needed to read  
them

  -- the first button is in the firstbtn of this card
  -- buttons that start a new line have a startsline property of  
the line

they start
  -- the line each button is on is in its linenumber property
  -- the nextbtn and lastbtn point to the next and last button in  
that

line, respectively
  -- buttons at the end of a line have a nextline property with
  --the number of the next line's first button

  -- output the "words" in order to the msg box
  put "" into output
  put the firstbtn of this card into tgt
  repeat while tgt > 0
 put tgt &"," after output
 get the nextbtn of btn tgt
 if it < 1 then get the nextline of btn tgt
 put it into tgt
  end repeat
  delete last char of output
  put output into msg
end scanwords


function dist a, b
  return sqrt( (item 1 of b - item 1 of a)*(item 1 of b - item 1 of  
a) +

(item 2 of b - item 2 of a)*(item 2 of b - item 2 of a) )
end dist


~ Chris Innanen
~ Nonsanity



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode




Re: Alternating Column Colors?

2011-01-31 Thread Bob Sneidar
And yet see Zryip's new feature for DGH! He seems to have pulled it off nicely. 

Bob


On Jan 31, 2011, at 1:03 PM, Phil Davis wrote:

> I don't think so - the fields don't exist until you put some data into the 
> grid.
> Phil
> 
> 
> On 1/31/11 8:51 AM, Bob Sneidar wrote:
>> Wait, you can do this even if there is no data if the data grid?
>> 
>> Bob
>> 
>> 
>> On Jan 29, 2011, at 11:25 AM, Phil Davis wrote:
>> 
>>> Scott,
>>> 
>>> Each cell in a data grid is a field, so it seems like it should be doable.
>>> 
>>> I created a DG and put some data in it. Then I did this from msg:
>>> 
>>> put the number of flds in selobj -- DG was selected
>>> -->  57
>>> 
>>> put the name of fld 44 of selobj
>>> -->  field "Status 0008"
>>> 
>>> My DG has a column named "Status".
>>> 
>>> After further poking around, I see:
>>> - each DG cell is a field
>>> - the number of fields is related to the display rect of the DG, not to the 
>>> number of lines of data in it
>>> - fields are recreated when the DG's data is changed
>>> - every field in the DG has a style of 'transparent'
>>> - you can set a field's style to opaque and then any backColor you apply to 
>>> it will show up
>>> - the style changes you make seem to stick until the DG data is changed
>>> 
>>> Maybe some of the above will help you on your way.
>>> 
>>> Phil
>>> 
>>> 
>>> 
>>> On 1/28/11 3:54 PM, Bob Sneidar wrote:
 Oh cool! Then you could make a chess or checkers game! I get it!
 
 I read the API and none of the properties suggests you can do this. I 
 think you will have to find the part of the parent script that draws the 
 cells and change the background color on each one individually for odd or 
 even rows.
 
 The problem will then become, what happens if there is no data? Rows get 
 colored even if there is no data, but no actual cells (cloned fields) get 
 created until there is data.
 
 I tried to edit the row template and put a colored square over the gray 
 bar, but mine is a table not a form. You might be able to do it in a form, 
 I'm not sure. At any rate it didn't work for me.
 
 Bob
 
 
 On Jan 28, 2011, at 1:55 PM, Scott Rossi wrote:
 
> Hi List:
> 
> The data grid nicely incorporates alternating line colors.  But does 
> anyone
> know if it's possible to make alternating column colors or cell colors?
> 
> I'm building a control that has a horizontal scrolling data grid with only
> one row.  I'd like to be able to set alternating colors for cells or 
> columns
> in the row.  Possible?
> 
> Thanks&   Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
>>> -- 
>>> Phil Davis
>>> 
>>> PDS Labs
>>> Professional Software Development
>>> http://pdslabs.net
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@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@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> -- 
> Phil Davis
> 
> PDS Labs
> Professional Software Development
> http://pdslabs.net
> 
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Linux standalone

2011-01-31 Thread Warren Samples
On Mon, 2011-01-31 at 15:20 -0500, Mike Arnold wrote: 
> I am working on the multi-platform distribution of a simple application that 
> uses revBrowser function.  The mac standalone (development system too) is 
> working, Windows in about 95% (still haven't figured out how to handle 
> separators & disabled items which seem to not work in Windows), but now that 
> I am moving on to Linux, I am seeing more problems.  The Windows 
> implementation of revBrowser had some interesting unique differences and it 
> seems Linux does too.
> 
> In particular, I create a substack and display a revBrowser window there with 
> 'in-memory' html, the new substack window is empty.  Is there something I 
> must do differently for Linux?
> 
> thanks,
> Mike.
> ___




Hi Mike, 

revBrowser doesn't exist for Linux :( That explains the blank window. If
you check the dictionary, you'll notice all the revBrowser stuff is only
for Windows and Mac. 

As Richard suggests, when a browser object becomes available for Linux,
there will be some very happy Livecoders!

Best,

Warren



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Alternating Column Colors?

2011-01-31 Thread Phil Davis

I don't think so - the fields don't exist until you put some data into the grid.
Phil


On 1/31/11 8:51 AM, Bob Sneidar wrote:

Wait, you can do this even if there is no data if the data grid?

Bob


On Jan 29, 2011, at 11:25 AM, Phil Davis wrote:


Scott,

Each cell in a data grid is a field, so it seems like it should be doable.

I created a DG and put some data in it. Then I did this from msg:

put the number of flds in selobj -- DG was selected
-->  57

put the name of fld 44 of selobj
-->  field "Status 0008"

My DG has a column named "Status".

After further poking around, I see:
- each DG cell is a field
- the number of fields is related to the display rect of the DG, not to the 
number of lines of data in it
- fields are recreated when the DG's data is changed
- every field in the DG has a style of 'transparent'
- you can set a field's style to opaque and then any backColor you apply to it 
will show up
- the style changes you make seem to stick until the DG data is changed

Maybe some of the above will help you on your way.

Phil



On 1/28/11 3:54 PM, Bob Sneidar wrote:

Oh cool! Then you could make a chess or checkers game! I get it!

I read the API and none of the properties suggests you can do this. I think you 
will have to find the part of the parent script that draws the cells and change 
the background color on each one individually for odd or even rows.

The problem will then become, what happens if there is no data? Rows get 
colored even if there is no data, but no actual cells (cloned fields) get 
created until there is data.

I tried to edit the row template and put a colored square over the gray bar, 
but mine is a table not a form. You might be able to do it in a form, I'm not 
sure. At any rate it didn't work for me.

Bob


On Jan 28, 2011, at 1:55 PM, Scott Rossi wrote:


Hi List:

The data grid nicely incorporates alternating line colors.  But does anyone
know if it's possible to make alternating column colors or cell colors?

I'm building a control that has a horizontal scrolling data grid with only
one row.  I'd like to be able to set alternating colors for cells or columns
in the row.  Possible?

Thanks&   Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net


___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Enhancement Vote

2011-01-31 Thread Peter Haworth
I submitted a request a while back to have an option to sort the substacks of a 
main stack in alpha name order in the IDE Application Browser Window.  It's 
report number 9299.  I have no idea if the dev team place any weight on the 
number of votes a request receives but if this is something you would like to 
see, give it a vote at http://quality.runrev.com/qacenter/show_bug.cgi?id=9299

Thanks,

Pete Haworth








___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Linux standalone

2011-01-31 Thread Richard Gaskin

Mike Arnold wrote:

> The Windows implementation of revBrowser had some interesting
> unique differences and it seems Linux does too.
>
> In particular, I create a substack and display a revBrowser window
> there with 'in-memory' html, the new substack window is empty.  Is
> there something I must do differently for Linux?

Where do I get revBrowser for Linux?

I've been wanting this for some time, but I haven't seen notice that one 
was made and I don't see it in my LC 
3.5.3/Contents/Runtime/Linux/x86-32/Externals/ folder.


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: An idea on multithreading implementation

2011-01-31 Thread Richmond

On 01/31/2011 09:58 PM, Keith Clarke wrote:

Bollox is the detailed rubbish - metabollox is the multi-faceted architecture 
of the detailed rubbish. A kind of virtual landfill!

Metal Buttocks is a completely different website! ;-)

...I'll get my coat...


Oh Dear: just don't start "Flash"-ing . . . :)


On 31 Jan 2011, at 19:43, Bob Sneidar wrote:


Wha?? Metal Buttocks?? I think we have a new ban category!!

All in fun,
Bob


On Jan 31, 2011, at 11:12 AM, Keith Clarke wrote:


I don't really know what I'm talking about here - this is probably all 
metabollocks.


___
use-livecode mailing list
use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode for e-book production

2011-01-31 Thread Sivakatirswami
 I know LiveCode, being so powerful, can handle complex projects 
involving lots of logic and structures, but is it suitable / practical 
to use it for e-book production?

Saludos,

Javier Miranda V.




Like Jim said and Colin implied, "It depends on what you mean by eBook. "

We are deep into eBooks here.  Probably more than you want to know here, 
but here goes anyway:


What LiveCode can do or not do for you in the production process depends 
both on your source content and target channels.


If you are "man in the middle" with a client shoving you MSWord docs, 
images and files and they want to deliver to:


1) ePub for iBooks or Adobe Digital Editions
2) .mobi for Kindle or .epub for Nook

then you might find your best tools are to create the book in Adobe 
indesign and then outsource the job to a company in India that 
specializes in creating the above formats (for incredibly low prices, 
e.g. 75 cents a page) Atritex in Chennai. (amazing team there) The above 
formats are .xhtml files with some metadata files + CSS  that all 
conform to a relatively dumbed down html mark up but very precise.


(see our first offerings here: all free:
http://www.himalayanacademy.com/donations/ddd

LiveCode is really not the platform for creating ePub (mobi, nook) 
because the html-text of fields is very limited. And to code all the 
tools for that in LiveCode when InDesign does it for you automatically 
(more or less) would be a bit insane.


That said, I use LiveCode for decades to drive in house publishing 
production processes. e.g. for eBook i have a widget that can upzip the 
epub, get an index of the files and pass off the launching to BBEdit, 
save the .xhtml files, then launch them for preview in Safari (which let 
's you see pretty much everything you will on the iPad except for page 
breaks.)
i.e. Livecode is just acting as a file manager and GUI for work flows 
and not really doing anything at all  for the "product."


I was going to develop this even more, but then, thanks to someone here 
on this list pointing out about getting artwork done on eLance, we  
found this incredible company in Chennai and outsourced the work to 
them... via eLance


I'm so glad, because getting in the trenches with epub format felt 
like horrible neanderthal regression to html circa 1998.


see latest releases here:

http://www.himalayanacademy.com/resources/ebooks/

Atritex turned and entire issue of Hinduism Today magazine into an ebook 
in less than a week!  We got back to them with a few refinement requests 
and we had a finished product in under 3 weeks for less thatn $2.00 a 
page... and here our team of 6 had been sweating out days and days of 
learning curve learning how to dumb down complex publications to ebook 
formats, going nuts over minute details of getting CSS to just deliver a 
proper margin underneath and image on the iPad, "Oh Gawd Please!"  
really, you don't want to go there if you don't have to... It was 
painful but now we outsource it.


But frankly, even though we are focused now on moving *all* of our print 
content in to the above epub formats, as a matter of course, so to speak 
on our road map, all indications from early deployment are that while 
you will always have a segment of people who just like to sit back and 
"read stuff" in their old comfortable chair with  a Kindle or at 
breakfast with their iPad, the next generation really does not consume 
information like that any more, even if you stick a SomeCoolNovel.epub 
in their face in the iBook store, they necessarily won't go for it. Over 
40 maybe... still like to read walls of type... And don't think they are 
not smart and don't think "they don't read any more." both are 
stereotypes that miss the truth, it's just that "walls of words." (Pages 
and pages of type with occasional images) are no longer very magnetic 
for many of them.


ON THE OTHER HAND

If you are not man in the middle and are also the "creative" you could 
certainly create  marvelous interactive LiveCode  stacks, which would 
include enough reading material and some kind of "pagination" model that 
fit the old paradigm just enough for you to still call it a "book"  and 
deploy it as an application and then just label it "eBook" ... the young 
generation (freshmen at college thru two-five years out from graduation) 
won't care what you call it.


You can check out my still popular:

http://himalayanacademy.com/resources/children/dws_youth/

(made in 2002, still runs!)

get the stack if you want here:

go stack url 
"http://himalayanacademy.com/resources/children/dws_youth/dwsYouthCourse.rev";


If I added a little sound and video to that thing it would be suddenly "hot"


But, it would not be accepted in iBooks or other eBook channels that 
require the epub or mobi standard for content.


So, are these things  really an "eBooks" or an "applications" with lots 
of information and type?


So, even though we *are* going to get all publications dumbed down to 
*.xhtml-ep

Re: semi[OT] Preview of Intelli-Pubs

2011-01-31 Thread Howard Bornstein
On Mon, Jan 31, 2011 at 3:41 AM,  wrote:

> Please take a look at some screenshots at http://www.intelli-pubs.com,
> look forward to some reactions.
>

Couldn't get this link to work: "the server where this page is located isn’t
responding."

-- 
Regards,

Howard Bornstein
---
www.designeq.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Linux standalone

2011-01-31 Thread Mike Arnold
I am working on the multi-platform distribution of a simple application that 
uses revBrowser function.  The mac standalone (development system too) is 
working, Windows in about 95% (still haven't figured out how to handle 
separators & disabled items which seem to not work in Windows), but now that I 
am moving on to Linux, I am seeing more problems.  The Windows implementation 
of revBrowser had some interesting unique differences and it seems Linux does 
too.

In particular, I create a substack and display a revBrowser window there with 
'in-memory' html, the new substack window is empty.  Is there something I must 
do differently for Linux?

thanks,
Mike.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: An idea on multithreading implementation

2011-01-31 Thread Keith Clarke
Bollox is the detailed rubbish - metabollox is the multi-faceted architecture 
of the detailed rubbish. A kind of virtual landfill!

Metal Buttocks is a completely different website! ;-)

...I'll get my coat... 

On 31 Jan 2011, at 19:43, Bob Sneidar wrote:

> Wha?? Metal Buttocks?? I think we have a new ban category!! 
> 
> All in fun, 
> Bob
> 
> 
> On Jan 31, 2011, at 11:12 AM, Keith Clarke wrote:
> 
>> I don't really know what I'm talking about here - this is probably all 
>> metabollocks.
> 
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: An idea on multithreading implementation

2011-01-31 Thread Bob Sneidar
Wha?? Metal Buttocks?? I think we have a new ban category!! 

All in fun, 
Bob


On Jan 31, 2011, at 11:12 AM, Keith Clarke wrote:

> I don't really know what I'm talking about here - this is probably all 
> metabollocks.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] Microsoft SOS

2011-01-31 Thread Bob Sneidar
I am so very, very tired. 

Bob


On Jan 31, 2011, at 11:06 AM, Richmond wrote:

> Here we go again:
> 
> http://www.bbc.co.uk/news/technology-12325139
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: An idea on multithreading implementation

2011-01-31 Thread Keith Clarke
Taking Pete's idea a tad further, is there any mileage in considering shifting 
the 'threading' problem up from within the engine to the level of distributed 
computing/integration?

What if the main application could call upon an LC 'governor' library - with 
message broker/load balancer/workflow capabilities that could worry about state 
and overall application workflow, whilst using an SOA-like architecture, to 
spawn instances of LC engines, as needed, to run discrete processes (the 
'threads') and pass results back through the 'governor' application? Could a 
set of LiveCode, platform-independent REST-type messages - request, 
acknowledgement, response - be used to manage the communications? The governor 
app could also provide process control, monitoring the triggered LC engine 
instances and if necessary, killing and restarting, etc. Would such an approach 
also allow greater scalability, with multiple LC 'work-horse' engines running 
on one or more boxes? That might be tempting for Revserver situations? 

I don't really know what I'm talking about here - this is probably all 
metabollocks. However, perhaps the problems of managing a network of simple 
things might be easier than creating a bigger, monolithic, slower, riskier, 
multi-threading engine?
Best,
Keith..

On 31 Jan 2011, at 18:41, Peter Haworth wrote:

> I'll admit that I've never had the need to do this with LC but it feels like 
> it should be possible.  How about this.
> 
> Make your "Accounts Receivable" a separate standalone LC application and 
> start it up from your main application when it starts up. 
> 
> The AR program would have an appleEvent handler in it looking for messages 
> sent to it with a "send to program" command from your main App and use the 
> request appleEvent command to get whatever data you send to it.  Or your main 
> app could put the data in some place accessible to both programs, perhaps an 
> SQL table of pending requests.  
> 
> On receipt of the appleEvent, the AR program would do it's thing and send an 
> AppleEvent back to your main program when it's done or report progress back 
> at regular intervals, whatever you need it to do. 
> 
> When it's done, it would sit there waiting for another appleEvent to tell it 
> what to do next.   
> 
> There don't seem to be equivalents to send to program and appleEvent for 
> Windows but I'll bet some of the smart people on this list can suggest 
> something (and perhaps a better way of doing it on a Mac)
> 
> I'm sure this is an over-simplistic description but it seems like it oughta 
> work?
> 
> Pete Haworth
> 
> On Jan 31, 2011, at 9:56 AM, Bob Sneidar wrote:
> 
>> When I started this whole thread, what I had in mind was a simple method for 
>> allowing commands and even whole stacks to run concurrently with other 
>> stacks, while still being able to communicate with each other through the 
>> engine. All the stuff about enabling and disabling communications between 
>> things is to me irrelevant. Just compile 2 apps and they will not be able to 
>> talk natively to each other. Done deal. 
>> 
>> Some tell me that multithreading is not that simple. Well nothing under the 
>> hood of any app is simple, and triply so for a development environment. My 
>> idea was for the engine to handle communications between all of it's objects 
>> the way it does now, but have concurrent processes IF YOU WANTED. 
>> 
>> By default, I envision LiveCode working just the way it does now, with the 
>> OPTION to say something like: 
>> 
>> open stack "Accounts Receivable" with new thread
>> or 
>> do ReportGen with new thread
>> 
>> I could then check in on the state of a global from time to time in my 
>> Progress Bar modal stack or switch back to my "Order Entry" stack and 
>> continue entering my customer's order while the report generator was 
>> running. See? I personally do not have any interest whatsoever managing all 
>> the threading myself. I use LiveCode so I do not HAVE to know or understand 
>> that sort of thing. I am only one person. One of the things that LiveCode 
>> allows us to do, which is not talked about much, is to produce really nice 
>> and functional applications with incredibly minimal resources (like only one 
>> developer!)
>> 
>> Bob
>> 
>> 
>> On Jan 31, 2011, at 9:35 AM, form wrote:
>> 
>>> Even discounting games, I'd love to be able to designate a substack to being
>>> "threaded", disabling its access to objects in other stacks, and limiting
>>> communication to event/message passing.
>>> 
>>> It would be very much like using the open process command with a Windows
>>> command line program. (WHY doesn't it work with Mac command line
>>> programs?!?!)
>>> 
>>> I use open process is a stack to start a makefile and monitor its output
>>> while keeping the interface perfectly responsive. I do the same on a mac
>>> using a shell command outputting to a text file that I sample the tail from
>>> in another shell command. Hackier, but it gets the basic jo

use-livecode@lists.runrev.com

2011-01-31 Thread form
Slight fix to the code:

if x < x1 and abs(x1 - x) >= abs(y1 - y) and d < nxtd and the lastbtn of btn
b < 1 then

Needed to make sure the button wasn't already used in the previous line.

 ~ Chris Innanen
 ~ Nonsanity



On Mon, Jan 31, 2011 at 2:00 PM, form  wrote:

> I'm thinking you're going for refrigerator poetry magnets, or something
> like it. To that end, I made something that reads the order similar to the
> way a human would. I haven't tested it a lot, but this was the arrangement I
> used:
>
> http://dl.dropbox.com/u/144280/btnorder.png
>
> There are a dozen buttons, named with their btn number. (So button 6 is
> named "6".) Notice that word 8 is at about the same level as word 9, but
> still counts as part of the second row.
>
> Running the following script sets properties on all the buttons (and one on
> the card) that lets you easily walk through them from other scripts. The
> scanrwords command needs to be re-run after moving the buttons, but only
> then.
>
> The last chunk of the scanwords command does a sample walkthrough and
> outputs the buttons in "word" order to the messagebox. Use that code in
> other functions that need to move through the words.
>
>
> on scanwords
>-- clear the custom properties
>repeat with a = 1 to the number of btns
>   set the nextbtn of btn a to "0"
>   set the lastbtn of btn a to "0"
>   set the startsline of btn a to "0"
>   set the linenumber of btn a to "0"
>   set the nextline of btn a to "0"
>end repeat
>
>repeat with a = 1 to the number of btns
>   put item 1 of the loc of btn a into x
>   put item 2 of the loc of btn a into y
>   put "" into nxtbtn
>   put 1 into nxtd
>   repeat with b = 1 to the number of btns
>  if a = b then next repeat
>  put dist( loc of btn a, loc of btn b ) into d
>  put item 1 of the loc of btn b into x1
>  put item 2 of the loc of btn b into y1
>  if x < x1 and abs(x1 - x) >= abs(y1 - y) and d < nxtd then
> put d into nxtd
> put b into nxtbtn
>  end if
>   end repeat
>   if nxtbtn is not empty then
>  set the nextbtn of btn a to nxtbtn
>  set the lastbtn of btn nxtbtn to a
>   end if
>end repeat
>
>put "" into sortlines
>repeat with a = 1 to the number of btns
>   if the lastbtn of btn a < 1
>   then put item 2 of the loc of btn a &","& a & return after sortlines
>end repeat
>sort lines of sortlines numeric by item 1 of each
>repeat with a = 1 to the number of lines in sortlines
>   set the startsline of btn (item 2 of line a of sortlines) to a
>end repeat
>
>set the firstbtn of this card to item 2 of line 1 of sortlines
>put 0 into lasttgt
>repeat with a = 1 to the number of lines in sortlines
>   put item 2 of line a of sortlines into tgt
>   set the linenumber of btn tgt to a
>   if lasttgt > 0 then set the nextline of btn lasttgt to tgt
>   put the short name of btn tgt &"," after output
>   put tgt into lasttgt
>   put the nextbtn of btn tgt into tgt
>   repeat while tgt > 0
>  set the linenumber of btn tgt to a
>  put the short name of btn tgt &"," after output
>  put tgt into lasttgt
>  put the nextbtn of btn tgt into tgt
>   end repeat
>end repeat
>
>-- all buttons are now tagged with the information needed to read them
>-- the first button is in the firstbtn of this card
>-- buttons that start a new line have a startsline property of the line
> they start
>-- the line each button is on is in its linenumber property
>-- the nextbtn and lastbtn point to the next and last button in that
> line, respectively
>-- buttons at the end of a line have a nextline property with
>--the number of the next line's first button
>
>-- output the "words" in order to the msg box
>put "" into output
>put the firstbtn of this card into tgt
>repeat while tgt > 0
>   put tgt &"," after output
>   get the nextbtn of btn tgt
>   if it < 1 then get the nextline of btn tgt
>   put it into tgt
>end repeat
>delete last char of output
>put output into msg
> end scanwords
>
>
> function dist a, b
>return sqrt( (item 1 of b - item 1 of a)*(item 1 of b - item 1 of a) +
> (item 2 of b - item 2 of a)*(item 2 of b - item 2 of a) )
> end dist
>
>
>  ~ Chris Innanen
>  ~ Nonsanity
>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: An idea on multithreading implementation

2011-01-31 Thread Andre Garzia
Bob,

thanks for the kind words.

My idea is that if we just had some more introspection power from the
engine, we could implement this and even more in pure livecode script,
if we did that in some smart way, others would benefit without
understanding the internals, just like SSL, I have no clue how that
work but I use it all the time! :-D

Cheers
andre

On Mon, Jan 31, 2011 at 4:36 PM, Bob Sneidar  wrote:
> Thanks Andre I read that. Good stuff. I was thinking it might be possible to 
> do really simply internally to the engine so pea brains like me wouldn't have 
> to wrap their minds around stateful programming. Maybe I am barking up the 
> wrong data tree.Bob
>
> Bob
>
>
> On Jan 31, 2011, at 10:30 AM, Andre Garzia wrote:
>
>> Folks,
>>
>> I've posted an email to this list with subject "on livecode idea"
>> dealing with some solutions for cooperative threading with state.
>>
>> cheers
>> andre
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.andregarzia.com All We Do Is Code.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[OT] Microsoft SOS

2011-01-31 Thread Richmond

Here we go again:

http://www.bbc.co.uk/news/technology-12325139
___
use-livecode mailing list
use-livecode@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@lists.runrev.com

2011-01-31 Thread form
I'm thinking you're going for refrigerator poetry magnets, or something like
it. To that end, I made something that reads the order similar to the way a
human would. I haven't tested it a lot, but this was the arrangement I used:

http://dl.dropbox.com/u/144280/btnorder.png

There are a dozen buttons, named with their btn number. (So button 6 is
named "6".) Notice that word 8 is at about the same level as word 9, but
still counts as part of the second row.

Running the following script sets properties on all the buttons (and one on
the card) that lets you easily walk through them from other scripts. The
scanrwords command needs to be re-run after moving the buttons, but only
then.

The last chunk of the scanwords command does a sample walkthrough and
outputs the buttons in "word" order to the messagebox. Use that code in
other functions that need to move through the words.


on scanwords
   -- clear the custom properties
   repeat with a = 1 to the number of btns
  set the nextbtn of btn a to "0"
  set the lastbtn of btn a to "0"
  set the startsline of btn a to "0"
  set the linenumber of btn a to "0"
  set the nextline of btn a to "0"
   end repeat

   repeat with a = 1 to the number of btns
  put item 1 of the loc of btn a into x
  put item 2 of the loc of btn a into y
  put "" into nxtbtn
  put 1 into nxtd
  repeat with b = 1 to the number of btns
 if a = b then next repeat
 put dist( loc of btn a, loc of btn b ) into d
 put item 1 of the loc of btn b into x1
 put item 2 of the loc of btn b into y1
 if x < x1 and abs(x1 - x) >= abs(y1 - y) and d < nxtd then
put d into nxtd
put b into nxtbtn
 end if
  end repeat
  if nxtbtn is not empty then
 set the nextbtn of btn a to nxtbtn
 set the lastbtn of btn nxtbtn to a
  end if
   end repeat

   put "" into sortlines
   repeat with a = 1 to the number of btns
  if the lastbtn of btn a < 1
  then put item 2 of the loc of btn a &","& a & return after sortlines
   end repeat
   sort lines of sortlines numeric by item 1 of each
   repeat with a = 1 to the number of lines in sortlines
  set the startsline of btn (item 2 of line a of sortlines) to a
   end repeat

   set the firstbtn of this card to item 2 of line 1 of sortlines
   put 0 into lasttgt
   repeat with a = 1 to the number of lines in sortlines
  put item 2 of line a of sortlines into tgt
  set the linenumber of btn tgt to a
  if lasttgt > 0 then set the nextline of btn lasttgt to tgt
  put the short name of btn tgt &"," after output
  put tgt into lasttgt
  put the nextbtn of btn tgt into tgt
  repeat while tgt > 0
 set the linenumber of btn tgt to a
 put the short name of btn tgt &"," after output
 put tgt into lasttgt
 put the nextbtn of btn tgt into tgt
  end repeat
   end repeat

   -- all buttons are now tagged with the information needed to read them
   -- the first button is in the firstbtn of this card
   -- buttons that start a new line have a startsline property of the line
they start
   -- the line each button is on is in its linenumber property
   -- the nextbtn and lastbtn point to the next and last button in that
line, respectively
   -- buttons at the end of a line have a nextline property with
   --the number of the next line's first button

   -- output the "words" in order to the msg box
   put "" into output
   put the firstbtn of this card into tgt
   repeat while tgt > 0
  put tgt &"," after output
  get the nextbtn of btn tgt
  if it < 1 then get the nextline of btn tgt
  put it into tgt
   end repeat
   delete last char of output
   put output into msg
end scanwords


function dist a, b
   return sqrt( (item 1 of b - item 1 of a)*(item 1 of b - item 1 of a) +
(item 2 of b - item 2 of a)*(item 2 of b - item 2 of a) )
end dist


 ~ Chris Innanen
 ~ Nonsanity
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: dgText

2011-01-31 Thread Bob Sneidar
Yes, after the initial euphoria of going gold with a product, who wants to 
return to the tedium of documentation? I have foresworn to never document 
anything I do. If the end user cannot figure it out on his own, I've designed a 
lousy interface. That's my excuse and I'm sticking with it! heh heh

Bob


On Jan 31, 2011, at 9:59 AM, Peter Haworth wrote:

> Yep, I agree.  Datagrids are mentioned in the Reference manual as an 
> available control, they're on the IDE Tool palette but the dictionary is 
> silent about them.  Trevor has very thoroughly documented datagrids at the 
> provided link but but their properties and messages should be in the 
> dictionary.
> 
> Pete Haworth


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Do Revlet pages have unique URLs?

2011-01-31 Thread Keith Clarke
Andre,
Great advice, thanks. 

I think for now, I'll adopt:
• Revlet: A single demo revlet, as a container for all the work-inprogress 
prototype UI stacks. This will mean that they can grow together, in their 
sparkling new GLX framework and with their shared libraries, etc.
• Demo page: A single page, with your Javascript revletobject.load script, 
modified with URL extract capabilities (I'll share this if/when I get it 
working)
• Requirements mgt system: a simple spreadsheet-based environment, with 
formula-based URLs to access the relevant revlet demo start-point.

That'll do nicely!

Thanks again, Andre.
Keith..  

On 31 Jan 2011, at 15:40, Andre Garzia wrote:

> Keith,
> 
> Yes, I think it is feasible to have a single revlet with multiple
> stacks and different entry points based on the stack parameter. Or you
> can have a dispatch stack and use the javascript params array to hold
> information which will be used by the dispatch stack load load
> whatever stack you need. This way you can have more arbitration than
> just a stack name if needed.
> 
> Extracting URL parameters is not hard but if you want to make it
> extremely easy check out: http://menacingcloud.com/?c=uriProcessing
> this is just one of the many libraries that make it easy to do it.
> 
> If you want to do it by hand, it is just a manipulation on
> "window.location" and its members.
> 
> Cheers
> andre
> 
> On Mon, Jan 31, 2011 at 1:22 PM, Keith Clarke
>  wrote:
>> Andre,
>> Thanks for sharing.
>> 
>> As your revletobject.load script has 'src', 'stack' and 'id' parameters, it 
>> looks like I can get 'inside' the revlet, to open on a specific stack - that 
>> makes the single revlet with multiple start-points seem feasible. Great!
>> 
>> If I understand this correctly, if I place this javascript into a holding 
>> page for a demo revlet - and then hard-code the stack parameters - the page 
>> will launch the demo revlet, focused on the desired stack - nice!
>> 
>> Furthermore, a single demo page could be used to dynamically launch the 
>> revlet with the desired stack focus. If I create my functional specification 
>> in a spreadsheet or database, with columns for the demonstration revlet & 
>> stack parameters, a formula can generate the 'demo' URL with these 
>> parameters after a '?' character. Then, I can add to your Javascript, some 
>> code that extracts the URL parameters into variables and then launches the 
>> demo revlet into the correct stack.
>> 
>> I'm off to learn a bit about Javascript URL extract functions!
>> Thanks,
>> Keith..
>> 
>> On 31 Jan 2011, at 13:33, Andre Garzia wrote:
>> 
>>> Keith,
>>> 
>>> The revlet is hosted at a web page, you can have different web pages
>>> for each revlet so they will have unique urls. If doing revlets, check
>>> out my library at http://hg.andregarzia.com/revletobject (check the
>>> wiki) it has some nice loading routines for revlets, easier than using
>>> the one RunRev is using.
>>> 
>>> Andre
>>> 
>>> On Mon, Jan 31, 2011 at 11:27 AM, Keith Clarke
>>>  wrote:
 Andre, Thanks for responding. The question isn't about whether revlets can 
 access other revlets but whether specific revlet stack/card/pages have 
 externally available URLs to open them directly.
 
 I'm collaborating on a functional specification document (probably in a 
 Google Doc) and would like to embed hyperlinks to specific cards within a 
 'wire-frames' revlet that I upload onto my VPS. I therefore need either:
 1. A single revlet, with externally addressable URLs for each page that it 
 generates - if page-specific URLs are created and available outside the 
 revplayer;
 2. Separate revlets for each wire-frame or demo environment - if each 
 revlet is self-contained;
 
 I'd prefer option (1) if it is possible, so that requirements can be 
 linked to different start-points within a single prototype application, 
 but can I access multiple URLs within a revlet - or pass parameters after 
 a single main URL to open a specific stack or card?
 Best,
 Keith..
 
 On 31 Jan 2011, at 13:01, Andre Garzia wrote:
 
> Keith,
> 
> One revlet will not be able to access other revlet unless you load
> them all in the same page and use something like "do ... in browser"
> to communicate which would be hard since you would need to create all
> the communication channel.
> 
> Why not loading all the stacks in the same revlet?
> 
> Andre
> 
> On Sun, Jan 30, 2011 at 1:39 PM, Keith Clarke
>  wrote:
>> Hi Folks,
>> I'm looking to pull together various rev wire-frame/prototype/experiment 
>> pages for a web app project into a more structured development 
>> environment. If I migrate my various experiments into sub-stacks of a 
>> single GLX framework app (and then save this as a revlet) would 
>> individual revlet pages be externally addressable via urls within a 
>> re

Re: An idea on multithreading implementation

2011-01-31 Thread Peter Haworth
I'll admit that I've never had the need to do this with LC but it feels like it 
should be possible.  How about this.

Make your "Accounts Receivable" a separate standalone LC application and start 
it up from your main application when it starts up. 

The AR program would have an appleEvent handler in it looking for messages sent 
to it with a "send to program" command from your main App and use the request 
appleEvent command to get whatever data you send to it.  Or your main app could 
put the data in some place accessible to both programs, perhaps an SQL table of 
pending requests.  

On receipt of the appleEvent, the AR program would do it's thing and send an 
AppleEvent back to your main program when it's done or report progress back at 
regular intervals, whatever you need it to do. 

When it's done, it would sit there waiting for another appleEvent to tell it 
what to do next.   

There don't seem to be equivalents to send to program and appleEvent for 
Windows but I'll bet some of the smart people on this list can suggest 
something (and perhaps a better way of doing it on a Mac)

I'm sure this is an over-simplistic description but it seems like it oughta 
work?

Pete Haworth

On Jan 31, 2011, at 9:56 AM, Bob Sneidar wrote:

> When I started this whole thread, what I had in mind was a simple method for 
> allowing commands and even whole stacks to run concurrently with other 
> stacks, while still being able to communicate with each other through the 
> engine. All the stuff about enabling and disabling communications between 
> things is to me irrelevant. Just compile 2 apps and they will not be able to 
> talk natively to each other. Done deal. 
> 
> Some tell me that multithreading is not that simple. Well nothing under the 
> hood of any app is simple, and triply so for a development environment. My 
> idea was for the engine to handle communications between all of it's objects 
> the way it does now, but have concurrent processes IF YOU WANTED. 
> 
> By default, I envision LiveCode working just the way it does now, with the 
> OPTION to say something like: 
> 
> open stack "Accounts Receivable" with new thread
> or 
> do ReportGen with new thread
> 
> I could then check in on the state of a global from time to time in my 
> Progress Bar modal stack or switch back to my "Order Entry" stack and 
> continue entering my customer's order while the report generator was running. 
> See? I personally do not have any interest whatsoever managing all the 
> threading myself. I use LiveCode so I do not HAVE to know or understand that 
> sort of thing. I am only one person. One of the things that LiveCode allows 
> us to do, which is not talked about much, is to produce really nice and 
> functional applications with incredibly minimal resources (like only one 
> developer!)
> 
> Bob
> 
> 
> On Jan 31, 2011, at 9:35 AM, form wrote:
> 
>> Even discounting games, I'd love to be able to designate a substack to being
>> "threaded", disabling its access to objects in other stacks, and limiting
>> communication to event/message passing.
>> 
>> It would be very much like using the open process command with a Windows
>> command line program. (WHY doesn't it work with Mac command line
>> programs?!?!)
>> 
>> I use open process is a stack to start a makefile and monitor its output
>> while keeping the interface perfectly responsive. I do the same on a mac
>> using a shell command outputting to a text file that I sample the tail from
>> in another shell command. Hackier, but it gets the basic job done.
>> 
>> But if I have LiveCode that I want to start and monitor, I'm out of luck.
>> (Without getting REALLY hacky, that is.)
>> 
>> ~ Chris Innanen
>> ~ Nonsanity
>> 
>> 
>> On Mon, Jan 31, 2011 at 11:57 AM, Bob Sneidar  wrote:
>> 
>>> Well now that there is Livecode for iApps, a lot of people may want it, but
>>> I for one am never going to develop a game, even a simple one.
>>> 
>>> Bob
>>> 
>>> 
>>> On Jan 29, 2011, at 5:06 PM, Alejandro Tejada wrote:
>>> 
 Hi All,
 
 It's nice to read discussions about features that
 enhance this platform, but now I have one doubt:
 
 How many developers (who use Livecode) want
 to see this platform converted in a game engine?
 
 Notice that the only DLL in my wish list for this
 platform is a SWF player, that allows to run
 movies inside a stack, just like the Quicktime
 externals. I do not want to see a Timeline
 in this platform...
 
 At least in my mind, you could not build (easily)
 the kind of applications created with Livecode
 if it were a game engine. Am I wrong?
 
 Or There are no boundaries anymore among
 Software Development tools?
 
 Al
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
 http://lists.runrev

Re: An idea on multithreading implementation

2011-01-31 Thread Bob Sneidar
Thanks Andre I read that. Good stuff. I was thinking it might be possible to do 
really simply internally to the engine so pea brains like me wouldn't have to 
wrap their minds around stateful programming. Maybe I am barking up the wrong 
data tree. 

Bob


On Jan 31, 2011, at 10:30 AM, Andre Garzia wrote:

> Folks,
> 
> I've posted an email to this list with subject "on livecode idea"
> dealing with some solutions for cooperative threading with state.
> 
> cheers
> andre


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: An idea on multithreading implementation

2011-01-31 Thread Bob Sneidar
I don't understand how you could have a deadlock. If you mean call something 
from one threaded stack which in turn calls something in the first threaded 
stack, then I would say, don't do that! Same as I would say, don't write an 
infinite loop! Sure you can, why would you?

Bob


On Jan 31, 2011, at 10:25 AM, Geoff Canyon Rev wrote:

> How would you handle race conditions and deadlock in a livecode-like way? If
> the engine could make it as easy as "with new thread" that would be awesome,
> but I think we'd also need ways to prevent/handle the issues that come with
> concurrency.
> 
> gc
> 
> On Mon, Jan 31, 2011 at 11:56 AM, Bob Sneidar  wrote:
> 
>> When I started this whole thread, what I had in mind was a simple method
>> for allowing commands and even whole stacks to run concurrently with other
>> stacks, while still being able to communicate with each other through the
>> engine. All the stuff about enabling and disabling communications between
>> things is to me irrelevant. Just compile 2 apps and they will not be able to
>> talk natively to each other. Done deal.
>> 
>> Some tell me that multithreading is not that simple. Well nothing under the
>> hood of any app is simple, and triply so for a development environment. My
>> idea was for the engine to handle communications between all of it's objects
>> the way it does now, but have concurrent processes IF YOU WANTED.
>> 
>> By default, I envision LiveCode working just the way it does now, with the
>> OPTION to say something like:
>> 
>> open stack "Accounts Receivable" with new thread
>> or
>> do ReportGen with new thread
>> 
>> I could then check in on the state of a global from time to time in my
>> Progress Bar modal stack or switch back to my "Order Entry" stack and
>> continue entering my customer's order while the report generator was
>> running. See? I personally do not have any interest whatsoever managing all
>> the threading myself. I use LiveCode so I do not HAVE to know or understand
>> that sort of thing. I am only one person. One of the things that LiveCode
>> allows us to do, which is not talked about much, is to produce really nice
>> and functional applications with incredibly minimal resources (like only one
>> developer!)
>> 
>> Bob
>> 
>> 
>> On Jan 31, 2011, at 9:35 AM, form wrote:
>> 
>>> Even discounting games, I'd love to be able to designate a substack to
>> being
>>> "threaded", disabling its access to objects in other stacks, and limiting
>>> communication to event/message passing.
>>> 
>>> It would be very much like using the open process command with a Windows
>>> command line program. (WHY doesn't it work with Mac command line
>>> programs?!?!)
>>> 
>>> I use open process is a stack to start a makefile and monitor its output
>>> while keeping the interface perfectly responsive. I do the same on a mac
>>> using a shell command outputting to a text file that I sample the tail
>> from
>>> in another shell command. Hackier, but it gets the basic job done.
>>> 
>>> But if I have LiveCode that I want to start and monitor, I'm out of luck.
>>> (Without getting REALLY hacky, that is.)
>>> 
>>> ~ Chris Innanen
>>> ~ Nonsanity
>>> 
>>> 
>>> On Mon, Jan 31, 2011 at 11:57 AM, Bob Sneidar  wrote:
>>> 
 Well now that there is Livecode for iApps, a lot of people may want it,
>> but
 I for one am never going to develop a game, even a simple one.
 
 Bob
 
 
 On Jan 29, 2011, at 5:06 PM, Alejandro Tejada wrote:
 
> Hi All,
> 
> It's nice to read discussions about features that
> enhance this platform, but now I have one doubt:
> 
> How many developers (who use Livecode) want
> to see this platform converted in a game engine?
> 
> Notice that the only DLL in my wish list for this
> platform is a SWF player, that allows to run
> movies inside a stack, just like the Quicktime
> externals. I do not want to see a Timeline
> in this platform...
> 
> At least in my mind, you could not build (easily)
> the kind of applications created with Livecode
> if it were a game engine. Am I wrong?
> 
> Or There are no boundaries anymore among
> Software Development tools?
> 
> Al
> 
> ___
> use-livecode mailing list
> use-livecode@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@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@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your

Re: SPAM Square Up

2011-01-31 Thread Richmond

On 01/31/2011 07:11 PM, form wrote:

On Sat, Jan 29, 2011 at 12:08 PM, Peter Haworthwrote:


Don't know about these guys but the credit card processing market is full
of hidden charges - very much like cell phone plans.  For example, I get
charged $10/month as a "statement fee"!!!


Now that's making a statement...

I've got one of these Square readers in my pocket. Haven't had the
opportunity to test it, and haven't felt like losing the cut they take from
every transaction just to swipe my own card.

Probably the biggest roadblock to its use is getting people to trust their
credit card to it. Went to lunch with some co-workers and couldn't convince
them to let me consolidate our shares of the cost with it. They preferred to
pay me cash. (Now that I think of it, one of them was a little short, and
now he's no longer with the company... DAMN!)


He was "a little short"; do I detect prejudice against PORGs (People Of 
Restricted Growth)?


Credit cards have always struck me as iniquitous; spending money you 
don't have and
then getting charged interest on it. Personally I always use my Debit 
card (obviously,
for the benefit of lovers of the Brazil-Bulgaria Axis of Bentness (BBAB) 
out there, I don't mean
a Bulgarian debit card) when I make online payments. No interest, and no 
risk of spending money

I don't have . . .  :)

I, also, always do it via . . .

Tor : http://www.torproject.org

Call me "an*l", call me "over cautious"; but, frankly, I'd rather you 
called me those things rather
than find that some member of the BBAB has been buying his girlfriend 
thongs, or himself

leopard-skin posing pouches with my debit card . . .  :)


  ~ Chris Innanen
  ~ Nonsanity
___


Disclaimer: Richmond Mathewson is not, and never has been, associated 
with the

Brazil-Bulgaria Axis of Bentness . . .  :)
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: An idea on multithreading implementation

2011-01-31 Thread Andre Garzia
Folks,

I've posted an email to this list with subject "on livecode idea"
dealing with some solutions for cooperative threading with state.

cheers
andre

On Mon, Jan 31, 2011 at 4:25 PM, Geoff Canyon Rev  wrote:
> How would you handle race conditions and deadlock in a livecode-like way? If
> the engine could make it as easy as "with new thread" that would be awesome,
> but I think we'd also need ways to prevent/handle the issues that come with
> concurrency.
>
> gc
>
> On Mon, Jan 31, 2011 at 11:56 AM, Bob Sneidar  wrote:
>
>> When I started this whole thread, what I had in mind was a simple method
>> for allowing commands and even whole stacks to run concurrently with other
>> stacks, while still being able to communicate with each other through the
>> engine. All the stuff about enabling and disabling communications between
>> things is to me irrelevant. Just compile 2 apps and they will not be able to
>> talk natively to each other. Done deal.
>>
>> Some tell me that multithreading is not that simple. Well nothing under the
>> hood of any app is simple, and triply so for a development environment. My
>> idea was for the engine to handle communications between all of it's objects
>> the way it does now, but have concurrent processes IF YOU WANTED.
>>
>> By default, I envision LiveCode working just the way it does now, with the
>> OPTION to say something like:
>>
>> open stack "Accounts Receivable" with new thread
>> or
>> do ReportGen with new thread
>>
>> I could then check in on the state of a global from time to time in my
>> Progress Bar modal stack or switch back to my "Order Entry" stack and
>> continue entering my customer's order while the report generator was
>> running. See? I personally do not have any interest whatsoever managing all
>> the threading myself. I use LiveCode so I do not HAVE to know or understand
>> that sort of thing. I am only one person. One of the things that LiveCode
>> allows us to do, which is not talked about much, is to produce really nice
>> and functional applications with incredibly minimal resources (like only one
>> developer!)
>>
>> Bob
>>
>>
>> On Jan 31, 2011, at 9:35 AM, form wrote:
>>
>> > Even discounting games, I'd love to be able to designate a substack to
>> being
>> > "threaded", disabling its access to objects in other stacks, and limiting
>> > communication to event/message passing.
>> >
>> > It would be very much like using the open process command with a Windows
>> > command line program. (WHY doesn't it work with Mac command line
>> > programs?!?!)
>> >
>> > I use open process is a stack to start a makefile and monitor its output
>> > while keeping the interface perfectly responsive. I do the same on a mac
>> > using a shell command outputting to a text file that I sample the tail
>> from
>> > in another shell command. Hackier, but it gets the basic job done.
>> >
>> > But if I have LiveCode that I want to start and monitor, I'm out of luck.
>> > (Without getting REALLY hacky, that is.)
>> >
>> > ~ Chris Innanen
>> > ~ Nonsanity
>> >
>> >
>> > On Mon, Jan 31, 2011 at 11:57 AM, Bob Sneidar  wrote:
>> >
>> >> Well now that there is Livecode for iApps, a lot of people may want it,
>> but
>> >> I for one am never going to develop a game, even a simple one.
>> >>
>> >> Bob
>> >>
>> >>
>> >> On Jan 29, 2011, at 5:06 PM, Alejandro Tejada wrote:
>> >>
>> >>> Hi All,
>> >>>
>> >>> It's nice to read discussions about features that
>> >>> enhance this platform, but now I have one doubt:
>> >>>
>> >>> How many developers (who use Livecode) want
>> >>> to see this platform converted in a game engine?
>> >>>
>> >>> Notice that the only DLL in my wish list for this
>> >>> platform is a SWF player, that allows to run
>> >>> movies inside a stack, just like the Quicktime
>> >>> externals. I do not want to see a Timeline
>> >>> in this platform...
>> >>>
>> >>> At least in my mind, you could not build (easily)
>> >>> the kind of applications created with Livecode
>> >>> if it were a game engine. Am I wrong?
>> >>>
>> >>> Or There are no boundaries anymore among
>> >>> Software Development tools?
>> >>>
>> >>> Al
>> >>>
>> >>> ___
>> >>> use-livecode mailing list
>> >>> use-livecode@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@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@lists.runrev.com
>> > Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> > http://lists.runrev.com/mailman/listinfo/use-livec

Re: An idea on multithreading implementation

2011-01-31 Thread Geoff Canyon Rev
How would you handle race conditions and deadlock in a livecode-like way? If
the engine could make it as easy as "with new thread" that would be awesome,
but I think we'd also need ways to prevent/handle the issues that come with
concurrency.

gc

On Mon, Jan 31, 2011 at 11:56 AM, Bob Sneidar  wrote:

> When I started this whole thread, what I had in mind was a simple method
> for allowing commands and even whole stacks to run concurrently with other
> stacks, while still being able to communicate with each other through the
> engine. All the stuff about enabling and disabling communications between
> things is to me irrelevant. Just compile 2 apps and they will not be able to
> talk natively to each other. Done deal.
>
> Some tell me that multithreading is not that simple. Well nothing under the
> hood of any app is simple, and triply so for a development environment. My
> idea was for the engine to handle communications between all of it's objects
> the way it does now, but have concurrent processes IF YOU WANTED.
>
> By default, I envision LiveCode working just the way it does now, with the
> OPTION to say something like:
>
> open stack "Accounts Receivable" with new thread
> or
> do ReportGen with new thread
>
> I could then check in on the state of a global from time to time in my
> Progress Bar modal stack or switch back to my "Order Entry" stack and
> continue entering my customer's order while the report generator was
> running. See? I personally do not have any interest whatsoever managing all
> the threading myself. I use LiveCode so I do not HAVE to know or understand
> that sort of thing. I am only one person. One of the things that LiveCode
> allows us to do, which is not talked about much, is to produce really nice
> and functional applications with incredibly minimal resources (like only one
> developer!)
>
> Bob
>
>
> On Jan 31, 2011, at 9:35 AM, form wrote:
>
> > Even discounting games, I'd love to be able to designate a substack to
> being
> > "threaded", disabling its access to objects in other stacks, and limiting
> > communication to event/message passing.
> >
> > It would be very much like using the open process command with a Windows
> > command line program. (WHY doesn't it work with Mac command line
> > programs?!?!)
> >
> > I use open process is a stack to start a makefile and monitor its output
> > while keeping the interface perfectly responsive. I do the same on a mac
> > using a shell command outputting to a text file that I sample the tail
> from
> > in another shell command. Hackier, but it gets the basic job done.
> >
> > But if I have LiveCode that I want to start and monitor, I'm out of luck.
> > (Without getting REALLY hacky, that is.)
> >
> > ~ Chris Innanen
> > ~ Nonsanity
> >
> >
> > On Mon, Jan 31, 2011 at 11:57 AM, Bob Sneidar  wrote:
> >
> >> Well now that there is Livecode for iApps, a lot of people may want it,
> but
> >> I for one am never going to develop a game, even a simple one.
> >>
> >> Bob
> >>
> >>
> >> On Jan 29, 2011, at 5:06 PM, Alejandro Tejada wrote:
> >>
> >>> Hi All,
> >>>
> >>> It's nice to read discussions about features that
> >>> enhance this platform, but now I have one doubt:
> >>>
> >>> How many developers (who use Livecode) want
> >>> to see this platform converted in a game engine?
> >>>
> >>> Notice that the only DLL in my wish list for this
> >>> platform is a SWF player, that allows to run
> >>> movies inside a stack, just like the Quicktime
> >>> externals. I do not want to see a Timeline
> >>> in this platform...
> >>>
> >>> At least in my mind, you could not build (easily)
> >>> the kind of applications created with Livecode
> >>> if it were a game engine. Am I wrong?
> >>>
> >>> Or There are no boundaries anymore among
> >>> Software Development tools?
> >>>
> >>> Al
> >>>
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@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@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@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@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 

Re: dgText

2011-01-31 Thread Peter Haworth
Yep, I agree.  Datagrids are mentioned in the Reference manual as an available 
control, they're on the IDE Tool palette but the dictionary is silent about 
them.  Trevor has very thoroughly documented datagrids at the provided link but 
but their properties and messages should be in the dictionary.

Pete Haworth

On Jan 31, 2011, at 9:24 AM, dunb...@aol.com wrote:

> Thanks. Bob. I know anout the lesson. I just am surprised that an entire 
> section of the language is missing from the dictionary.
> 
> Craig
> 
> In a message dated 1/31/11 12:12:10 PM, b...@twft.com writes:
> 
> 
>> 
>> http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datag
>> rid
>> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: An idea on multithreading implementation

2011-01-31 Thread Bob Sneidar
When I started this whole thread, what I had in mind was a simple method for 
allowing commands and even whole stacks to run concurrently with other stacks, 
while still being able to communicate with each other through the engine. All 
the stuff about enabling and disabling communications between things is to me 
irrelevant. Just compile 2 apps and they will not be able to talk natively to 
each other. Done deal. 

Some tell me that multithreading is not that simple. Well nothing under the 
hood of any app is simple, and triply so for a development environment. My idea 
was for the engine to handle communications between all of it's objects the way 
it does now, but have concurrent processes IF YOU WANTED. 

By default, I envision LiveCode working just the way it does now, with the 
OPTION to say something like: 

open stack "Accounts Receivable" with new thread
or 
do ReportGen with new thread

I could then check in on the state of a global from time to time in my Progress 
Bar modal stack or switch back to my "Order Entry" stack and continue entering 
my customer's order while the report generator was running. See? I personally 
do not have any interest whatsoever managing all the threading myself. I use 
LiveCode so I do not HAVE to know or understand that sort of thing. I am only 
one person. One of the things that LiveCode allows us to do, which is not 
talked about much, is to produce really nice and functional applications with 
incredibly minimal resources (like only one developer!)

Bob


On Jan 31, 2011, at 9:35 AM, form wrote:

> Even discounting games, I'd love to be able to designate a substack to being
> "threaded", disabling its access to objects in other stacks, and limiting
> communication to event/message passing.
> 
> It would be very much like using the open process command with a Windows
> command line program. (WHY doesn't it work with Mac command line
> programs?!?!)
> 
> I use open process is a stack to start a makefile and monitor its output
> while keeping the interface perfectly responsive. I do the same on a mac
> using a shell command outputting to a text file that I sample the tail from
> in another shell command. Hackier, but it gets the basic job done.
> 
> But if I have LiveCode that I want to start and monitor, I'm out of luck.
> (Without getting REALLY hacky, that is.)
> 
> ~ Chris Innanen
> ~ Nonsanity
> 
> 
> On Mon, Jan 31, 2011 at 11:57 AM, Bob Sneidar  wrote:
> 
>> Well now that there is Livecode for iApps, a lot of people may want it, but
>> I for one am never going to develop a game, even a simple one.
>> 
>> Bob
>> 
>> 
>> On Jan 29, 2011, at 5:06 PM, Alejandro Tejada wrote:
>> 
>>> Hi All,
>>> 
>>> It's nice to read discussions about features that
>>> enhance this platform, but now I have one doubt:
>>> 
>>> How many developers (who use Livecode) want
>>> to see this platform converted in a game engine?
>>> 
>>> Notice that the only DLL in my wish list for this
>>> platform is a SWF player, that allows to run
>>> movies inside a stack, just like the Quicktime
>>> externals. I do not want to see a Timeline
>>> in this platform...
>>> 
>>> At least in my mind, you could not build (easily)
>>> the kind of applications created with Livecode
>>> if it were a game engine. Am I wrong?
>>> 
>>> Or There are no boundaries anymore among
>>> Software Development tools?
>>> 
>>> Al
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: An idea on multithreading implementation

2011-01-31 Thread form
Even discounting games, I'd love to be able to designate a substack to being
"threaded", disabling its access to objects in other stacks, and limiting
communication to event/message passing.

It would be very much like using the open process command with a Windows
command line program. (WHY doesn't it work with Mac command line
programs?!?!)

I use open process is a stack to start a makefile and monitor its output
while keeping the interface perfectly responsive. I do the same on a mac
using a shell command outputting to a text file that I sample the tail from
in another shell command. Hackier, but it gets the basic job done.

But if I have LiveCode that I want to start and monitor, I'm out of luck.
(Without getting REALLY hacky, that is.)

 ~ Chris Innanen
 ~ Nonsanity


On Mon, Jan 31, 2011 at 11:57 AM, Bob Sneidar  wrote:

> Well now that there is Livecode for iApps, a lot of people may want it, but
> I for one am never going to develop a game, even a simple one.
>
> Bob
>
>
> On Jan 29, 2011, at 5:06 PM, Alejandro Tejada wrote:
>
> > Hi All,
> >
> > It's nice to read discussions about features that
> > enhance this platform, but now I have one doubt:
> >
> > How many developers (who use Livecode) want
> > to see this platform converted in a game engine?
> >
> > Notice that the only DLL in my wish list for this
> > platform is a SWF player, that allows to run
> > movies inside a stack, just like the Quicktime
> > externals. I do not want to see a Timeline
> > in this platform...
> >
> > At least in my mind, you could not build (easily)
> > the kind of applications created with Livecode
> > if it were a game engine. Am I wrong?
> >
> > Or There are no boundaries anymore among
> > Software Development tools?
> >
> > Al
> >
> > ___
> > use-livecode mailing list
> > use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: dgText

2011-01-31 Thread J. Landman Gay

On 1/31/11 11:24 AM, dunb...@aol.com wrote:

Thanks. Bob. I know anout the lesson. I just am surprised that an entire
section of the language is missing from the dictionary.


Datagrids aren't "real" controls like the others, they are scripted 
groups written by a third party, and were later added to the tool 
palette for convenient access. So while they appear to be part of the 
engine, they're actually a little more like plugins or add-ons.


That doesn't excuse the lack of integrated documentation, but maybe 
explains it.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: dgText

2011-01-31 Thread DunbarX
Thanks. Bob. I know anout the lesson. I just am surprised that an entire 
section of the language is missing from the dictionary.

Craig

In a message dated 1/31/11 12:12:10 PM, b...@twft.com writes:


> 
> http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datag
> rid
> 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: SPAM Square Up

2011-01-31 Thread form
On Sat, Jan 29, 2011 at 12:08 PM, Peter Haworth wrote:

> Don't know about these guys but the credit card processing market is full
> of hidden charges - very much like cell phone plans.  For example, I get
> charged $10/month as a "statement fee"!!!


Now that's making a statement...

I've got one of these Square readers in my pocket. Haven't had the
opportunity to test it, and haven't felt like losing the cut they take from
every transaction just to swipe my own card.

Probably the biggest roadblock to its use is getting people to trust their
credit card to it. Went to lunch with some co-workers and couldn't convince
them to let me consolidate our shares of the cost with it. They preferred to
pay me cash. (Now that I think of it, one of them was a little short, and
now he's no longer with the company... DAMN!)

 ~ Chris Innanen
 ~ Nonsanity
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: dgText

2011-01-31 Thread Bob Sneidar
You have to go to the web page for learning to use data grids. There is a whole 
API and yes, dgText is in there. There is also a tutorial on how to use data 
grids. 

http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagrid

Bob

On Jan 31, 2011, at 7:51 AM, dunb...@aol.com wrote:

> There is no entry for this property in the dictionary. Or any other 
> datagrid properties.
> 
> Is it just me?
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode for e-book production

2011-01-31 Thread Bob Sneidar
I'll be the wet blanket. If there are already economical epub converters out 
there, or even free ones, then unless you include some functionality that is 
unique, one might as the question, why?

http://www.2epub.com/

Bob


On Jan 29, 2011, at 7:31 AM, Javier Miranda V. wrote:

> Dear friends, can you please give me your opinions on using LiveCode for 
> e-book production?.  I know LiveCode, being so powerful, can handle complex 
> projects involving lots of logic and structures, but is it suitable / 
> practical to use it for e-book production?.  The possibility of compile for 
> the new mobile operating systems is something wonderful that I would like to 
> to use coupled with the multimedia capabilities.  
> 
> I will be looking forward for your impressions about this.
> 
> 
> Saludos,
> 
> Javier Miranda V.
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [Preview]DGH adds new properties for datagrids WAS Alternating Column Colors

2011-01-31 Thread Bob Sneidar
All I can say is wow. 

Bob


On Jan 30, 2011, at 3:57 PM, zryip theSlug wrote:

> Dear DataGrid users and DGH aficionados,
> 
> Here is a preview video of DGH working on column colors.
> 
> We worked especially to add new special properties for datagrids. An
> extension of the datagrid API prefixed by "dgh", such as
> - the dghProp["Alternate column colors"] of grp "myDataGrid" to pBoolean
> - the dghProp["Column color"] of grp "myDataGrid" to pColor
> - etc
> 
> The video of DGH in action:
> 
> http://www.youtube.com/user/TheSlugOnTheRoad#p/u/0/FEY18vzsFJs
> 
> 
> This feature will be available in the next version of DGH.
> 
> 
> Best regards,
> -- 
> -Zryip TheSlug- wish you the best! 8)
> http://www.aslugontheroad.co.cc
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: An idea on multithreading implementation

2011-01-31 Thread Bob Sneidar
Well now that there is Livecode for iApps, a lot of people may want it, but I 
for one am never going to develop a game, even a simple one. 

Bob


On Jan 29, 2011, at 5:06 PM, Alejandro Tejada wrote:

> Hi All,
> 
> It's nice to read discussions about features that
> enhance this platform, but now I have one doubt:
> 
> How many developers (who use Livecode) want
> to see this platform converted in a game engine?
> 
> Notice that the only DLL in my wish list for this
> platform is a SWF player, that allows to run
> movies inside a stack, just like the Quicktime
> externals. I do not want to see a Timeline
> in this platform...
> 
> At least in my mind, you could not build (easily)
> the kind of applications created with Livecode
> if it were a game engine. Am I wrong?
> 
> Or There are no boundaries anymore among
> Software Development tools?
> 
> Al
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Alternating Column Colors?

2011-01-31 Thread Bob Sneidar
Wait, you can do this even if there is no data if the data grid?

Bob


On Jan 29, 2011, at 11:25 AM, Phil Davis wrote:

> Scott,
> 
> Each cell in a data grid is a field, so it seems like it should be doable.
> 
> I created a DG and put some data in it. Then I did this from msg:
> 
> put the number of flds in selobj -- DG was selected
> --> 57
> 
> put the name of fld 44 of selobj
> --> field "Status 0008"
> 
> My DG has a column named "Status".
> 
> After further poking around, I see:
> - each DG cell is a field
> - the number of fields is related to the display rect of the DG, not to the 
> number of lines of data in it
> - fields are recreated when the DG's data is changed
> - every field in the DG has a style of 'transparent'
> - you can set a field's style to opaque and then any backColor you apply to 
> it will show up
> - the style changes you make seem to stick until the DG data is changed
> 
> Maybe some of the above will help you on your way.
> 
> Phil
> 
> 
> 
> On 1/28/11 3:54 PM, Bob Sneidar wrote:
>> Oh cool! Then you could make a chess or checkers game! I get it!
>> 
>> I read the API and none of the properties suggests you can do this. I think 
>> you will have to find the part of the parent script that draws the cells and 
>> change the background color on each one individually for odd or even rows.
>> 
>> The problem will then become, what happens if there is no data? Rows get 
>> colored even if there is no data, but no actual cells (cloned fields) get 
>> created until there is data.
>> 
>> I tried to edit the row template and put a colored square over the gray bar, 
>> but mine is a table not a form. You might be able to do it in a form, I'm 
>> not sure. At any rate it didn't work for me.
>> 
>> Bob
>> 
>> 
>> On Jan 28, 2011, at 1:55 PM, Scott Rossi wrote:
>> 
>>> Hi List:
>>> 
>>> The data grid nicely incorporates alternating line colors.  But does anyone
>>> know if it's possible to make alternating column colors or cell colors?
>>> 
>>> I'm building a control that has a horizontal scrolling data grid with only
>>> one row.  I'd like to be able to set alternating colors for cells or columns
>>> in the row.  Possible?
>>> 
>>> Thanks&  Regards,
>>> 
>>> Scott Rossi
>>> Creative Director
>>> Tactile Media, UX Design
>>> 
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@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@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> -- 
> Phil Davis
> 
> PDS Labs
> Professional Software Development
> http://pdslabs.net
> 
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


dgText

2011-01-31 Thread DunbarX
There is no entry for this property in the dictionary. Or any other 
datagrid properties.

Is it just me?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Do Revlet pages have unique URLs?

2011-01-31 Thread Andre Garzia
Keith,

Yes, I think it is feasible to have a single revlet with multiple
stacks and different entry points based on the stack parameter. Or you
can have a dispatch stack and use the javascript params array to hold
information which will be used by the dispatch stack load load
whatever stack you need. This way you can have more arbitration than
just a stack name if needed.

Extracting URL parameters is not hard but if you want to make it
extremely easy check out: http://menacingcloud.com/?c=uriProcessing
this is just one of the many libraries that make it easy to do it.

If you want to do it by hand, it is just a manipulation on
"window.location" and its members.

Cheers
andre

On Mon, Jan 31, 2011 at 1:22 PM, Keith Clarke
 wrote:
> Andre,
> Thanks for sharing.
>
> As your revletobject.load script has 'src', 'stack' and 'id' parameters, it 
> looks like I can get 'inside' the revlet, to open on a specific stack - that 
> makes the single revlet with multiple start-points seem feasible. Great!
>
> If I understand this correctly, if I place this javascript into a holding 
> page for a demo revlet - and then hard-code the stack parameters - the page 
> will launch the demo revlet, focused on the desired stack - nice!
>
> Furthermore, a single demo page could be used to dynamically launch the 
> revlet with the desired stack focus. If I create my functional specification 
> in a spreadsheet or database, with columns for the demonstration revlet & 
> stack parameters, a formula can generate the 'demo' URL with these parameters 
> after a '?' character. Then, I can add to your Javascript, some code that 
> extracts the URL parameters into variables and then launches the demo revlet 
> into the correct stack.
>
> I'm off to learn a bit about Javascript URL extract functions!
> Thanks,
> Keith..
>
> On 31 Jan 2011, at 13:33, Andre Garzia wrote:
>
>> Keith,
>>
>> The revlet is hosted at a web page, you can have different web pages
>> for each revlet so they will have unique urls. If doing revlets, check
>> out my library at http://hg.andregarzia.com/revletobject (check the
>> wiki) it has some nice loading routines for revlets, easier than using
>> the one RunRev is using.
>>
>> Andre
>>
>> On Mon, Jan 31, 2011 at 11:27 AM, Keith Clarke
>>  wrote:
>>> Andre, Thanks for responding. The question isn't about whether revlets can 
>>> access other revlets but whether specific revlet stack/card/pages have 
>>> externally available URLs to open them directly.
>>>
>>> I'm collaborating on a functional specification document (probably in a 
>>> Google Doc) and would like to embed hyperlinks to specific cards within a 
>>> 'wire-frames' revlet that I upload onto my VPS. I therefore need either:
>>> 1. A single revlet, with externally addressable URLs for each page that it 
>>> generates - if page-specific URLs are created and available outside the 
>>> revplayer;
>>> 2. Separate revlets for each wire-frame or demo environment - if each 
>>> revlet is self-contained;
>>>
>>> I'd prefer option (1) if it is possible, so that requirements can be linked 
>>> to different start-points within a single prototype application, but can I 
>>> access multiple URLs within a revlet - or pass parameters after a single 
>>> main URL to open a specific stack or card?
>>> Best,
>>> Keith..
>>>
>>> On 31 Jan 2011, at 13:01, Andre Garzia wrote:
>>>
 Keith,

 One revlet will not be able to access other revlet unless you load
 them all in the same page and use something like "do ... in browser"
 to communicate which would be hard since you would need to create all
 the communication channel.

 Why not loading all the stacks in the same revlet?

 Andre

 On Sun, Jan 30, 2011 at 1:39 PM, Keith Clarke
  wrote:
> Hi Folks,
> I'm looking to pull together various rev wire-frame/prototype/experiment 
> pages for a web app project into a more structured development 
> environment. If I migrate my various experiments into sub-stacks of a 
> single GLX framework app (and then save this as a revlet) would 
> individual revlet pages be externally addressable via urls within a 
> requirements mgt database? Or does revweb work as a self-contained 
> 'player', suggesting that I'd need to keep the various pages separate?
> TIA,
> Keith..
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



 --
 http://www.andregarzia.com All We Do Is Code.

 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-liveco

Re: Do Revlet pages have unique URLs?

2011-01-31 Thread Keith Clarke
Andre, 
Thanks for sharing.

As your revletobject.load script has 'src', 'stack' and 'id' parameters, it 
looks like I can get 'inside' the revlet, to open on a specific stack - that 
makes the single revlet with multiple start-points seem feasible. Great!

If I understand this correctly, if I place this javascript into a holding page 
for a demo revlet - and then hard-code the stack parameters - the page will 
launch the demo revlet, focused on the desired stack - nice!

Furthermore, a single demo page could be used to dynamically launch the revlet 
with the desired stack focus. If I create my functional specification in a 
spreadsheet or database, with columns for the demonstration revlet & stack 
parameters, a formula can generate the 'demo' URL with these parameters after a 
'?' character. Then, I can add to your Javascript, some code that extracts the 
URL parameters into variables and then launches the demo revlet into the 
correct stack.

I'm off to learn a bit about Javascript URL extract functions!
Thanks,
Keith..
 
On 31 Jan 2011, at 13:33, Andre Garzia wrote:

> Keith,
> 
> The revlet is hosted at a web page, you can have different web pages
> for each revlet so they will have unique urls. If doing revlets, check
> out my library at http://hg.andregarzia.com/revletobject (check the
> wiki) it has some nice loading routines for revlets, easier than using
> the one RunRev is using.
> 
> Andre
> 
> On Mon, Jan 31, 2011 at 11:27 AM, Keith Clarke
>  wrote:
>> Andre, Thanks for responding. The question isn't about whether revlets can 
>> access other revlets but whether specific revlet stack/card/pages have 
>> externally available URLs to open them directly.
>> 
>> I'm collaborating on a functional specification document (probably in a 
>> Google Doc) and would like to embed hyperlinks to specific cards within a 
>> 'wire-frames' revlet that I upload onto my VPS. I therefore need either:
>> 1. A single revlet, with externally addressable URLs for each page that it 
>> generates - if page-specific URLs are created and available outside the 
>> revplayer;
>> 2. Separate revlets for each wire-frame or demo environment - if each revlet 
>> is self-contained;
>> 
>> I'd prefer option (1) if it is possible, so that requirements can be linked 
>> to different start-points within a single prototype application, but can I 
>> access multiple URLs within a revlet - or pass parameters after a single 
>> main URL to open a specific stack or card?
>> Best,
>> Keith..
>> 
>> On 31 Jan 2011, at 13:01, Andre Garzia wrote:
>> 
>>> Keith,
>>> 
>>> One revlet will not be able to access other revlet unless you load
>>> them all in the same page and use something like "do ... in browser"
>>> to communicate which would be hard since you would need to create all
>>> the communication channel.
>>> 
>>> Why not loading all the stacks in the same revlet?
>>> 
>>> Andre
>>> 
>>> On Sun, Jan 30, 2011 at 1:39 PM, Keith Clarke
>>>  wrote:
 Hi Folks,
 I'm looking to pull together various rev wire-frame/prototype/experiment 
 pages for a web app project into a more structured development 
 environment. If I migrate my various experiments into sub-stacks of a 
 single GLX framework app (and then save this as a revlet) would individual 
 revlet pages be externally addressable via urls within a requirements mgt 
 database? Or does revweb work as a self-contained 'player', suggesting 
 that I'd need to keep the various pages separate?
 TIA,
 Keith..
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
>>> 
>>> 
>>> 
>>> --
>>> http://www.andregarzia.com All We Do Is Code.
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@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@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> 
> -- 
> http://www.andregarzia.com All We Do Is Code.
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/l

Re: LiveCode for e-book production

2011-01-31 Thread Andre Garzia
Javier,

It will be hard to do pure livecode solution for reading epubs, but if
you mix in some revbrowser magic, then it can be done easily. Just
unzip the epub container, rewrite some HTMLs to a temp place and load
them.

Andre

On Mon, Jan 31, 2011 at 11:31 AM, Javier Miranda V.
 wrote:
> As I can tell by your responses I find LC can effectively be used as tool for 
> e-book preparation and also as a reader.  Thank you for your responses, now 
> it´s something related on establishing the scope of the project.  The idea 
> would be to produce a reader capable to reading publications created with LC, 
> which would include all the multimedia amenities, navigation, internal and 
> external links.
>
>
>
> Saludos,
>
> Javier Miranda V.
>
>
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.andregarzia.com All We Do Is Code.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Do Revlet pages have unique URLs?

2011-01-31 Thread Andre Garzia
Keith,

The revlet is hosted at a web page, you can have different web pages
for each revlet so they will have unique urls. If doing revlets, check
out my library at http://hg.andregarzia.com/revletobject (check the
wiki) it has some nice loading routines for revlets, easier than using
the one RunRev is using.

Andre

On Mon, Jan 31, 2011 at 11:27 AM, Keith Clarke
 wrote:
> Andre, Thanks for responding. The question isn't about whether revlets can 
> access other revlets but whether specific revlet stack/card/pages have 
> externally available URLs to open them directly.
>
> I'm collaborating on a functional specification document (probably in a 
> Google Doc) and would like to embed hyperlinks to specific cards within a 
> 'wire-frames' revlet that I upload onto my VPS. I therefore need either:
> 1. A single revlet, with externally addressable URLs for each page that it 
> generates - if page-specific URLs are created and available outside the 
> revplayer;
> 2. Separate revlets for each wire-frame or demo environment - if each revlet 
> is self-contained;
>
> I'd prefer option (1) if it is possible, so that requirements can be linked 
> to different start-points within a single prototype application, but can I 
> access multiple URLs within a revlet - or pass parameters after a single main 
> URL to open a specific stack or card?
> Best,
> Keith..
>
> On 31 Jan 2011, at 13:01, Andre Garzia wrote:
>
>> Keith,
>>
>> One revlet will not be able to access other revlet unless you load
>> them all in the same page and use something like "do ... in browser"
>> to communicate which would be hard since you would need to create all
>> the communication channel.
>>
>> Why not loading all the stacks in the same revlet?
>>
>> Andre
>>
>> On Sun, Jan 30, 2011 at 1:39 PM, Keith Clarke
>>  wrote:
>>> Hi Folks,
>>> I'm looking to pull together various rev wire-frame/prototype/experiment 
>>> pages for a web app project into a more structured development environment. 
>>> If I migrate my various experiments into sub-stacks of a single GLX 
>>> framework app (and then save this as a revlet) would individual revlet 
>>> pages be externally addressable via urls within a requirements mgt 
>>> database? Or does revweb work as a self-contained 'player', suggesting that 
>>> I'd need to keep the various pages separate?
>>> TIA,
>>> Keith..
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>>
>>
>>
>> --
>> http://www.andregarzia.com All We Do Is Code.
>>
>> ___
>> use-livecode mailing list
>> use-livecode@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@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.andregarzia.com All We Do Is Code.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode for e-book production

2011-01-31 Thread Javier Miranda V.
As I can tell by your responses I find LC can effectively be used as tool for 
e-book preparation and also as a reader.  Thank you for your responses, now 
it´s something related on establishing the scope of the project.  The idea 
would be to produce a reader capable to reading publications created with LC, 
which would include all the multimedia amenities, navigation, internal and 
external links.  



Saludos,

Javier Miranda V.





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Do Revlet pages have unique URLs?

2011-01-31 Thread Keith Clarke
Andre, Thanks for responding. The question isn't about whether revlets can 
access other revlets but whether specific revlet stack/card/pages have 
externally available URLs to open them directly. 

I'm collaborating on a functional specification document (probably in a Google 
Doc) and would like to embed hyperlinks to specific cards within a 
'wire-frames' revlet that I upload onto my VPS. I therefore need either:
1. A single revlet, with externally addressable URLs for each page that it 
generates - if page-specific URLs are created and available outside the 
revplayer;
2. Separate revlets for each wire-frame or demo environment - if each revlet is 
self-contained;

I'd prefer option (1) if it is possible, so that requirements can be linked to 
different start-points within a single prototype application, but can I access 
multiple URLs within a revlet - or pass parameters after a single main URL to 
open a specific stack or card?
Best,
Keith..   

On 31 Jan 2011, at 13:01, Andre Garzia wrote:

> Keith,
> 
> One revlet will not be able to access other revlet unless you load
> them all in the same page and use something like "do ... in browser"
> to communicate which would be hard since you would need to create all
> the communication channel.
> 
> Why not loading all the stacks in the same revlet?
> 
> Andre
> 
> On Sun, Jan 30, 2011 at 1:39 PM, Keith Clarke
>  wrote:
>> Hi Folks,
>> I'm looking to pull together various rev wire-frame/prototype/experiment 
>> pages for a web app project into a more structured development environment. 
>> If I migrate my various experiments into sub-stacks of a single GLX 
>> framework app (and then save this as a revlet) would individual revlet pages 
>> be externally addressable via urls within a requirements mgt database? Or 
>> does revweb work as a self-contained 'player', suggesting that I'd need to 
>> keep the various pages separate?
>> TIA,
>> Keith..
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> 
> -- 
> http://www.andregarzia.com All We Do Is Code.
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [Semi-OT] some images from our upcomming iOS LiveCode built game

2011-01-31 Thread Andre Garzia
Folks,

we'll also have a desktop version! :-D

As soon as it is ready, I will let all know, happy you guys liked it!

Cheers
andre

On Mon, Jan 31, 2011 at 7:02 AM, John Craig  wrote:
> Great teaser - I'm looking forward to the game!
>
>
>
> On 28/01/2011 19:04, Andre Garzia wrote:
>>
>> Folks,
>>
>> Following the friday spirit, I share with you guys some images from
>> our upcoming LiveCode built iOS Game. Be aware that all this is still
>> work in progress. Our game is a unique twist on code breaking +
>> adventure game.
>>
>> (our development phase main screen)
>> http://dl.dropbox.com/u/1340110/img_0432.png
>>
>> (our maian level)
>> http://dl.dropbox.com/u/1340110/img_0433.png
>>
>> (our japan level)
>> http://dl.dropbox.com/u/1340110/img_0434.png
>>
>> (our norsk level)
>> http://dl.dropbox.com/u/1340110/img_0435.png
>>
>> The game is being developed by me and my friends on our spare time and
>> we hope will reach beta status soon.
>>
>> I am not the artist, I am just the coder, my friend Raphael is the
>> artist and he is quite gifted.
>>
>> Cheers
>> andre
>> PS: as soon as it is ready, we'll let everyone here know
>>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.andregarzia.com All We Do Is Code.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Do Revlet pages have unique URLs?

2011-01-31 Thread Andre Garzia
Keith,

One revlet will not be able to access other revlet unless you load
them all in the same page and use something like "do ... in browser"
to communicate which would be hard since you would need to create all
the communication channel.

Why not loading all the stacks in the same revlet?

Andre

On Sun, Jan 30, 2011 at 1:39 PM, Keith Clarke
 wrote:
> Hi Folks,
> I'm looking to pull together various rev wire-frame/prototype/experiment 
> pages for a web app project into a more structured development environment. 
> If I migrate my various experiments into sub-stacks of a single GLX framework 
> app (and then save this as a revlet) would individual revlet pages be 
> externally addressable via urls within a requirements mgt database? Or does 
> revweb work as a self-contained 'player', suggesting that I'd need to keep 
> the various pages separate?
> TIA,
> Keith..
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.andregarzia.com All We Do Is Code.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode for e-book production

2011-01-31 Thread Andre Garzia
EPUB format is easy but it is full of namespaces. LiveCode can
generate and read epubs but you need some hacks to change those
namespaces. I did some research on that and so did Sivakatirswami.

On Sun, Jan 30, 2011 at 12:29 PM, Colin Holgate  wrote:
> If the plan is to have LC just be a tool for gathering the bits together, and 
> then to spit out an e-book that other tools can read, look at the EPUB format:
>
> http://en.wikipedia.org/wiki/EPUB
>
> If instead you want use LC as the book reader itself, and bring external text 
> into it and then format it into pages and chapters, it might be worth 
> limiting the input text to RTF. When we did this in 1992 we used a Claris 
> extension that could read many different text formats, but I doubt that 
> software still exists, or could work inside LC.
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.andregarzia.com All We Do Is Code.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


on livecode based idea (was Re: An idea on multithreading implementation)

2011-01-31 Thread Andre Garzia
Folks,

>From working with livecode based servers for some year, I've drafted a
little plan about co-routines. I don't have access to the engine
internals, so when I think about solving a problem, I try to think in
terms of the livecode interface that is exposed to us. Even though I
would welcome threads, process forking and whatever, there is a way to
create co-routines in livecode by extending some simple routines. What
I will tell on this email will not add performance but it may add some
advantadge on how to express things.

The problem with "wait with 0 ticks" and other send in time routines
is that state is not preserved and that we cannot yield to the middle
of a handler. Our problem is not switching handlers, our problem is
state maintenance. So let us get the ball rolling.

The first thing we need is a way to freeze a computation in time. By
checking "the variableNames"
(http://docs.runrev.com/Function/variableNames) and looping thru "the
executionContexts" (http://docs.runrev.com/Property/executionContexts)
it is possible to get an "instantaneous image" of what the engine is
doing. Now, looping "the pendingMessages"
(http://docs.runrev.com/Property/pendingMessages) as well would get
what more is happening alongside the given script. We could then save
all this information in what I will call for the lack of better term
"the current continuation" (it is not a true continuation).

So after the above steps we have a chunk of what is happening saved
and stored. We now need a way to invoke a continuation, to restore a
given piece of state. Right now, I think the only way to do it (or to
fake it) is to use the debug routines. I think that is is possible to
create a script runtime breakpoint, then, by execution it with the
debug routines and stopping there, it is possible to manipulate the
environment to load the state that was preserved before. This script
should have the local and script local and global declarations needed
for the given state, then we change all these variables to contain the
data preserved from the desired continuation, we schedule the
pendingMessages as well. Now the tricky thing is, we need an
enhancement to the debugDo or some other debug internal command to
start executing a script from a specific line. The executionContexts
need to be used both ways, not only to peer on how we got to some
place but set so that we can restore a previous state. If we could set
the executionContexts and the next debugDo command would follow the
natural computation from the current set executionContexts, we would
be all set.

So trough the use of a save state routine in pure LiveCode script we
could save a continuation for later use. Using LiveCode powerful debug
routines with some enhancements, we would then be able to restore to a
given state in time. These two routines would be the basis that would
enable us to do the following items:

CO-ROUTINES (cooperative)

A simple scheduler would save and restore states using cooperative
threads where a given handler would call "yield" which would save his
current state and then be restored to that exact point when the
scheduler calls it again

BACKTRACKING

Some powerful decision making algorithms could be implemented. A
script could branch into multiple paths to solve a problem and if
found a wrong answer, it could chain call the restore state function
effectively backtracking in time all its contexts and variables till
the point of the branching where it could then follow some other
branch. Backtracking is cool because once you found the correct
decision path you were looking for it appears that you have a straight
path since all the wrong options were erased due to backtracking.
Think of it like solving a maze, every time you take a wrong turn, you
erase everything until the given turn and then you continue from there
to the other turn. When you solve the maze, you can see a straight
path from your start position to the exit with not a single error. If
you can't think of a practical use for backtracking, let me tell you
two:

1) Error handling: Oops an error happened, backtrack until you solve
it, no side effects.
2) Brute force anything: brute force something until you have the
correct answer.

CONTINUATION-PASSING STYLE WEB PROGRAMMING

This is the big one for me. The main bad thing that hurt all web
developers is that the web is stateless. There is a lot of code in
anyones project to deal with sessions and finding where in the
computation (in time) some user is. Requests all looks the same, you
need to peek into cookies, hidden vars, urls until you find what you
should be doing. This is a pain when trying to do things that need to
happen in order with input from the user. For example, doing multiple
page forms with runtime decisions about what to show is hard due to
all the state maintenance. If we had continuations, we could simply
save all the computation, present the page to the user and when he
return, we restore the computation. This makes sta

Re: knowing when there is no activity

2011-01-31 Thread Colin Holgate

On Jan 31, 2011, at 7:18 AM, Björnke von Gierke wrote:

> there's idle, but adjusting the idleRate has several, mostly unwanted side 
> effects with repeating, build in messages like mouseStillDown. Still, if you 
> remember to reset it to default at the correct moments, it's probably useable 
> for what you want.

I know of many different work arounds if LC doesn't have a timeout feature, but 
thought that it's worth asking first.



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: knowing when there is no activity

2011-01-31 Thread Björnke von Gierke
there's idle, but adjusting the idleRate has several, mostly unwanted side 
effects with repeating, build in messages like mouseStillDown. Still, if you 
remember to reset it to default at the correct moments, it's probably useable 
for what you want.

On 31 Jan 2011, at 13:01, Colin Holgate wrote:

> In Director you can set a timeoutlength, after which a timeout event is sent. 
> The length represents the amount of time that there is no user activity. Is 
> there a similar thing in LC?
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


knowing when there is no activity

2011-01-31 Thread Colin Holgate
In Director you can set a timeoutlength, after which a timeout event is sent. 
The length represents the amount of time that there is no user activity. Is 
there a similar thing in LC?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


semi[OT] Preview of Intelli-Pubs

2011-01-31 Thread tkuypers
Just a shameless message, because I'm kinda proud of my latest LiveCode 
project...

I know that there are a few graphical coders are among us, so it is not only 
"showing off", but some of you might actually have use to it.

Intelli-Pubs is a range of editions of InDesign tools, assisting graphic 
designers to manage their InDesign files, when dealing with various output 
formats.
The challenge at this moment is the following:
1 master design e.g. and advertisement at A4 size.
This master design needs to be converted to 5 different sizes for different 
magazines. This brings the total to 6 source artwork files.
3 magazines also have an iPad version of the magazine, 2 different sizes needed 
of each ad This brings the total to 12 source artwork files.
1 of them also publishes on the Galaxy Pad, so 2 more sizes need to be created: 
total of 14 source InDesign documents.
And 2 magazines also run an iPhone version, 4 jPeg files needed of each, so in 
the worst case, 22 source files in total.

For print, the first 5 ads need to be exported to PDF files, some of them 
PDF-X4, other publishers demand different output settings for their PDFs.
And for the iPhone, iPad and GalaxyPad the publishers need Jpeg Files.

And about 10 minutes before deadline, the customer calls and demands the phone 
number to be changed... It is just a small change, so please make it happen...

Changing the phone number means opening 22 InDesign files and exporting them 
again to the correct output format. No, of course there won't be any mistakes, 
no of course we will meet deadlines... NOT!!!

That's where Intelli-Pubs kicks in :-)
Managing and using all different specs of publishers, smart-conversion of 
InDesign artwork to various sizes, and much more.

Please take a look at some screenshots at http://www.intelli-pubs.com, look 
forward to some reactions.


Met vriendelijke groeten,
Warm Regards,


Ton Kuypers
+32 (0) 477 739 530

Aardbemden 11 • B-2400 • Mol • Belgium
www.publishingtools4u.com




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [Semi-OT] some images from our upcomming iOS LiveCode built game

2011-01-31 Thread John Craig

Great teaser - I'm looking forward to the game!



On 28/01/2011 19:04, Andre Garzia wrote:

Folks,

Following the friday spirit, I share with you guys some images from
our upcoming LiveCode built iOS Game. Be aware that all this is still
work in progress. Our game is a unique twist on code breaking +
adventure game.

(our development phase main screen)
http://dl.dropbox.com/u/1340110/img_0432.png

(our maian level)
http://dl.dropbox.com/u/1340110/img_0433.png

(our japan level)
http://dl.dropbox.com/u/1340110/img_0434.png

(our norsk level)
http://dl.dropbox.com/u/1340110/img_0435.png

The game is being developed by me and my friends on our spare time and
we hope will reach beta status soon.

I am not the artist, I am just the coder, my friend Raphael is the
artist and he is quite gifted.

Cheers
andre
PS: as soon as it is ready, we'll let everyone here know



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode