Re: Keydowns during Socket Read/Writes

2011-02-09 Thread camm29
Mark ,
Sorry , a few typo's...

Within the ReceivedMessage:-
I can get the Keydown to work without writing to the socket.
I can write to the socket without the Keydown.
If i try to write to the socket as a reponse to a Keydown , the write does not 
happen.

As shown in the script below

Best Regards
Camm

 Mark Schonewille  wrote: 
> Hi Camm,
> 
> What does "does not work" mean? You need to explain this, before we can help 
> you.
> 
> Additionally, 
> 
>   if controlKey is down
> 
> cannot work, but
> 
>   if controlKey() is down
>   if the controlKey is down
> 
> can work (provided that you're pressing the control key).
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> New: Download the Installer Maker Plugin 1.5 for LiveCode here 
> http://qery.us/ce
> 
> On 8 feb 2011, at 22:42, Camm wrote:
> 
> > Can anybody see the problem with using "Keys" whilst using socket commands.
> > 
> > I have tried KeyUp , KeyDown , RawKeys etc they work okay except when trying
> > to write to socket
> > 
> > 
> > 
> > Open socket to "127.0.0.1:8090" with message "ClientConnected"
> > 
> > 
> > 
> >  on ClientConnected pSocket
> > 
> >write "Hello" & crlf to socket pSocket
> > 
> >read from socket pSocket until crlf with message "ReceivedMessage"
> > 
> > end ClientConnected
> > 
> > 
> > 
> >on ReceivedMessage pSocket tdata
> > 
> >   read from socket pSocket until crlf with message
> > "ReceivedMessage"
> > 
> >   put number of items in tdata into NumItems
> > 
> >   repeat with y=1 to NumItems
> > 
> >  put  char 3 to 4 of item y of tdata into a
> > 
> >  delete char 1 to 5 of item y of tdata
> > 
> >  put item y of ToUpper(tdata) into line a of fld XYZ
> > 
> >   end repeat
> > 
> >   else
> > 
> >   end if
> > 
> > THIS WORKS >> write "Arn.Resp:5015=1:" & crlf  to socket pSocket
> > 
> > 
> > 
> > THIS WORKS >> if controlKey() is down then put  "Arn.Resp:5015=1:" into 
> > fld
> > XYZ
> > 
> > 
> > THIS DOES NOT > if controlKey() is down then write "Arn.Resp:5015=1:" &
> > crlf  to socket pSocket
> > 
> >end ReceivedMessage
> > 
> > 
> > Best Regards
> > 
> > Camm
> 
> 
> ___
> 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


style of addressing objects

2011-02-09 Thread Tiemo Hollmann TB
Hello,

lets say I have a field "f1", grouped in grp "g1" on card "c1".

 

I can address the field e.g.: put "foo" into fld f1

But I could also address: put "foo" into fld f1 of grp g1

Or: put "foo" into fld f1 of cd c1

Or: put "foo" into fld f1 of grp g1 of cd c1 of stack s1

And actually every object name with or without quotes

 

What is "the correct way" of addressing, or what is a good style or what
shouldn't you do never.

What do the old revolutionaries say? Just curious to get more "standard
compliant"

Thanks

Tiemo

 

 

 

___
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


OSX cmd & alt modifiers on left and right arrow keys in text

2011-02-09 Thread Keith Clarke
Hi folks,
IIRC Every native OSX text manipulation app on any Mac I've used, has the 'alt' 
key change cursor movement granularity to word-level and the '⌘/cmd' key to 
line-level. In the LiveCode IDE and OSX stand alone apps (such as ScreenSteps), 
the 'alt' key is ignored (granularity remains at character-level) and the 'cmd' 
key works at word-level. This gets rather annoying when working across apps. 

Is there any particular reason why the LiveCode IDE (on OSX) and OSX stand 
alone apps don't follow this standard (is it even a standard?) behaviour for 
OSX modifier keys affecting left and right arrows when working with text? 

Can I set something in my LiveCode preferences to change this setting - ideally 
in the IDE but at least for any OSX stand alone apps?
Best,
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

Re: Obtaining the public IP of a computer...

2011-02-09 Thread Alex Tweedly


PHP ? But we have irev ...

You can use
http://www.tweedly.org/whatismyip.irev

Or if you have your own rev server / on-rev account you can have a 
script that does





-- Alex.



On 09/02/2011 07:51, David C. wrote:

On Tue, Feb 8, 2011 at 8:43 PM, Paul Dupuis  wrote:

Hello Paul,
If you have access to a reliable web server that will run PHP, then
you can use this 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


can grouping help me rezising objects?

2011-02-09 Thread Tiemo Hollmann TB
Hello,

I have a bunch of objects grouped in several hierarchical groups in a stack
which is resizable.

Up to now I resize every single object by script just how I need it. Up to
now I experienced, that I can't resize the objects of a group by resizing
the group. Ok, it isn't that easy how all objects should behave when a stack
or group.

Now I just wanted to ask, if groups can help me in any kind with resizing
all objects of a group in case I haven't noticed it yet and do a lot of
unnecessary work, when extending my groups now.

Thanks for your experience

Tiemo

 

 

___
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: style of addressing objects

2011-02-09 Thread Klaus on-rev
Hi Tiemo,

> Hello,
> 
> lets say I have a field "f1", grouped in grp "g1" on card "c1".
> 
> I can address the field e.g.: put "foo" into fld f1
> But I could also address: put "foo" into fld f1 of grp g1
> Or: put "foo" into fld f1 of cd c1
> Or: put "foo" into fld f1 of grp g1 of cd c1 of stack s1
> And actually every object name with or without quotes

You should always use QUOTES around NAMES! 
Always! Toujours! Sempre! Siempre! Altijd! Immer! :-)

1. This is faster, since the engine does not need to check if there is a 
variable with that name!
2. If there IS a variable with that name, that will probably throw an error.

> What is "the correct way" of addressing, or what is a good style or what
> shouldn't you do never.
> What do the old revolutionaries say? Just curious to get more "standard
> compliant"

There is no "correct way" but just a "it depends" :-D

You can leave the "... of cd "xyz" if the objct you are addressing IS in fact 
on the current card
You can leave the "... of grp "xyz" if there is only ONE field with that name 
on the current card.

> Thanks
> 
> Tiemo

Best

Klaus


P.S.
And DITTO! :-D

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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: Trial Copy

2011-02-09 Thread Andre Garzia
=O

living and learning, sorry for my mistake!

On Tue, Feb 8, 2011 at 7:52 PM, Heather Nagey  wrote:
> Yes you can. Since we integrated iOS with the main IDE you can try out the
> iOS deployment options for 30 days like any other aspect of LiveCode. Just
> select it in the standalone builder. You'll get a trial branded splash
> screen and the trial Apps will quit after one minute.
>
> Regards,
>
> Heather
>
> On 8 Feb 2011, at 16:27, Andre Garzia wrote:
>
>> Lars,
>>
>> I don't think you can get trial iOS deployment
>>
>> andre
>>
>> On Tue, Feb 8, 2011 at 1:02 PM, Lars Brehmer  wrote:
>>>
>>> How can I get a trial copy of liveCode with iOS deployment add-on? I am a
>>> licensed user of runRev 2.8.
>>>
>>> Cheers,
>>>
>>> Lars
>>>
>>> ___
>>> 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
>>
>> Email has been scanned for viruses by Altman Technologies' email
>> management service - www.altman.co.uk/emailsystems
>
> Heather Nagey
> Customer Services Manager
> http://www.runrev.com/
> LiveCode – Realize fast, compile-free coding
>
>
> ___
> 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


AW: style of addressing objects

2011-02-09 Thread Tiemo Hollmann TB
Thanks Klaus,
thats how I coded already, but it is good to get a commitment by such a
honoured man!
Actually I was thinking of compressing, extracting and copying all objects
first with DITTO - good you mentioned it
Thanky
Tiemo

> -Ursprüngliche Nachricht-
> Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-
> boun...@lists.runrev.com] Im Auftrag von Klaus on-rev
> Gesendet: Mittwoch, 9. Februar 2011 12:14
> An: How to use LiveCode
> Betreff: Re: style of addressing objects
> 
> Hi Tiemo,
> 
> > Hello,
> >
> > lets say I have a field "f1", grouped in grp "g1" on card "c1".
> >
> > I can address the field e.g.: put "foo" into fld f1
> > But I could also address: put "foo" into fld f1 of grp g1
> > Or: put "foo" into fld f1 of cd c1
> > Or: put "foo" into fld f1 of grp g1 of cd c1 of stack s1
> > And actually every object name with or without quotes
> 
> You should always use QUOTES around NAMES!
> Always! Toujours! Sempre! Siempre! Altijd! Immer! :-)
> 
> 1. This is faster, since the engine does not need to check if there is a
> variable with that name!
> 2. If there IS a variable with that name, that will probably throw an
error.
> 
> > What is "the correct way" of addressing, or what is a good style or what
> > shouldn't you do never.
> > What do the old revolutionaries say? Just curious to get more "standard
> > compliant"
> 
> There is no "correct way" but just a "it depends" :-D
> 
> You can leave the "... of cd "xyz" if the objct you are addressing IS in
fact
> on the current card
> You can leave the "... of grp "xyz" if there is only ONE field with that
name
> on the current card.
> 
> > Thanks
> >
> > Tiemo
> 
> Best
> 
> Klaus
> 
> 
> P.S.
> And DITTO! :-D
> 
> --
> Klaus Major
> http://www.major-k.de
> kl...@major.on-rev.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: AW: style of addressing objects

2011-02-09 Thread Klaus on-rev
Hi Tiemo,

> Thanks Klaus,
> thats how I coded already, but it is good to get a commitment by such a
> honoured man!

oh, I feel flattered :-)

> Actually I was thinking of compressing, extracting and copying all objects
> first with DITTO - good you mentioned it

This is a BRILLIANT idea! 
Glad I could help ;-)

> Thanky
> Tiemo

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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: [on-rev] browser not reloading modified irev pages

2011-02-09 Thread Andre Garzia
I suspect martin is right, it is probably cache.

One trick is always trying to access your irev page with a timestamp such as:

http://www.example.com/mypage.irev?bogus=1234567898776544

if you change the bogus value for every access, you never reach a cached page.

On Tue, Feb 8, 2011 at 10:02 PM, Alex Tweedly  wrote:
> I've never seen a problem with delays in reloading. But I've also never used
> cPanel File Manager :-)
>
> Can you try updating your pages another way, maybe the on-rev client (I
> know, it's frustrating, but just grit your teeth and use it for few minutes
> for testing purposes), or ftp and see if you experience the same issues ?
>
> -- Alex.
>
> On 08/02/2011 23:15, Nicolas Cueto wrote:
>>
>> Hey,
>>
>> My modifications to irev pages are not being loaded. At least, not
>> immediately.
>>
>> Changes made thru the cPanel File Manager to the code of my irev pages
>> require a wait of a few minutes before re-accessing the modified pages
>> with a browser. Otherwise, the browser persists in displaying the
>> older versions of those modified irev pages.
>>
>> Is this a problem with my browser? my irev or html code? the on-rev
>> server?
>>
>> All I know is to try browser refresh buttons and clearing browser
>> history. No luck, though.
>>
>> Thanks.
>>
>> --
>> Nicolas Cueto
>>
>> ___
>> 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: OSX cmd & alt modifiers on left and right arrow keys in text

2011-02-09 Thread Björnke von Gierke

On 9 Feb 2011, at 11:13, Keith Clarke wrote:

> Can I set something in my LiveCode preferences to change this setting - 
> ideally in the IDE but at least for any OSX stand alone apps?


Besides custom coding selection changes by rawkeydown trapping, no. THe 
existing behaviour is a weird middle ground between how windows and mac os do 
things, with one or two unix conventions added for flavour. Somewhen, someone 
decided it should be this way, most likely based on personal preference.

___
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


a praise for RevIgniter

2011-02-09 Thread Andre Garzia
Folks,

As some here know, I work half of the week at a company doing PHP work
where I maintain and further develop an old codebase used to send
marketing campaings and newsletters by email. Our code is very
convoluted because the previous 3 programmers had an XGH mentality. I
will not enter my infinite rant loop talking about those guys that
came before me and instead I will focus on something else. Here we
deal with some absurd huge datasets. Some of our multiple databases
weight 5 terabytes, we have a database with more than 10 thousand
tables and millions and millions of records. Most of my day is spent
hunting for bad records for we don't actually have good administration
tools here for our daily work. We have some admin interface to our
system but we don't have tools focused on development and maintenance
of the system so when something goes wrong is is a pain.

The other half of the week and nights, I usually work my freelance
contracts and also works with my friends on our startup
(www.devacode.com.br) which right now is suffering the disease of the
youth which is trying to do too many different things at once but at
least it is succeding in some and making us proud. There and on my
freelance works, I tend to use RevIgniter which is a marvelous web
development framework for RevServer. I must say that the documentation
for RevIgniter is wy better than ANY DOCUMENTATION for another
LiveCode tool or even for LiveCode itself. It is just Great! Now let
us get back on topic...

Back at the PHP company, my boss finally agreed with me that we needed
some tools for our own development practices. It can take up to 10
minutes to find something at that database when all you have is
phpMyAdmin to deal with those elephant size databases. Opening a 10k
tables database in phpMyAdmin is an adventure. Here, I can't use
RevServer, my boss will simply not allow any LiveCode application.
I've built some LiveCode tools for my own use here but for the tools
that he want us both to use, he wants PHP. So I went shopping for some
PHP web framework and decided to give CodeIgniter a try. When Ralf
created RevIgniter, he was inspired by CodeIgniter, I knew that but I
wasn't sure how similar they were. Heck they are so similar that
except for the fact that one is doing PHP and the other LiveCode, the
rest is absolutely the same. It took me half an hour to check out some
of the syntax for CodeIgniter and then, all my knowledge from
RevIgniter was instant transferable. I knew how to organize stuff and
where to look in case something went wrong. I am building our own
tools in PHP with CodeIgniter at a fast pace because my previous
experience with LiveCode and a similar framework. Now that I am deep
into CodeIgniter, I can appreciate RevIgniter even more. It is quite
hard to achieve that kind of quality.

If anyone here is doing web with RevServer, consider using RevIgniter,
your code will be eaiser to deal with and lots of things come bundled
for free.

Links of interest:

http://www.revigniter.com
http://www.codeigniter.com


-- 
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: OSX cmd & alt modifiers on left and right arrow keys in text

2011-02-09 Thread Keith Clarke
Hmmm. Maybe that's good enough for a hobbyist toolkit but surely this a 
fundamental issue for a cross-platform development application? 

I get visual cues that adjust my 'muscle-memory preferences' for modifier keys 
when I'm in OSX, Ubuntu, Windows XP or 7. However, if I use LiveCode apps - and 
more importantly, if my potential customers use my LiveCode developed products 
- suddenly native-looking apps behave in non-standard ways; resulting in 
service and support issues.  

OK, I can dive in under the hood and adjust the behaviours at the rawKey level 
but that should not be necessary. Surely the default behaviour for both the 
LiveCode IDE and any stand alone apps should reflect the standards (stated or 
de facto) of the deployment platform? OK, maybe there should be stand alone 
export options to break these standards if the developer has good reason to be 
non-compliant?

I've checked the QA forum and this doesn't seem to be mentioned. Before I 
formalise this, I want to check whether anyone else shares the view that this 
is a fundamental usability and standards compliance bug, rather than an 
enhancement request for one would-be developer?

So, I have created this forum thread to trap any other modifier anomalies for 
OSX - or other deployment platforms - that could be grouped into a single bug 
report. http://forums.runrev.com/phpBB2/viewtopic.php?f=8&t=6887 
Best,
Keith.. 
  
On 9 Feb 2011, at 12:08, Björnke von Gierke wrote:

> 
> On 9 Feb 2011, at 11:13, Keith Clarke wrote:
> 
>> Can I set something in my LiveCode preferences to change this setting - 
>> ideally in the IDE but at least for any OSX stand alone apps?
> 
> 
> Besides custom coding selection changes by rawkeydown trapping, no. THe 
> existing behaviour is a weird middle ground between how windows and mac os do 
> things, with one or two unix conventions added for flavour. Somewhen, someone 
> decided it should be this way, most likely based on personal preference.
> 
> ___
> 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: Obtaining the public IP of a computer...

2011-02-09 Thread Paul Dupuis
Okay, great suggestions from folks to use a hosted service to return the 
public IP of the computer a LiveCode app is running on, but, I have to 
ask because I am now curious, does anyone know of a way to do this that 
is not dependent upon a hosted service?


--
Paul Dupuis
Cofounder
Researchware, Inc.
http://www.researchware.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: Obtaining the public IP of a computer...

2011-02-09 Thread Andre Garzia
Paul,

I am just saying from my own humble opinion here. I think there might
be a way to query the underlining operating system for the IPs but it
will not be cross platform but if you are behind routers, switches,
nats and so on, I don't think you will ever be able to guess the
public IP unless something on the other side of the switch tells you.

Someone will know more but there might be some unix utility that you
can shell() to some known server and see your ip floating by...

On Wed, Feb 9, 2011 at 11:35 AM, Paul Dupuis  wrote:
> Okay, great suggestions from folks to use a hosted service to return the
> public IP of the computer a LiveCode app is running on, but, I have to ask
> because I am now curious, does anyone know of a way to do this that is not
> dependent upon a hosted service?
>
> --
> Paul Dupuis
> Cofounder
> Researchware, Inc.
> http://www.researchware.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
>



-- 
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: Drag and Drop

2011-02-09 Thread Richard Gaskin

Peter Haworth wrote:


I'm not sure what changed.  It seems to be inconsistent as to whether the 
snapback happens or not but most of the time it does.

Pete Haworth

On Feb 8, 2011, at 10:22 PM, Thierry wrote:


And Peter, what was working when you answered my mail,
and then has changed ?


On this I would go with Ben Beaumont's analysis, since he's working 
side-by-side with the engine team and has an understanding of what it's 
doing under the hood in a way we can't know from the outside:




--
 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: Obtaining the public IP of a computer...

2011-02-09 Thread Alex Tweedly


I don't know of one.

I'll go further - there is not, and cannot be, one.

Your "public IP address" is assigned for you by the last NAT step 
between your private network where your machine lives and the public 
Internet. Note there may be more than one NAT step, and there may be 
more than one router hop between you and the NAT function. So the 
address can only be correctly returned to you by either the last NAT box 
or by a host on the public side of it. A NAT box cannot (except by some 
horrible hackery) tell whether or not it is the last NAT step, so that 
leaves only a pubic host/service.


-- Alex.


On 09/02/2011 13:35, Paul Dupuis wrote:
Okay, great suggestions from folks to use a hosted service to return 
the public IP of the computer a LiveCode app is running on, but, I 
have to ask because I am now curious, does anyone know of a way to do 
this that is not dependent upon a hosted service?





___
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: Obtaining the public IP of a computer...

2011-02-09 Thread David C.
I'm in agreement with Andre...
...after quite a lot of research, I haven't found a single solution on
the Windows side of the issue, that doesn't require a remote source
providing the information. Haven't looked into the other platforms,
but I'd be surprised to learn that they have some sort of "special"
networking capabilities that Windows does not.

Although I'd be happy to learn otherwise. :)

Best regards,
David C.

On Wed, Feb 9, 2011 at 7:51 AM, Andre Garzia  wrote:
> Paul,
>
> I am just saying from my own humble opinion here. I think there might
> be a way to query the underlining operating system for the IPs but it
> will not be cross platform but if you are behind routers, switches,
> nats and so on, I don't think you will ever be able to guess the
> public IP unless something on the other side of the switch tells you.
>
> Someone will know more but there might be some unix utility that you
> can shell() to some known server and see your ip floating by...
>
> On Wed, Feb 9, 2011 at 11:35 AM, Paul Dupuis  wrote:
>> Okay, great suggestions from folks to use a hosted service to return the
>> public IP of the computer a LiveCode app is running on, but, I have to ask
>> because I am now curious, does anyone know of a way to do this that is not
>> dependent upon a hosted service?
>>
>> --
>> Paul Dupuis
>> Cofounder
>> Researchware, Inc.
>> http://www.researchware.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
>>
>
>
>
> --
> 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: use-livecode Digest, Vol 89, Issue 16

2011-02-09 Thread Tuviah Snyder
 This makes it sound like the only major difference is that RunRev runs on
more platforms

Tell me does supercard have these yet

parentscripts
XML
Database support
Web browser control
associative arrays?

I would think XML is pretty crucial in application development in this day
and age.

best,
Tuviah



> 
>
> considering the other 90% it never ceases to amaze me that Supercard hasn't
> attempted
> to go cross-platform, while Livecode has.
>
> Had they done that, or were they to do that now, RunRev would have to look
> to their laurels,
> and the stimulus of serious competition might result in some long-standing
> bugs and gripes
> being ironed out in RunRev.
>
___
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


Bullets in Script Editor Window

2011-02-09 Thread Ray Horsley
Typing bullets on a Mac is a simple option-8 (I believe) while on Windows
it's option-0149.  However, type this in Livecode's script editor window and
you end up with the blinking insertion point jumping all over the place,
which can be quite aggravating.  Anybody have any ideas?

Thanks,

Ray Horsley
LinkIt! Software


___
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


SuperCard

2011-02-09 Thread Mark Schonewille
Hi Tuviah,

The great thing about the SuperCard community is that very nifty externals are 
often completely free. This gives people access to XML, database support, web 
browser control. Additionally, SuperCard uses truely native controls.

There are many reasons to prefer SuperCard for specific projects and 
Revolution/LiveCode or RealBasic for other projects. It is good to have options.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qery.us/ce

On 9 feb 2011, at 16:14, Tuviah Snyder wrote:

> This makes it sound like the only major difference is that RunRev runs on
> more platforms
> 
> Tell me does supercard have these yet
> 
> parentscripts
> XML
> Database support
> Web browser control
> associative arrays?
> 
> I would think XML is pretty crucial in application development in this day
> and age.
> 
> best,
> Tuviah


___
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: Obtaining the public IP of a computer...

2011-02-09 Thread Nonsanity
If you want to know the address on the front of the building, you sorta have
to go outside and look. Or in this case, ask someone who's already outside
to tell you.

William's answer is probably your simplest and stablest bet. Drop it in the
msg box:

put URL "http://www.whatismyip.com/automation/n09230945.asp";

whatismyip has been around for many years, and is likely to remain. They
made that link exactly for the purpose we need it for here. They talk about
it in a post here:

http://forum.whatismyip.com/f14/our-automation-rules-t241/

Of course, if you have your own server, making a similar URL with the same
response isn't too hard, whatever your server flavor is. This has the added
benefit of giving you some usage statistics if you want to collect them.

 ~ Chris Innanen
 ~ Nonsanity



On Wed, Feb 9, 2011 at 8:35 AM, Paul Dupuis  wrote:

> Okay, great suggestions from folks to use a hosted service to return the
> public IP of the computer a LiveCode app is running on, but, I have to ask
> because I am now curious, does anyone know of a way to do this that is not
> dependent upon a hosted service?
>
> --
> Paul Dupuis
> Cofounder
> Researchware, Inc.
> http://www.researchware.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: Bullets in Script Editor Window

2011-02-09 Thread Nonsanity
If you only need it once, hit up this site and copy/paste the character you
need:

http://www.dtp-aus.com/ext_set.htm

And if you need to create it from inside a script, use a quoted, pasted dot
or numtochar(149), or whatever other character number you want from the
chart on that web page.

There are other sites that list the full range of ALL characters, but fonts
that support all of those are few and far between.

 ~ Chris Innanen
 ~ Nonsanity


On Wed, Feb 9, 2011 at 10:19 AM, Ray Horsley  wrote:

> Typing bullets on a Mac is a simple option-8 (I believe) while on Windows
> it's option-0149.  However, type this in Livecode's script editor window
> and
> you end up with the blinking insertion point jumping all over the place,
> which can be quite aggravating.  Anybody have any ideas?
>
> Thanks,
>
> Ray Horsley
> LinkIt! Software
>
>
> ___
> 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: Bullets in Script Editor Window

2011-02-09 Thread dunbarx
Do you mean the issue is strictly in Windows? Because option-8 works fine on my 
Mac.


But how does one type "option 0149"? I would need two friends to help me type 
that all at once.


Craig Newman





-Original Message-
From: Ray Horsley 
To: Use-Revolution 
Sent: Wed, Feb 9, 2011 10:19 am
Subject: Bullets in Script Editor Window


Typing bullets on a Mac is a simple option-8 (I believe) while on Windows
it's option-0149.  However, type this in Livecode's script editor window and
you end up with the blinking insertion point jumping all over the place,
which can be quite aggravating.  Anybody have any ideas?

Thanks,

Ray Horsley
LinkIt! Software


___
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: Bullets in Script Editor Window

2011-02-09 Thread David C.
> But how does one type "option 0149"? I would need two friends to help me type 
> that all at once.

Heh... in windows it's Alt 0149 and when you turn loose of the alt
key, the silly thing automagically appears. ;-)

Best regards,
David C.

___
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: Bullets in Script Editor Window

2011-02-09 Thread Ray Horsley
Chris,

Very useful web page.  Thanks, however, I was hoping to discover a simple
key stroke which would produce a bullet (available in most fonts) on demand
instead of having to copy and paste.

Thanks,

Ray Horsley
LinkIt! Software

-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Nonsanity
Sent: Wednesday, February 09, 2011 10:39 AM
To: How to use LiveCode
Subject: Re: Bullets in Script Editor Window

If you only need it once, hit up this site and copy/paste the character you
need:

http://www.dtp-aus.com/ext_set.htm

And if you need to create it from inside a script, use a quoted, pasted dot
or numtochar(149), or whatever other character number you want from the
chart on that web page.

There are other sites that list the full range of ALL characters, but fonts
that support all of those are few and far between.

 ~ Chris Innanen
 ~ Nonsanity


On Wed, Feb 9, 2011 at 10:19 AM, Ray Horsley  wrote:

> Typing bullets on a Mac is a simple option-8 (I believe) while on 
> Windows it's option-0149.  However, type this in Livecode's script 
> editor window and you end up with the blinking insertion point jumping 
> all over the place, which can be quite aggravating.  Anybody have any 
> ideas?
>
> Thanks,
>
> Ray Horsley
> LinkIt! Software
>
>
> ___
> 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


FTP and Proxy Servers

2011-02-09 Thread JACK RARICK
I've tried!  I really have. But I just can't get it. Is there a trick or secret 
that any of you might have to use FTP behind a proxy server?

Put "ftp://"; & myUserName & ":" & myPassword & "@" & "mystorage:"&myPortNum & 
"/"&filename into ftpString

put url ftpString into url ("file:"& FilePath)

I get a time out error every time.

As always ... THANK YOU!


Jack Rarick
Freshmen Center
Earth Science
Technology Coodinator
Varsity Men's Track & Field
Varsity Football - Offensive Line Coach, Peanut Butter Coordinator

___
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: Bullets in Script Editor Window

2011-02-09 Thread Ray Horsley
Craig,

It works fine on my Mac, too.  I'm only having problems on the Windows side.
The way it works it you hold down the option (alt) key and type a zero, then
(continuing to hold down the option key) you type a 1, etc, till you finish
typing 0, 1, 4, 9.  The bullet should appear when you release the option key
after typing the 9.  I actually get the bullet but at some random location,
not where I started.

Thanks,

Ray Horsley
LinkIt! Software

-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of dunb...@aol.com
Sent: Wednesday, February 09, 2011 10:42 AM
To: use-livecode@lists.runrev.com
Subject: Re: Bullets in Script Editor Window

Do you mean the issue is strictly in Windows? Because option-8 works fine on
my Mac.


But how does one type "option 0149"? I would need two friends to help me
type that all at once.


Craig Newman





-Original Message-
From: Ray Horsley 
To: Use-Revolution 
Sent: Wed, Feb 9, 2011 10:19 am
Subject: Bullets in Script Editor Window


Typing bullets on a Mac is a simple option-8 (I believe) while on Windows
it's option-0149.  However, type this in Livecode's script editor window and
you end up with the blinking insertion point jumping all over the place,
which can be quite aggravating.  Anybody have any ideas?

Thanks,

Ray Horsley
LinkIt! Software


___
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: Bullets in Script Editor Window

2011-02-09 Thread Mike Bonner
Just tried it here, is working for me so I have a stupid question.  If
you're using the keypad, is your numlock on?

On Wed, Feb 9, 2011 at 9:03 AM, Ray Horsley  wrote:

> Craig,
>
> It works fine on my Mac, too.  I'm only having problems on the Windows
> side.
> The way it works it you hold down the option (alt) key and type a zero,
> then
> (continuing to hold down the option key) you type a 1, etc, till you finish
> typing 0, 1, 4, 9.  The bullet should appear when you release the option
> key
> after typing the 9.  I actually get the bullet but at some random location,
> not where I started.
>
> Thanks,
>
> Ray Horsley
> LinkIt! Software
>
> -Original Message-
> From: use-livecode-boun...@lists.runrev.com
> [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of
> dunb...@aol.com
> Sent: Wednesday, February 09, 2011 10:42 AM
> To: use-livecode@lists.runrev.com
> Subject: Re: Bullets in Script Editor Window
>
> Do you mean the issue is strictly in Windows? Because option-8 works fine
> on
> my Mac.
>
>
> But how does one type "option 0149"? I would need two friends to help me
> type that all at once.
>
>
> Craig Newman
>
>
>
>
>
> -Original Message-
> From: Ray Horsley 
> To: Use-Revolution 
> Sent: Wed, Feb 9, 2011 10:19 am
> Subject: Bullets in Script Editor Window
>
>
> Typing bullets on a Mac is a simple option-8 (I believe) while on Windows
> it's option-0149.  However, type this in Livecode's script editor window
> and
> you end up with the blinking insertion point jumping all over the place,
> which can be quite aggravating.  Anybody have any ideas?
>
> Thanks,
>
> Ray Horsley
> LinkIt! Software
>
>
> ___
> 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: Bullets in Script Editor Window

2011-02-09 Thread dunbarx
Ray.


I was joking, of course.


Type all four chars with the altkey down. Why do I think I am being put on?


Craig





-Original Message-
From: Ray Horsley 
To: 'How to use LiveCode' 
Sent: Wed, Feb 9, 2011 11:03 am
Subject: RE: Bullets in Script Editor Window


Craig,

It works fine on my Mac, too.  I'm only having problems on the Windows side.
The way it works it you hold down the option (alt) key and type a zero, then
(continuing to hold down the option key) you type a 1, etc, till you finish
typing 0, 1, 4, 9.  The bullet should appear when you release the option key
after typing the 9.  I actually get the bullet but at some random location,
not where I started.

Thanks,

Ray Horsley
LinkIt! Software

-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of dunb...@aol.com
Sent: Wednesday, February 09, 2011 10:42 AM
To: use-livecode@lists.runrev.com
Subject: Re: Bullets in Script Editor Window

Do you mean the issue is strictly in Windows? Because option-8 works fine on
my Mac.


But how does one type "option 0149"? I would need two friends to help me
type that all at once.


Craig Newman





-Original Message-
From: Ray Horsley 
To: Use-Revolution 
Sent: Wed, Feb 9, 2011 10:19 am
Subject: Bullets in Script Editor Window


Typing bullets on a Mac is a simple option-8 (I believe) while on Windows
it's option-0149.  However, type this in Livecode's script editor window and
you end up with the blinking insertion point jumping all over the place,
which can be quite aggravating.  Anybody have any ideas?

Thanks,

Ray Horsley
LinkIt! Software


___
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: Bullets in Script Editor Window

2011-02-09 Thread dunbarx
Oh. It really does work. What do you know?


For me it does not matter if numLock is on or not. Works both ways.


Craig





-Original Message-
From: Mike Bonner 
To: How to use LiveCode 
Sent: Wed, Feb 9, 2011 11:21 am
Subject: Re: Bullets in Script Editor Window


Just tried it here, is working for me so I have a stupid question.  If
you're using the keypad, is your numlock on?

On Wed, Feb 9, 2011 at 9:03 AM, Ray Horsley  wrote:

> Craig,
>
> It works fine on my Mac, too.  I'm only having problems on the Windows
> side.
> The way it works it you hold down the option (alt) key and type a zero,
> then
> (continuing to hold down the option key) you type a 1, etc, till you finish
> typing 0, 1, 4, 9.  The bullet should appear when you release the option
> key
> after typing the 9.  I actually get the bullet but at some random location,
> not where I started.
>
> Thanks,
>
> Ray Horsley
> LinkIt! Software
>
> -Original Message-
> From: use-livecode-boun...@lists.runrev.com
> [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of
> dunb...@aol.com
> Sent: Wednesday, February 09, 2011 10:42 AM
> To: use-livecode@lists.runrev.com
> Subject: Re: Bullets in Script Editor Window
>
> Do you mean the issue is strictly in Windows? Because option-8 works fine
> on
> my Mac.
>
>
> But how does one type "option 0149"? I would need two friends to help me
> type that all at once.
>
>
> Craig Newman
>
>
>
>
>
> -Original Message-
> From: Ray Horsley 
> To: Use-Revolution 
> Sent: Wed, Feb 9, 2011 10:19 am
> Subject: Bullets in Script Editor Window
>
>
> Typing bullets on a Mac is a simple option-8 (I believe) while on Windows
> it's option-0149.  However, type this in Livecode's script editor window
> and
> you end up with the blinking insertion point jumping all over the place,
> which can be quite aggravating.  Anybody have any ideas?
>
> Thanks,
>
> Ray Horsley
> LinkIt! Software
>
>
> ___
> 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 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: Bullets in Script Editor Window

2011-02-09 Thread Ray Horsley
Not a stupid question at all.  As a matter of fact I was just looking into
that.  I believe the numlock is on but I'm using one of those real thin Mac
keyboards (on a Windows machine) so there's no 'numlock' key per say but
rather a combination of keys to flip it on and off.  You wouldn't have any
ideas what the key combo is would you?

Thanks,

Ray Horsley
LinkIt! Software

-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Mike Bonner
Sent: Wednesday, February 09, 2011 11:22 AM
To: How to use LiveCode
Subject: Re: Bullets in Script Editor Window

Just tried it here, is working for me so I have a stupid question.  If
you're using the keypad, is your numlock on?

On Wed, Feb 9, 2011 at 9:03 AM, Ray Horsley  wrote:

> Craig,
>
> It works fine on my Mac, too.  I'm only having problems on the Windows 
> side.
> The way it works it you hold down the option (alt) key and type a 
> zero, then (continuing to hold down the option key) you type a 1, etc, 
> till you finish typing 0, 1, 4, 9.  The bullet should appear when you 
> release the option key after typing the 9.  I actually get the bullet 
> but at some random location, not where I started.
>
> Thanks,
>
> Ray Horsley
> LinkIt! Software
>
> -Original Message-
> From: use-livecode-boun...@lists.runrev.com
> [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
> dunb...@aol.com
> Sent: Wednesday, February 09, 2011 10:42 AM
> To: use-livecode@lists.runrev.com
> Subject: Re: Bullets in Script Editor Window
>
> Do you mean the issue is strictly in Windows? Because option-8 works 
> fine on my Mac.
>
>
> But how does one type "option 0149"? I would need two friends to help 
> me type that all at once.
>
>
> Craig Newman
>
>
>
>
>
> -Original Message-
> From: Ray Horsley 
> To: Use-Revolution 
> Sent: Wed, Feb 9, 2011 10:19 am
> Subject: Bullets in Script Editor Window
>
>
> Typing bullets on a Mac is a simple option-8 (I believe) while on 
> Windows it's option-0149.  However, type this in Livecode's script 
> editor window and you end up with the blinking insertion point jumping 
> all over the place, which can be quite aggravating.  Anybody have any 
> ideas?
>
> Thanks,
>
> Ray Horsley
> LinkIt! Software
>
>
> ___
> 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 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: Bullets in Script Editor Window

2011-02-09 Thread Ray Horsley
Got it!  It's shift-clear.  Now I can type my bullets in the script editor
window.  With no numlock light on this darn keyboard you just have to
experiment a little.

Thanks to all,

Ray Horsley
LinkIt! Software

-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Mike Bonner
Sent: Wednesday, February 09, 2011 11:22 AM
To: How to use LiveCode
Subject: Re: Bullets in Script Editor Window

Just tried it here, is working for me so I have a stupid question.  If
you're using the keypad, is your numlock on?

On Wed, Feb 9, 2011 at 9:03 AM, Ray Horsley  wrote:

> Craig,
>
> It works fine on my Mac, too.  I'm only having problems on the Windows 
> side.
> The way it works it you hold down the option (alt) key and type a 
> zero, then (continuing to hold down the option key) you type a 1, etc, 
> till you finish typing 0, 1, 4, 9.  The bullet should appear when you 
> release the option key after typing the 9.  I actually get the bullet 
> but at some random location, not where I started.
>
> Thanks,
>
> Ray Horsley
> LinkIt! Software
>
> -Original Message-
> From: use-livecode-boun...@lists.runrev.com
> [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
> dunb...@aol.com
> Sent: Wednesday, February 09, 2011 10:42 AM
> To: use-livecode@lists.runrev.com
> Subject: Re: Bullets in Script Editor Window
>
> Do you mean the issue is strictly in Windows? Because option-8 works 
> fine on my Mac.
>
>
> But how does one type "option 0149"? I would need two friends to help 
> me type that all at once.
>
>
> Craig Newman
>
>
>
>
>
> -Original Message-
> From: Ray Horsley 
> To: Use-Revolution 
> Sent: Wed, Feb 9, 2011 10:19 am
> Subject: Bullets in Script Editor Window
>
>
> Typing bullets on a Mac is a simple option-8 (I believe) while on 
> Windows it's option-0149.  However, type this in Livecode's script 
> editor window and you end up with the blinking insertion point jumping 
> all over the place, which can be quite aggravating.  Anybody have any 
> ideas?
>
> Thanks,
>
> Ray Horsley
> LinkIt! Software
>
>
> ___
> 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 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: FTP and Proxy Servers

2011-02-09 Thread Dave Cragg

On 9 Feb 2011, at 16:03, JACK RARICK wrote:

> I've tried!  I really have. But I just can't get it. Is there a trick or 
> secret that any of you might have to use FTP behind a proxy server?

No good news. As far as I know, there is no built-in support for FTP over a 
proxy server.

Cheers
Dave
___
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


If Not FTP - then?

2011-02-09 Thread JACK RARICK

> I've tried!  I really have. But I just can't get it. Is there a trick or 
> secret that any of you might have to use FTP behind a proxy server?

>No good news. As far as I know, there is no built-in support for FTP over a 
>proxy server.

That makes sense! - but is there a work around to move files back and forth 
through LiveCode?

Thanks!

Cheers
Dave
___
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: style of addressing objects

2011-02-09 Thread Bob Sneidar
Besides quoting all object names, I would also use more descriptive names to 
make the code easier to read. 

Bob


On Feb 9, 2011, at 2:12 AM, Tiemo Hollmann TB wrote:

> Hello,
> 
> lets say I have a field "f1", grouped in grp "g1" on card "c1".
> 
> 
> 
> I can address the field e.g.: put "foo" into fld f1
> 
> But I could also address: put "foo" into fld f1 of grp g1
> 
> Or: put "foo" into fld f1 of cd c1
> 
> Or: put "foo" into fld f1 of grp g1 of cd c1 of stack s1
> 
> And actually every object name with or without quotes
> 
> 
> 
> What is "the correct way" of addressing, or what is a good style or what
> shouldn't you do never.
> 
> What do the old revolutionaries say? Just curious to get more "standard
> compliant"
> 
> Thanks
> 
> Tiemo
> 
> 
> 
> 
> 
> 
> 
> ___
> 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: If Not FTP - then?

2011-02-09 Thread Andre Garzia
if you control both sides, use HTTP.

On Wed, Feb 9, 2011 at 3:10 PM, JACK RARICK  wrote:
>
>> I've tried!  I really have. But I just can't get it. Is there a trick or 
>> secret that any of you might have to use FTP behind a proxy server?
>
>>No good news. As far as I know, there is no built-in support for FTP over a 
>>proxy server.
>
> That makes sense! - but is there a work around to move files back and forth 
> through LiveCode?
>
> Thanks!
>
> Cheers
> Dave
> ___
> 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: Bullets in Script Editor Window

2011-02-09 Thread Bob Sneidar
I wonder if you can trap for alt-8 just for windows, issue a command to type 
numtochar(149) and pass everything else?

Bob


On Feb 9, 2011, at 7:19 AM, Ray Horsley wrote:

> Typing bullets on a Mac is a simple option-8 (I believe) while on Windows
> it's option-0149.  However, type this in Livecode's script editor window and
> you end up with the blinking insertion point jumping all over the place,
> which can be quite aggravating.  Anybody have any ideas?
> 
> Thanks,
> 
> Ray Horsley
> LinkIt! Software
> 
> 
> ___
> 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: Bullets in Script Editor Window

2011-02-09 Thread Bob Sneidar
The Clear key on the keypad is numlock.

Bob


On Feb 9, 2011, at 8:41 AM, Ray Horsley wrote:

> Not a stupid question at all.  As a matter of fact I was just looking into
> that.  I believe the numlock is on but I'm using one of those real thin Mac
> keyboards (on a Windows machine) so there's no 'numlock' key per say but
> rather a combination of keys to flip it on and off.  You wouldn't have any
> ideas what the key combo is would you?
> 
> Thanks,
> 
> Ray Horsley
> LinkIt! Software


___
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: If Not FTP - then?

2011-02-09 Thread Dave Cragg

On 9 Feb 2011, at 17:10, JACK RARICK wrote:

> 
>> I've tried!  I really have. But I just can't get it. Is there a trick or 
>> secret that any of you might have to use FTP behind a proxy server?
> 
>> No good news. As far as I know, there is no built-in support for FTP over a 
>> proxy server.
> 
> That makes sense! - but is there a work around to move files back and forth 
> through LiveCode?

It depends on your needs, put if you don't need to browse the files on the 
server side, you could use http. You'd need appropriate scripts (php, iRev, 
etc.) on the server. 

You could try the curl library. (A number of people on the list use it.)

I guess it would also be possible to hack the libUrl script to support FTP over 
a proxy. If someone has already done this, hopefully they'll chip in. But I 
think there are different types of FTP proxy servers (SOCKS, FTP proxy, FTP 
over http proxy), which makes it more complicated than http over a proxy.

Ah.. Andre has just joined in. Good. (Hi Andre)

Dave
___
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: If Not FTP - then?

2011-02-09 Thread Andre Garzia
Hi There Dave,

I think the OP could use HTTP to get the files if he controls both
sides of the conversation.

If he controls only the receiving side and wants to grab a file from
FTP server that is behind a proxy then he can use shell() with curl on
linux and macs and maybe some vbscript magic on windows.

:D

Any new goodies coming for libURL? Resume transfer? :-D

cheers
Andre


-- 
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: Drag and Drop

2011-02-09 Thread Peter Haworth
I'm a Mac with OSX 10.6, LC 4.5.3

Pete Haworth

On Feb 8, 2011, at 11:45 PM, Thierry wrote:

> 
> Le 9 févr. 2011 à 08:28, Peter Haworth a écrit :
> 
>> I'm not sure what changed.  It seems to be inconsistent as to whether the 
>> snapback happens or not but most of the time it does.
>> 
> 
> Thanks,
> 
> Obviously, we're running on different contexts...
> 
> Thierry
> 
> 
>> Pete Haworth
>> 
>> On Feb 8, 2011, at 10:22 PM, Thierry wrote:
>> 
>>> And Peter, what was working when you answered my mail,
>>> and then has changed ?
> 
> 
> 
> ___
> 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: Bullets in Script Editor Window

2011-02-09 Thread Ray Horsley
I think it's probably a matter of which keyboard you're using.

Ray

-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of dunb...@aol.com
Sent: Wednesday, February 09, 2011 11:41 AM
To: use-livecode@lists.runrev.com
Subject: Re: Bullets in Script Editor Window

Oh. It really does work. What do you know?


For me it does not matter if numLock is on or not. Works both ways.


Craig





-Original Message-
From: Mike Bonner 
To: How to use LiveCode 
Sent: Wed, Feb 9, 2011 11:21 am
Subject: Re: Bullets in Script Editor Window


Just tried it here, is working for me so I have a stupid question.  If
you're using the keypad, is your numlock on?

On Wed, Feb 9, 2011 at 9:03 AM, Ray Horsley  wrote:

> Craig,
>
> It works fine on my Mac, too.  I'm only having problems on the Windows 
> side.
> The way it works it you hold down the option (alt) key and type a 
> zero, then (continuing to hold down the option key) you type a 1, etc, 
> till you finish typing 0, 1, 4, 9.  The bullet should appear when you 
> release the option key after typing the 9.  I actually get the bullet 
> but at some random location, not where I started.
>
> Thanks,
>
> Ray Horsley
> LinkIt! Software
>
> -Original Message-
> From: use-livecode-boun...@lists.runrev.com
> [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
> dunb...@aol.com
> Sent: Wednesday, February 09, 2011 10:42 AM
> To: use-livecode@lists.runrev.com
> Subject: Re: Bullets in Script Editor Window
>
> Do you mean the issue is strictly in Windows? Because option-8 works 
> fine on my Mac.
>
>
> But how does one type "option 0149"? I would need two friends to help 
> me type that all at once.
>
>
> Craig Newman
>
>
>
>
>
> -Original Message-
> From: Ray Horsley 
> To: Use-Revolution 
> Sent: Wed, Feb 9, 2011 10:19 am
> Subject: Bullets in Script Editor Window
>
>
> Typing bullets on a Mac is a simple option-8 (I believe) while on 
> Windows it's option-0149.  However, type this in Livecode's script 
> editor window and you end up with the blinking insertion point jumping 
> all over the place, which can be quite aggravating.  Anybody have any 
> ideas?
>
> Thanks,
>
> Ray Horsley
> LinkIt! Software
>
>
> ___
> 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 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: Bullets in Script Editor Window

2011-02-09 Thread Ray Horsley
Not a bad idea.  I'll try adding something like that to the script editor
stack.

Thanks,

Ray

-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Bob Sneidar
Sent: Wednesday, February 09, 2011 12:19 PM
To: How to use LiveCode
Subject: Re: Bullets in Script Editor Window

I wonder if you can trap for alt-8 just for windows, issue a command to type
numtochar(149) and pass everything else?

Bob


On Feb 9, 2011, at 7:19 AM, Ray Horsley wrote:

> Typing bullets on a Mac is a simple option-8 (I believe) while on 
> Windows it's option-0149.  However, type this in Livecode's script 
> editor window and you end up with the blinking insertion point jumping 
> all over the place, which can be quite aggravating.  Anybody have any
ideas?
> 
> Thanks,
> 
> Ray Horsley
> LinkIt! Software
> 
> 
> ___
> 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: style of addressing objects

2011-02-09 Thread Peter Haworth
I always put quotes around any object names.

Personally, if an object is in a group, I always qualify it with the group 
name.  I was bitten a couple of times because I added a control at a later date 
of the same type and name as an existing one, so using the group name avoids 
potential future conflicts.


Pete Haworth

On Feb 9, 2011, at 2:12 AM, Tiemo Hollmann TB wrote:

> Hello,
> 
> lets say I have a field "f1", grouped in grp "g1" on card "c1".
> 
> 
> 
> I can address the field e.g.: put "foo" into fld f1
> 
> But I could also address: put "foo" into fld f1 of grp g1
> 
> Or: put "foo" into fld f1 of cd c1
> 
> Or: put "foo" into fld f1 of grp g1 of cd c1 of stack s1
> 
> And actually every object name with or without quotes
> 
> 
> 
> What is "the correct way" of addressing, or what is a good style or what
> shouldn't you do never.
> 
> What do the old revolutionaries say? Just curious to get more "standard
> compliant"
> 
> Thanks
> 
> Tiemo
> 
> 
> 
> 
> 
> 
> 
> ___
> 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: Drag and Drop

2011-02-09 Thread Peter Haworth
I can confirm that Ben's workaround fixes the problem.

Pete Haworth

On Feb 9, 2011, at 6:08 AM, Richard Gaskin wrote:

> On this I would go with Ben Beaumont's analysis, since he's working 
> side-by-side with the engine team and has an understanding of what it's doing 
> under the hood in a way we can't know from the outside:


___
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


Photo Gallery Models

2011-02-09 Thread Sivakatirswami
 I'm needing to create an app that has a photo gallery where we can 
re-arrange the photos by drag and drop, change the file names, send a 
rotate command etc.


I have most of the code for the individual any individual photo 
operation already built, filename management and processing is trivial, 
but setting up a gallery on a card is the challenge.


Currently I am using a image source model where I have a field with

XXX
XXX
XXX
XXX
XXX

 and I turn the foreground color to white (characters disappear to the 
eye) and then set the image source for each character to the file 
reference for each of the photos in the gallery, This actually works 
fairly well, but has lots of limitations.


Also I'm loading image into this gallery where they are already down 
sized to a reasonable ~40k size for the web. But in the application we 
envision, the user will be looking to manage image assets on disk where 
the images will be their default size from the camera  anywhere form 
1.5MB to 6MB in size.  setting a number of character in a string to 
image sources of that size will probably not be doable.


There are many ways to go with this. We don't need to completely 
re-invent the wheel(s) of iPhoto, Aperture, Expressions or Bridge photo 
gallery management but I need just a small subset of functions inside 
LiveCode.


If anyone has any examples they can share, I would appreciate it.

Sivakatirswami


___
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


Working ScreenRect: Linux

2011-02-09 Thread Richmond

Aaagh!

On Linux (Ubuntu 11.04 beta with GNOME) there is no difference between 
the screenRect

and the working screenRect

Livecode FAILS to pick up GNOME panels, Avant Window Navigator and Docky.

I am not entirely surpised by AWN and Docky as they are add-ons; but the 
failure to pick

up my top Panel is a bit disconcerting.

--

Please; anybody using Linux (Peter, Peter and Peter???) try and compare
items 3 and 4 of screenRect and working screenRect . . .

Of course if anyone is running Linux with KDE, XFCE or Enlightenment 
feedback

would be even more instructive . . .  :)

---

AWN: http://awn-project.org/

Docky: http://wiki.go-docky.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: can grouping help me rezising objects?

2011-02-09 Thread Jan Schenkel
--- On Wed, 2/9/11, Tiemo Hollmann TB  wrote:
> Hello,
> 
> I have a bunch of objects grouped in several hierarchical
> groups in a stack
> which is resizable.
> 
> Up to now I resize every single object by script just how I
> need it. Up to
> now I experienced, that I can't resize the objects of a
> group by resizing
> the group. Ok, it isn't that easy how all objects should
> behave when a stack
> or group.
> 
> Now I just wanted to ask, if groups can help me in any kind
> with resizing
> all objects of a group in case I haven't noticed it yet and
> do a lot of
> unnecessary work, when extending my groups now.
> 
> Thanks for your experience
> 
> Tiemo
> 

Hi Tiemo,

Unless the 'lockLocation' of the group is set to true, it will 'snap back' to 
encompass its contained controls - leaving room for the margins, which are 
oddly enough in the 'Text' panel of the group inspector.

While the lockLocation is true, you can still resize the group from script, and 
do your magic in its 'resizeControl' handler. And since version 3.5 resizing a 
group interactively with the pointer tool continuously sends 'resizeControl' 
messages, allowing us to shuffle and resize the contained controls to fit the 
new size.

Combined with behavior scripts, groups are a powerful method of compositing 
custom controls that are very close to regular engine controls.

Jan Schenkel.
=
Quartam Reports & PDF Library for LiveCode
www.quartam.com

=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)



  

___
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


Some more thoughts on multithreading

2011-02-09 Thread Jan Schenkel
[Sorry for the late reply - I've been very busy and only now found the time o 
collect my thoughts on this interesting topic]

This thread has brought up various reasons for some form of multithreading and 
several interesting ideas as to how this might be implemented. In the heat of 
the discussion, quite a few items were piled on top of one another, so I 
figured a recap-with-comments would be of use.

Our processors aren't getting much faster for sequential execution of 
instructions. Instead, we're getting more cores and we can even tap into the 
raw power of graphics processors for some tasks. Parallel/concurrent computing 
is clearly our future.

1) Graphics performance
While not so important for number crunching, and more of interest to game 
developers, this is still related: if the engine could offload computationally 
intensive graphics tasks to the GPU, we would all benefit from a more 
responsive user interface.
The challenge for the RunRev team would be cross-platform implementation, 
especially accross different operating system versions. But they could start 
slow, and adopt the most recent operating system level enhancements, falling 
back to the current software-based rendering pipeline in 'lesser' environments.

2) Non-graphics performance
And while we're talking about leveraging the hardware, with such technologies 
as OpenCL, more mundane computational tasks could also be rewritten to profit 
from the available CPU cores and GPU cycles.
Think of the tasks that can be split up into smaller chunks of work that can be 
handled independently: determining the min or max number from a list, sorting 
the lines of a variable, etc.
Even if our code would still run sequentially, we could see speed-ups if the 
engine would fork off threads to do part of the work and then join the results 
when all parts are done.
If you have two cores, and each core can handle half of the work, you 
potentially have double the performance (minus the time to coordinate the 
threads of course - plus, some parts of the job may depend on the outcome of 
other parts - it's not because one man can do a particular job in tweznty days, 
that twenty men can do the same job in one day).

3) Callback messages
LiveCode socket communication with its callback message model should serve as 
an example that deserves to be extended into other input/output areas: process 
communication, reading/writing files, and database queries come to mind.
How I would love to say: load these 100K records from 16 joined tables in the 
database, and get back to me when you're done; or even send it to me in batches 
of 20 records. The user interface would stay responsive and can be updated to 
display an indeterminate progress bar; and if the RunRev team plays its cards 
right, we may even get a means to abort pending queries if the user decides 
it's better to refine the query criteria.

4) Externals and callback messages
At the RunRevLive'09 conference in Edinburgh, Mark Waddingham demonstrated 
experimental engine extensions to allow better interaction with externals, 
including a way for multithreaded externals to send callback messages to 
LiveCode controls, where scripts could handle them on the usual 'main' user 
interface thread.
The worker thread could also wait for a return value and then be on its merry 
way again for more data crunching. Or to scan the network for more 
Zeroconf-discoverable processes. Or othert things you'd want to hand off to a 
separate thread and weren't afraid to program in C.
Unfortunately, this didn't make it into version 4.0 but here's hoping it will 
find its way into the engine soon. It still wouldn't be script-level 
multithreading but would fit in well with the callback message paradigm of 
socket communication.

Most of what I've written here is about sending some thread off to do some 
work, and getting back to me with the result when it's done. The callback 
message mechanism gels well with this event-driven programming style.
The problems start when two threads are accessing the same resource. Race 
conditions, deadlocks, etc. are the bane of concurrent programming. Having 
rewritten and still maintaining a pervasively multithreaded Java application, I 
know the headaches and the unfavourable odds of bugs creeping into the design 
of such a monster.

That said, what could the engine offer us in terms of multithreading that would 
be straightforward to use and yet protect us from the many pitfalls at the same 
time?
My first idea would be to extend the callback mechanism to scripts:
  schedule "" on stack "" with 
One worker thread per stack would pick these messages from the stack's schedule 
queue and handle the execution of the message - but such threaded script 
messages would be prevented from escaping the bounds of their execution 
context. 
They would have their parameters to do some data crunching, but wouldn't be 
able to set any control or global properties, or change global variables - 
maybe 

RE: Keydowns during Socket Read/Writes

2011-02-09 Thread Camm
Could this be a bug ???

 

From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of cam...@tesco.net
Sent: 09 February 2011 09:02
To: How to use LiveCode
Subject: Re: Keydowns during Socket Read/Writes

 

Mark ,
Sorry , a few typo's...

Within the ReceivedMessage:-
I can get the Keydown to work without writing to the socket.
I can write to the socket without the Keydown.
If i try to write to the socket as a reponse to a Keydown , the write does
not happen.

As shown in the script below

Best Regards
Camm

 Mark Schonewille  wrote:
> Hi Camm,
>
> What does "does not work" mean? You need to explain this, before we can
help you.
>
> Additionally,
>
>   if controlKey is down
>
> cannot work, but
>
>   if controlKey() is down
>   if the controlKey is down
>
> can work (provided that you're pressing the control key).
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
>
> New: Download the Installer Maker Plugin 1.5 for LiveCode here
http://qery.us/ce
>
> On 8 feb 2011, at 22:42, Camm wrote:
>
> > Can anybody see the problem with using "Keys" whilst using socket
commands.
> >
> > I have tried KeyUp , KeyDown , RawKeys etc they work okay except when
trying
> > to write to socket
> >
> >
> >
> > Open socket to "127.0.0.1:8090" with message "ClientConnected"
> >
> >
> >
> >  on ClientConnected pSocket
> >
> >write "Hello" & crlf to socket pSocket
> >
> >read from socket pSocket until crlf with message
"ReceivedMessage"
> >
> > end ClientConnected
> >
> >
> >
> >on ReceivedMessage pSocket tdata
> >
> >   read from socket pSocket until crlf with message
> > "ReceivedMessage"
> >
> >   put number of items in tdata into NumItems
> >
> >   repeat with y=1 to NumItems
> >
> >  put  char 3 to 4 of item y of tdata into a
> >
> >  delete char 1 to 5 of item y of tdata
> >
> >  put item y of ToUpper(tdata) into line a of fld XYZ
> >
> >   end repeat
> >
> >   else
> >
> >   end if
> >
> > THIS WORKS >> write "Arn.Resp:5015=1:" & crlf  to socket pSocket
> >
> >
> >
> > THIS WORKS >> if controlKey() is down then put  "Arn.Resp:5015=1:"
into fld
> > XYZ
> >
> >
> > THIS DOES NOT > if controlKey() is down then write
"Arn.Resp:5015=1:" &
> > crlf  to socket pSocket
> >
> >end ReceivedMessage   
> >
> >
> > Best Regards
> >
> > Camm
>
>
> ___
> 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

  _  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1204 / Virus Database: 1435/3430 - Release Date: 02/08/11

___
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: Working ScreenRect: Linux

2011-02-09 Thread David C.
On Wed, Feb 9, 2011 at 1:56 PM, Richmond  wrote:
> Aaagh!
>
> On Linux (Ubuntu 11.04 beta with GNOME) there is no difference between the
> screenRect
> and the working screenRect
>
> Livecode FAILS to pick up GNOME panels, Avant Window Navigator and Docky.
>
> I am not entirely surpised by AWN and Docky as they are add-ons; but the
> failure to pick
> up my top Panel is a bit disconcerting.
>
> --
>
> Please; anybody using Linux (Peter, Peter and Peter???) try and compare
> items 3 and 4 of screenRect and working screenRect . . .
>
> Of course if anyone is running Linux with KDE, XFCE or Enlightenment
> feedback
> would be even more instructive . . .  :)

Hello Richmond,

Unfortunate news it seems... I'm running Linux Mint with a 1600x900
flat screen and standard (single) panel setup

...both screenRect and working screenRect show exactly the same
results here also. I'd say that the "working" adjective of screenRect
is broken in Linux, because it does in fact, return the difference in
taskbar height on Windows, just as it should.

Sorry, but I do not have access to any other window managers at the moment.

Best regards,
David C.

___
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: Some more thoughts on multithreading

2011-02-09 Thread Nonsanity
This is similar to what I was putting forward. I've thought more about it
more and have a sample scenario:


The user sees "Mainstack" with all the buttons and a progress bar, etc.
There is also a "Workhorse" stack that has all the heavy-duty processing
scripts, opened like so from the Mainstack:

open threaded stack "Workhorse"

This (currently imaginary) "open threaded" command opens the stack invisibly
as a separate thread. If it gets busy, the Mainstack is still responsive.
However it is sandboxed and unable to access other stacks except by "send"
or "dispatch".

Incoming access is also limited to "send" and "dispatch". The Mainstack can
only send the Workhorse messages like so:

send ("SetProgressObject" && the long id of scrollbar "Progress") to
stack "Workhorse"
send ("SetCallbackObject" && the long id of this stack) to stack
"Workhorse"
send ("SetData" && MyData) to stack "Workhorse"
send "ChewOnThis" to stack "Workhorse"

If the Workhorse stack started some long-lasting function when it was
opened, it may not get these events for a while, just as you'd expect a
stack to work now. The messages are pending until the current command exits.
When it does process them, scripts in the threaded stack can handle them any
way you wish. In this case:

"SetProgressObject" sets the stack parameter "ProgressObj" to the passed
object id.
"SetCallbackObject" sets the stack parameter "CallbackObj" to the passed
object id.
"SetData" stores the block of data that the "ChewOnThis" command will use.
"ChewOnThis" starts the process that may take some time.

While it runs, ChewOnThis can periodically let the Mainstack know how it's
progressing:

send ("UpdateProgress" && MyProgressVar) to (the ProgressObj of this
stack)

And let the Mainstack know when it is done:

send ("ThreadComplete" && ResultData) to (the CallbackObj of this stack)

The Mainstack can force the threaded stack to close at any time, regardless
of it's responsiveness (essentially "killing" it), with the following:

close threaded stack "Workhorse"

Trying to do a regular close would fail, just as trying to access a card or
button on the threaded stack would fail. It is sandboxed.


I like this scenario because it is very simple for the thread-unaware to use
without danger or complexity. The only two new commands are "open threaded
stack" and "close threaded stack". The only other change is the lack of
direct interaction.

I think the IDE would have to have a flag that causes the thread to be
re-absorbed into the main thread temporarily. This way, when you wish to
edit the threaded stack, you can, without worrying about thread conflicts.
When you switch back to the Browse Tool, the flag clears and it resumes its
threaded state. Much like editing a group.

Anyway, that's my idea...

 ~ Chris Innanen
 ~ Nonsanity


On Wed, Feb 9, 2011 at 4:40 PM, Jan Schenkel  wrote:
[snip for brevity]

> That said, what could the engine offer us in terms of multithreading that
> would be straightforward to use and yet protect us from the many pitfalls at
> the same time?
> My first idea would be to extend the callback mechanism to scripts:
>  schedule "" on stack "" with 
> One worker thread per stack would pick these messages from the stack's
> schedule queue and handle the execution of the message - but such threaded
> script messages would be prevented from escaping the bounds of their
> execution context.
> They would have their parameters to do some data crunching, but wouldn't be
> able to set any control or global properties, or change global variables -
> maybe they could show their progress in a separate 'status area' of the
> stack window, but that would be about it as far as the user experience goes.
> And when they're finished with part or all of their work, they would use a
> regular 'send' to call back into the 'main' UI thread.
> After the 'scheduled' task is finished, the thread takes the next sceduled
> message of the queue and executes that.
>
> It wouldn't be a perfect solution, but fairly easy to comprehend and use
> for us mere scripting portals - much easier than having to worry about
> synchronized access to mutable state, managing locks, etc.
>
> And now I'll leave the floor open to your thoughts again :-)
>
> Jan Schenkel.
>
___
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: Working ScreenRect: Linux

2011-02-09 Thread Richard Gaskin

Richmond wrote:


On Linux (Ubuntu 11.04 beta with GNOME) there is no difference between
the screenRect
and the working screenRect

Livecode FAILS to pick up GNOME panels, Avant Window Navigator and Docky.

I am not entirely surpised by AWN and Docky as they are add-ons; but the
failure to pick
up my top Panel is a bit disconcerting.


Confirmed here under Ubuntu 10.10, filed as report #9390:


--
 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


Setting the location of controls

2011-02-09 Thread Peter Haworth
Continuing to work on dragging controls from a palette to another stack.  I 
have everything working as I want it to except for an anomaly when the control 
is a datagrid. 

For all controls except a datagrid, the control is created with it's top left 
corner exactly at the mouse location at dragEnd.  For a datagrid, it's not 
close. I've tried to figure out a relationship between the loc points and the 
actual top and left of the dragged datagrid but I can't find one.  The code for 
setting the loc is the same no matter whether it's a datagrid or any other type 
of control.  

In trying to figure this out, I've been looking at the dictionary entries for 
dragMove and location.  

The dictionary entry for dragMove shows no parameters but the code I got from 
Richard has a dragMove handler that shows 2 parameters, x and y.   What are 
these parameters?  Are they the location of the mouse pointer or are they the 
distance from the top and left of the screen/window to the centre of the 
dragImage?  If the latter, the positioning of the datagrid would make sense.  
For all the controls except the datagrid, the image I drag is the same size as 
the control itself; for a datagrid, the image is a different size than the 
datagrid that is created

The above is all based on the dictionary entry for location which says that, 
for controls on a card, the first value is the number of pixels from the left 
edge of the card to the centre of the object and the second is the number of 
pixels from the top of the card to the centre of the object.  

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: Some more thoughts on multithreading

2011-02-09 Thread Bob Sneidar
I wonder why a lot of people think the threaded stack has to be sandboxed? The 
engine opened it, the engine knows how to communicate with it and other stacks. 
I really don't understand why a threaded stack would be inaccessible to other 
stacks. The only thing is that a threaded stack or perhaps a threaded command 
or function would be able to process independently of the main thread running 
everything else. 

But again, I am not a high level programmer. I can imagine how in C you would 
need to manage all the locks and threads because there is no IDE that is 
running. You have to write your own IDE so to speak. In LiveCode, the IDE is 
running all the time, and it is the process that would open any thread, so it 
would have full access to that process, being the "parent", wouldn't it? Or am 
I missing something? 

Bob


On Feb 9, 2011, at 2:38 PM, Nonsanity wrote:

> This is similar to what I was putting forward. I've thought more about it
> more and have a sample scenario:
> 
> 
> The user sees "Mainstack" with all the buttons and a progress bar, etc.
> There is also a "Workhorse" stack that has all the heavy-duty processing
> scripts, opened like so from the Mainstack:
> 
>open threaded stack "Workhorse"
> 
> This (currently imaginary) "open threaded" command opens the stack invisibly
> as a separate thread. If it gets busy, the Mainstack is still responsive.
> However it is sandboxed and unable to access other stacks except by "send"
> or "dispatch".


___
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: a praise for RevIgniter

2011-02-09 Thread Robert Mann

Yes indeed, what struck me most is that..  revIgniter.. JUST WORKS!!  What is
written in the doc.; actually worked with no surprise... for me, so I join
you in that praise!! Robert

By the way, Id' be really happy to share some .irev handlers I had to make
to build CMS sites with revIgniter (like how to embed videos, audios with
fall back from HTML5).

How to do it?? Maybe a revOline stack that could be amended by anybody
interested?? 
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/a-praise-for-RevIgniter-tp3297205p3298486.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: a praise for RevIgniter

2011-02-09 Thread Bill Vlahos
I would love a tutorial.

Bill Vlahos
_
InfoWallet (http://www.infowallet.com) is about keeping your important life 
information with you, accessible, and secure.

On Feb 9, 2011, at 6:07 PM, Robert Mann wrote:

> 
> Yes indeed, what struck me most is that..  revIgniter.. JUST WORKS!!  What is
> written in the doc.; actually worked with no surprise... for me, so I join
> you in that praise!! Robert
> 
> By the way, Id' be really happy to share some .irev handlers I had to make
> to build CMS sites with revIgniter (like how to embed videos, audios with
> fall back from HTML5).
> 
> How to do it?? Maybe a revOline stack that could be amended by anybody
> interested?? 
> -- 
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/a-praise-for-RevIgniter-tp3297205p3298486.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: Some more thoughts on multithreading

2011-02-09 Thread Nonsanity
On Wed, Feb 9, 2011 at 6:42 PM, Bob Sneidar  wrote:

> I wonder why a lot of people think the threaded stack has to be sandboxed?
> The engine opened it, the engine knows how to communicate with it and other
> stacks. I really don't understand why a threaded stack would be inaccessible
> to other stacks. The only thing is that a threaded stack or perhaps a
> threaded command or function would be able to process independently of the
> main thread running everything else.
>
> But again, I am not a high level programmer. I can imagine how in C you
> would need to manage all the locks and threads because there is no IDE that
> is running. You have to write your own IDE so to speak. In LiveCode, the IDE
> is running all the time, and it is the process that would open any thread,
> so it would have full access to that process, being the "parent", wouldn't
> it? Or am I missing something?
>
> Bob
>


Heya Bob.

Lets say we're having dinner together blindfolded, and we both reach for the
salt shaker at the same time. What happens?

Two scripts, running at the same time, both trying to read and modify the
same variable. The data is going to get mangled.

This doesn't HAVE to happen in one is careful and keeps in mind these sort
of dangers when programming with multiple threads, and if the right tools
are available to prevent it... And they are used correctly.

Serial port reading in LC is already multi-threaded. You can tell it to read
until a particular time or character, and send you an event when its done.
There is zero further interaction between that read thread and the main
thread. In this case it exits just after sending the message, but pretend it
was extended to continue to exist, sending another callback event whenever
the trigger happens. To stop it, you send IT a message.

But what if it started putting the data it reads into a, for example, stack
property called SerialData. I make the callback script like so:

get the number of chars in the SerialData of this stack
repeat with a = 1 to it
put char it & return after fld 1
end repeat

So when (my mythical) looping serial read sends the callback (upon reading a
CR, for example) that script is begun. But because it's now a looping serial
read, it starts reading more off the port. I might be in the middle of my
loop when it gets a new line of data and puts it into the SerialData
property.

Now my script was in the middle of looping through that data and it changed.
Horrible mess.

This sort of thing is prevented in other languages that support threading
with semaphores and critical sections. These lock a variable so that only
one thread can access it at a time, or lock a section of code so that other
threads are paused while it executes. You put them in places you know the
two threads will be otherwise stepping on each other's toes. But knowing
WHEN these tools are necessary is key to good multi-threaded programming,
use them too often and the script is bogged down with accounting. Use them
wrong and you could end up with both threads waiting for the same salt
shaker...

You could teach the IDE to do all this for you, but it wouldn't be very
efficient at it, and the added overhead of all those locks will slow
everything down. There's no generic way to allow full access without a
significant hit to speed. (Or an embedded AI that can look at all the code,
understand where each script might be in conflict with another under all
data conditions, and put locks around those points.)

Now I know how to use a semaphore, as I program in C languages for a living,
but I'd hate to see them in LC. It would lose that ease of programming it is
famed for. But I would like to see threads, and sandboxing can make that
happen...


 ~ 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: Some more thoughts on multithreading

2011-02-09 Thread Nonsanity
On Wed, Feb 9, 2011 at 11:33 PM, Nonsanity  wrote:

> get the number of chars in the SerialData of this stack
> repeat with a = 1 to it
> put char it & return after fld 1
> end repeat
>
>
get the number of chars in the SerialData of this stack
repeat with a = 1 to it
put char a of the SerialData & return after fld 1
end repeat
___
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: a praise for RevIgniter

2011-02-09 Thread stephen barncard
There are good examples in the docs. Revingniter rocks.
Hats off to author Ralf Bitter.

On 9 February 2011 19:38, Bill Vlahos  wrote:

> I would love a tutorial.
>
> Bill Vlahos
> _
> InfoWallet (http://www.infowallet.com) is about keeping your important
> life information with you, accessible, and secure.
>
> On Feb 9, 2011, at 6:07 PM, Robert Mann wrote:
>
> >
> > Yes indeed, what struck me most is that..  revIgniter.. JUST WORKS!!
>  What is
> > written in the doc.; actually worked with no surprise... for me, so I
> join
> > you in that praise!! Robert
> >
> > By the way, Id' be really happy to share some .irev handlers I had to
> make
> > to build CMS sites with revIgniter (like how to embed videos, audios with
> > fall back from HTML5).
> >
> > How to do it?? Maybe a revOline stack that could be amended by anybody
> > interested??
> > --
> > View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/a-praise-for-RevIgniter-tp3297205p3298486.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
>



-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  
___
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


AW: style of addressing objects

2011-02-09 Thread Tiemo Hollmann TB
Thanks Pete and Bob for your style guides
Tiemo

> -Ursprüngliche Nachricht-
> Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-
> boun...@lists.runrev.com] Im Auftrag von Peter Haworth
> Gesendet: Mittwoch, 9. Februar 2011 19:07
> An: How to use LiveCode
> Betreff: Re: style of addressing objects
> 
> I always put quotes around any object names.
> 
> Personally, if an object is in a group, I always qualify it with the group
> name.  I was bitten a couple of times because I added a control at a later
> date of the same type and name as an existing one, so using the group name
> avoids potential future conflicts.
> 
> 
> 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


AW: can grouping help me rezising objects?

2011-02-09 Thread Tiemo Hollmann TB
Thank you Jan, that was a helpful hint!
Tiemo

> -Ursprüngliche Nachricht-
> Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-
> boun...@lists.runrev.com] Im Auftrag von Jan Schenkel
> Gesendet: Mittwoch, 9. Februar 2011 21:16
> An: How to use LiveCode
> Betreff: Re: can grouping help me rezising objects?
> 
> --- On Wed, 2/9/11, Tiemo Hollmann TB  wrote:
> > Hello,
> >
> > I have a bunch of objects grouped in several hierarchical
> > groups in a stack
> > which is resizable.
> >
> > Up to now I resize every single object by script just how I
> > need it. Up to
> > now I experienced, that I can't resize the objects of a
> > group by resizing
> > the group. Ok, it isn't that easy how all objects should
> > behave when a stack
> > or group.
> >
> > Now I just wanted to ask, if groups can help me in any kind
> > with resizing
> > all objects of a group in case I haven't noticed it yet and
> > do a lot of
> > unnecessary work, when extending my groups now.
> >
> > Thanks for your experience
> >
> > Tiemo
> >
> 
> Hi Tiemo,
> 
> Unless the 'lockLocation' of the group is set to true, it will 'snap back'
to
> encompass its contained controls - leaving room for the margins, which are
> oddly enough in the 'Text' panel of the group inspector.
> 
> While the lockLocation is true, you can still resize the group from
script,
> and do your magic in its 'resizeControl' handler. And since version 3.5
> resizing a group interactively with the pointer tool continuously sends
> 'resizeControl' messages, allowing us to shuffle and resize the contained
> controls to fit the new size.
> 
> Combined with behavior scripts, groups are a powerful method of
compositing
> custom controls that are very close to regular engine controls.
> 
> Jan Schenkel.
> =
> Quartam Reports & PDF Library for LiveCode
> www.quartam.com
> 
> =
> "As we grow older, we grow both wiser and more foolish at the same time."
(La
> Rochefoucauld)
> 
> 
> 
> 
> 
> ___
> 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