Re: What to Do Since FTP No Longer Supported in Mac OSX Lion?

2011-08-14 Thread Andre Garzia
They still make mac mini server, which is a good server but not rackable
(does this word exists?)

--
enviado do meu Nexus S - android is freedom.
http://andregarzia.com :: all we do is code
http://fon.nu :: minimalist url shortening
Em 13/08/2011 19:19, "Richard Gaskin"  escreveu:
> J. Landman Gay wrote:
>
>> Having just spend some time implementing FTP uploading in my AirLaunch
>> stack, it sounds like it won't work on Lion.
>
> If I understand this correctly, the only change in Lion is that it no
> longer provides a GUI for an FTP *server*. Uploading to any other
> server should still work, yes?
>
> IIRC Apple no longer makes Xserve anyway, so who needs an OS X FTP server?
>
> --
> 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
___
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: What to Do Since FTP No Longer Supported in Mac OSX Lion?

2011-08-14 Thread John Dixon

It does now...:-)
> They still make mac mini server, which is a good server but not rackable
> (does this word exists?)
> From: an...@andregarzia.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] Using Shell to Manipulate SQL

2011-08-14 Thread Andre Garzia
Andrew,

This is a quick email typed on a phone on an aiport so forgive me for not
going to deep.

Basically : don't do it!

The dangers are too big. You should avoid using shell() with anything that
comes from user input.

If the user chooses a username such as:

" && rm -rf *

And this, in a very unlucky day, is not detected by your security filters
and this ends up in a shell() call, all your files are gone.

Shell calls are very powerful and just like uncle ben said: "with great
power comes great GREAT HACKING ENTRY POINTS AND SCRIPT INJECTION ".

You should only use them with strings that have no part computed from third
parties.

Cheers

--
enviado do meu Nexus S - android is freedom.
http://andregarzia.com :: all we do is code
http://fon.nu :: minimalist url shortening
Em 09/08/2011 04:09, "Andrew Kluthe"  escreveu:
> Here is another thing I am wondering about this evening.
>
> I am curious as to how much power the Shell() function in an On-Rev
> configuration is. I'd like to create mySQL databases & users on the fly.
>
> I know the shell() function can run commands for you, but do you think I
> will be able to create mysql databases and users as root?
>
>
> Has anyone tried this?
>
> Thanks,
>
> Andrew
> ___
> 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


referring to object names stored in variables

2011-08-14 Thread Thomas Bähler
Hi all
Grrr, I did that before but can't find the solution anymore.

I have a textfield with several lines. When I click that field, I store the 
reference of the selectedLine in a custom variable. Later I want to put text 
after that specific line. But I don't get there.

I click in line 1 of field 1 and store the selectedLine in the custom property  
the L_Line of field 1
when I try: put the L_Line of field 1 I get:  "line 1 of field 1"
when I try: put the value(the L_Line of field 1)  I get the content of that 
line
when I try: put "blablabla" after (the L_Line of field 1)  I get a 
compilation error (Chunk: bad destination)

Thanks for help!

Thomas
___
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: referring to object names stored in variables

2011-08-14 Thread Mark Schonewille
Thomas,

Try this:

put "blabla" after line (word 2 of the L_Line of field 1) of field 1

--
Best regards,

Mark Schonewille

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

What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 
A must-have for LiveCode programmers.

On 14 aug 2011, at 14:28, Thomas Bähler wrote:

> Hi all
> Grrr, I did that before but can't find the solution anymore.
> 
> I have a textfield with several lines. When I click that field, I store the 
> reference of the selectedLine in a custom variable. Later I want to put text 
> after that specific line. But I don't get there.
> 
> I click in line 1 of field 1 and store the selectedLine in the custom 
> property  the L_Line of field 1
> when I try: put the L_Line of field 1 I get:  "line 1 of field 1"
> when I try: put the value(the L_Line of field 1)  I get the content of 
> that line
> when I try: put "blablabla" after (the L_Line of field 1)  I get a 
> compilation error (Chunk: bad destination)
> 
> Thanks for help!
> 
> Thomas


___
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


Using revIgniter with on-rev and multiple sites/domains

2011-08-14 Thread Keith Clarke
Hi folks,
When using revIgniter for on-rev, across multiple addon domains, where should 
the revIgniter files be installed? The revIgniter installation instructions 
state, at lines:

'2. Upload the revIgniter folders and files to your server. Normally the 
index.irev file will be at your root.'

'3. Open the application/config/config.irev file with a text editor and set 
your base URL.

The latter seems to imply a per-site implementation, so it seems that the 
'root' cited in line 2 does not mean the docroot of mydom...@on-rev.com. So, do 
the revIgniter files go into the addon domain's docroot or webroot 
(public_html/)?
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: referring to object names stored in variables

2011-08-14 Thread Peter M. Brigham, MD
On Aug 14, 2011, at 8:51 AM, Mark Schonewille wrote:

> Thomas,
> 
> Try this:
> 
> put "blabla" after line (word 2 of the L_Line of field 1) of field 1
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> What does that error mean? Buy LiveCodeErrors for iPhone now 
> http://qery.us/v4 A must-have for LiveCode programmers.
> 
> On 14 aug 2011, at 14:28, Thomas Bähler wrote:
> 
>> Hi all
>> Grrr, I did that before but can't find the solution anymore.
>> 
>> I have a textfield with several lines. When I click that field, I store the 
>> reference of the selectedLine in a custom variable. Later I want to put text 
>> after that specific line. But I don't get there.
>> 
>> I click in line 1 of field 1 and store the selectedLine in the custom 
>> property  the L_Line of field 1
>> when I try: put the L_Line of field 1 I get:  "line 1 of field 1"
>> when I try: put the value(the L_Line of field 1)  I get the content of 
>> that line
>> when I try: put "blablabla" after (the L_Line of field 1)  I get a 
>> compilation error (Chunk: bad destination)
>> 
>> Thanks for help!
>> 
>> Thomas

Another way of doing it: store just the line number. "The L_Line of field 1" is 
already specific to field 1, so it doesn't have to contain "line 1 of field 1" 
-- it could just contain "1". Then
   line (the L_Line of field 1) of field 1
gives you the content of the line.

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig



___
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: mysql and android - does it work?

2011-08-14 Thread Roger Eller
On Mon, Aug 8, 2011 at 6:59 PM, Admin wrote:

>
>
> Hello everyone.
>
> My database app utilizes a mysql database. When
> testing for android, the app shows up fine (but needs to be in landscape
> mode, not portrait), but when I try to login, it gives me a revdberr -
> invalid database type.
>
> This works on the desktop (pc and mac). Does
> mysql work on Android? How do I get this to work if it does?
>
> Mike
>

I haven't tried databases on Android yet, but there is info on page 9 of the
Android release notes regarding setting the proper manifest options.

˜Roger
___
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: referring to object names stored in variables

2011-08-14 Thread Thomas Bähler
Hi Mark, Hi Peter
I thought of parsing the content of the variable, but wanted to find the 
function or the LiveCode keyword that would do that for me. That function might 
not exist. So, for the moment I store just the numbers and "glue" the reference 
together in the script as you suggested.

Thanks a lot
Th.


On Aug 14, 2011, at 8:51 AM, Mark Schonewille wrote:

> Thomas,
> 
> Try this:
> 
> put "blabla" after line (word 2 of the L_Line of field 1) of field 1
> 
> --
> Best regards,
> 
> Mark Schonewille
___
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: Using revIgniter with on-rev and multiple sites/domains

2011-08-14 Thread stephen barncard
I don't think Revigniter (or any other web app ) can span domains. However,
why not create a special domain or subdomain for Revigniter ?


On 14 August 2011 07:01, Keith Clarke wrote:

> Hi folks,
> When using revIgniter for on-rev, across multiple addon domains, where
> should the revIgniter files be installed? The revIgniter installation
> instructions state, at lines:
>
> '2. Upload the revIgniter folders and files to your server. Normally the
> index.irev file will be at your root.'
>
> '3. Open the application/config/config.irev file with a text editor and set
> your base URL.
>
> The latter seems to imply a per-site implementation, so it seems that the
> 'root' cited in line 2 does not mean the docroot of mydom...@on-rev.com.
> So, do the revIgniter files go into the addon domain's docroot or webroot
> (public_html/)?
> 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
>



-- 



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


Re: referring to object names stored in variables

2011-08-14 Thread Colin Holgate
There is a small oddity in that if you put something after a line of a field, 
the text you put there appears at the start of the next line, unless it was the 
last line of the field, in which case it goes at the end of the text.

When you said you wanted to put "blabla" after the line, did you want this:

"one two three"

to be come this:

"one two threeblabla"

this:

"one two three blabla"

or this:

"one two three
blabla"

?

In the last case, would you want the following line to be pushed down? In other 
words, you're inserting a line with "blabla" in it?

My guess is that you want "one two three" to become "one two three blabla". You 
can achieve that with the do command:

on mouseup
   put the selectedline into sl
   do "put"&"e&space&blabla"e&& "after" && sl
end mouseup



___
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:referring to object names stored in variables

2011-08-14 Thread Thomas Bähler
Hi Colin
What I wanted (and accomplished now) is the following:

I have two fields: the first is editable and I can write parameters and their 
values in it, the other is locked and shows calculations based upon the 
parameters available in the first field. To avoid typos I included a feature in 
the first field that pops up a menu with the parameters needed for the 
calculation. So, when I hit the return-key with the commandKey down, the menu 
appears at the mousepointer and all the parameters that are already in the 
field are disabled. If I choose a menuitem of that menu, the script has to 
place the parameter after the line my cursor was; and that was the code I was 
looking for.

Cheers
Thomas

The working scripts I use now:

First field:
--
on returnInField
   if the commandKey is down then
  --store the location of the cursor
  set the C_Loc of me to word 2 of the selectedline
  --populate the menu and disable/enable the menu items
  Parameterliste
  popup button "Parameter"
   else
  pass returnInField
   end if
end returnInField

on Parameterliste
   -- Auflisten der in den Berechnungen im Feld "Parameter-Menu" aufgelisteten 
Parameter,
   -- um sie bei der Eingabe im Feld Eigenschaften als PopUp-Menu 
bereitzustellen.
   -- Das PopUp-Menu wird angezeigt mit Befehl-Return ins dieses Feld
   -- und bei dieser Gelegenheit auch abgeglichen.
   put field "Parameter-Menu" into L_Liste
   put L_Liste into button "Parameter"
   put 1 into L_LineCount
   repeat for each line x in L_Liste
  if field "Eigenschaften" contains x then
 disable menuitem L_LineCount of  button "Parameter"
  else
 enable menuitem L_LineCount of  button "Parameter"
  end if
  add 1 to L_LineCount
   end repeat
end Parameterliste


PopUp-Button:
-
on menuPick pItemName
   -- look up the line the text should be placed
   get the C_Loc of field "Eigenschaften"
   -- place the name of the menu-item and add a colon and a tab
   put return & pItemName &  ":" & tab after line it of field "Eigenschaften"
   select after line (it +1) of field "Eigenschaften"
end menuPick



___
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: What to Do Since FTP No Longer Supported in Mac OSX Lion?

2011-08-14 Thread Jim Ault
The mac mini is rack-able
Just Google 'mac mini rack mount'
and get a tray that holds 4 units
thus 4 CPUs on one rack

I use this in one of my data centers.
http://eshop.macsales.com/item/Macessity/MX4/?utm_source=google&utm_medium=shoppingengine&utm_campaign=googlebase

Jim Ault
Las Vegas
--- On Sun, 8/14/11, Andre Garzia  wrote:

From: Andre Garzia 
Subject: Re: What to Do Since FTP No Longer Supported in Mac OSX Lion?
To: "How to use LiveCode" 
Date: Sunday, August 14, 2011, 12:19 AM

They still make mac mini server, which is a good server but not rackable
(does this word exists?)

--
___
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: Using revIgniter with on-rev and multiple sites/domains

2011-08-14 Thread Keith Clarke
...thanks Stephen, for the clarification that revIgniter is currently scoped as 
a domain/sub-domain-level solution. 

I'm new to revIgniter and was rather hoping to just set it at a server level in 
the background (the way I had implemented RevServer before upgrading to on-rev) 
so that the capabilities were available as needed wherever and whenever might 
be useful. (Maybe I'm missing the point on revIgniter there.)

So, unless I'm missing the obvious, the installation question remains - do the 
revIgniter files get uploaded into the addon domain's webroot or docroot?
Best,
Keith..

On 14 Aug 2011, at 16:05, stephen barncard wrote:

> I don't think Revigniter (or any other web app ) can span domains. However,
> why not create a special domain or subdomain for Revigniter ?
> 
> 
> On 14 August 2011 07:01, Keith Clarke 
> wrote:
> 
>> Hi folks,
>> When using revIgniter for on-rev, across multiple addon domains, where
>> should the revIgniter files be installed? The revIgniter installation
>> instructions state, at lines:
>> 
>> '2. Upload the revIgniter folders and files to your server. Normally the
>> index.irev file will be at your root.'
>> 
>> '3. Open the application/config/config.irev file with a text editor and set
>> your base URL.
>> 
>> The latter seems to imply a per-site implementation, so it seems that the
>> 'root' cited in line 2 does not mean the docroot of mydom...@on-rev.com.
>> So, do the revIgniter files go into the addon domain's docroot or webroot
>> (public_html/)?
>> 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: referring to object names stored in variables

2011-08-14 Thread J. Landman Gay

On 8/14/11 10:09 AM, Colin Holgate wrote:

There is a small oddity in that if you put something after a line of
a field, the text you put there appears at the start of the next
line, unless it was the last line of the field, in which case it goes
at the end of the text.


I don't see that behavior. I get the additional text after the existing 
text on the specified line.


Field containing:

  one
  two
  three

From the message box: put "blah" after line 2 of fld 1

Produces:

  one
  twoblah
  three

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

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


Re: What to Do Since FTP No Longer Supported in Mac OSX Lion?

2011-08-14 Thread Gregory Lypny
Agreed.  And I don’t think it would be a stretch for the Rev team to throw an 
SFTP command into LiveCode.

Gregory


On Sun, Aug 14, 2011, at 10:01 AM, use-livecode-requ...@lists.runrev.com wrote:

> Certainly the more protocols supported, the better ;) Since Apple could have 
> used SFTP earlier, but didn't, I wonder if one might ask what good reason 
> they had for 
> using FTP until now. I think the "good reason" for the current change is that 
> SFTP is more secure and that sounds real good and clearly fits the model of 
> enhanced 
> security in 10.7. How relevant this additional security is to what percentage 
> of users who have been using OS X's built-in file sharing in the FTP mode, 
> considering 
> the who, what, how and why, is something that could be debated. (Definitely, 
> though, a trivial pursuit since the decision has been made.) 
> 
> Warren

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


[OT] two really neat pdf tools

2011-08-14 Thread Peter Alcibiades
Don't know if anyone needs these things, but if you do, they are really 
neat.  One is unoconv.  That will take all the .doc files in a directory 
and with the aid of open office or libreoffice will turn them into 
perfectly decent pdfs.  As in:-

unconv -f pdf *.doc

Then the other really neat one is pdfshuffler.  This is a gnome gui 
package, and what you do is import the pdfs into it and then export them 
again, and you have combined all your pdfs into one file.  You can do other 
stuff with this, but I didn't bother to figure out the rest only needing to 
combine them.

So basically, you start out with 50 .doc files and you zip them up into one 
pdf in about 30 seconds.  Wonderful!

Peter

___
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: Using revIgniter with on-rev and multiple sites/domains

2011-08-14 Thread Ralf Bitter
Hi Keith,

every addon domain needs it's own revIgniter installation.
So, the revIgniter files go into public_html/yourAddonDomain.

Hope this helps.

Ralf



On 14.08.2011, at 16:01, Keith Clarke wrote:

> Hi folks,
> When using revIgniter for on-rev, across multiple addon domains, where should 
> the revIgniter files be installed? The revIgniter installation instructions 
> state, at lines:
> 
> '2. Upload the revIgniter folders and files to your server. Normally the 
> index.irev file will be at your root.'
> 
> '3. Open the application/config/config.irev file with a text editor and set 
> your base URL.
> 
> The latter seems to imply a per-site implementation, so it seems that the 
> 'root' cited in line 2 does not mean the docroot of mydom...@on-rev.com. So, 
> do the revIgniter files go into the addon domain's docroot or webroot 
> (public_html/)?
> 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


___
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: referring to object names stored in variables

2011-08-14 Thread Colin Holgate
That wasn't what I had referred to. Lock the text of your field, and try this 
script:

on mouseup
   put "bla" after the selectedline
end mouseup


then click on line 1. Where does the text appear?


On Aug 14, 2011, at 1:25 PM, J. Landman Gay wrote:

> From the message box: put "blah" after line 2 of fld 1

___
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: Using revIgniter with on-rev and multiple sites/domains

2011-08-14 Thread Keith Clarke
...great, thanks Ralf - for the clarification and for creating and sharing the 
fantastic revIgniter resource.

BTW are there any additional setup steps needed for work with LiveCode Server 
and .lc files rather revServer .irev environment - for example, does index.irev 
change to index.lc?
Best,
Keith..
  
On 14 Aug 2011, at 20:12, Ralf Bitter wrote:

> Hi Keith,
> 
> every addon domain needs it's own revIgniter installation.
> So, the revIgniter files go into public_html/yourAddonDomain.
> 
> Hope this helps.
> 
> Ralf
> 
> 
> 
> On 14.08.2011, at 16:01, Keith Clarke wrote:
> 
>> Hi folks,
>> When using revIgniter for on-rev, across multiple addon domains, where 
>> should the revIgniter files be installed? The revIgniter installation 
>> instructions state, at lines:
>> 
>> '2. Upload the revIgniter folders and files to your server. Normally the 
>> index.irev file will be at your root.'
>> 
>> '3. Open the application/config/config.irev file with a text editor and set 
>> your base URL.
>> 
>> The latter seems to imply a per-site implementation, so it seems that the 
>> 'root' cited in line 2 does not mean the docroot of mydom...@on-rev.com. So, 
>> do the revIgniter files go into the addon domain's docroot or webroot 
>> (public_html/)?
>> 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
> 
> 
> ___
> 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: Using revIgniter with on-rev and multiple sites/domains

2011-08-14 Thread Keith (Gulf Breeze Ortho Lab)

Hi Guys,

I just checked out the documentation for revIgniter (and have actually 
looked into it before--very cool!) and have a question. Regarding the 
encryption library, is it possible to encrypt files using it? Or only 
strings?


Thanks,

- Boo

The greatest obstacle to discovery is not ignorance --
it is the illusion of knowledge. Daniel Boorstin
- Original Message - 
From: "Keith Clarke" 

To: "How to use LiveCode" 
Sent: Sunday, August 14, 2011 2:52 PM
Subject: Re: Using revIgniter with on-rev and multiple sites/domains


...great, thanks Ralf - for the clarification and for creating and sharing 
the fantastic revIgniter resource.


BTW are there any additional setup steps needed for work with LiveCode 
Server and .lc files rather revServer .irev environment - for example, 
does index.irev change to index.lc?

Best,
Keith..

On 14 Aug 2011, at 20:12, Ralf Bitter wrote:


Hi Keith,

every addon domain needs it's own revIgniter installation.
So, the revIgniter files go into public_html/yourAddonDomain.

Hope this helps.

Ralf



On 14.08.2011, at 16:01, Keith Clarke wrote:


Hi folks,
When using revIgniter for on-rev, across multiple addon domains, where 
should the revIgniter files be installed? The revIgniter installation 
instructions state, at lines:


'2. Upload the revIgniter folders and files to your server. Normally the 
index.irev file will be at your root.'


'3. Open the application/config/config.irev file with a text editor and 
set your base URL.


The latter seems to imply a per-site implementation, so it seems that 
the 'root' cited in line 2 does not mean the docroot of 
mydom...@on-rev.com. So, do the revIgniter files go into the addon 
domain's docroot or webroot (public_html/)?

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



___
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: referring to object names stored in variables

2011-08-14 Thread J. Landman Gay

On 8/14/11 2:13 PM, Colin Holgate wrote:

That wasn't what I had referred to. Lock the text of your field, and try this 
script:

on mouseup
put "bla" after the selectedline
end mouseup


then click on line 1. Where does the text appear?


The handler errors unless listbehavior is set. But once I do that, the 
text appears after the correct line (line 1.)


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

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


Re: Using revIgniter with on-rev and multiple sites/domains

2011-08-14 Thread Ralf Bitter
Keith,

to use the latest version (1.4b) of revIgniter with the
latest version of the server engine on On-Rev you
currently need to change the extensions of all files to .lc
(sorry for the inconvenience).
Note: This applies to revIgniter installations on On-Rev only.

The next revIgniter version will include the .lc extension.


Ralf



On 14.08.2011, at 21:52, Keith Clarke wrote:

> ...great, thanks Ralf - for the clarification and for creating and sharing 
> the fantastic revIgniter resource.
> 
> BTW are there any additional setup steps needed for work with LiveCode Server 
> and .lc files rather revServer .irev environment - for example, does 
> index.irev change to index.lc?
> Best,
> Keith..
> 
> On 14 Aug 2011, at 20:12, Ralf Bitter wrote:
> 
>> Hi Keith,
>> 
>> every addon domain needs it's own revIgniter installation.
>> So, the revIgniter files go into public_html/yourAddonDomain.
>> 
>> Hope this helps.
>> 
>> Ralf
>> 
>> 
>> 
>> On 14.08.2011, at 16:01, Keith Clarke wrote:
>> 
>>> Hi folks,
>>> When using revIgniter for on-rev, across multiple addon domains, where 
>>> should the revIgniter files be installed? The revIgniter installation 
>>> instructions state, at lines:
>>> 
>>> '2. Upload the revIgniter folders and files to your server. Normally the 
>>> index.irev file will be at your root.'
>>> 
>>> '3. Open the application/config/config.irev file with a text editor and set 
>>> your base URL.
>>> 
>>> The latter seems to imply a per-site implementation, so it seems that the 
>>> 'root' cited in line 2 does not mean the docroot of mydom...@on-rev.com. 
>>> So, do the revIgniter files go into the addon domain's docroot or webroot 
>>> (public_html/)?
>>> 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: referring to object names stored in variables

2011-08-14 Thread dunbarx
Fascinating.


These two scripts do very different things. Colin, have you known about this 
since HC days?



on mouseup
  put the selectedLine into temp
  do "put X after" && temp
end mouseup


on mouseup
  put "X" after the selectedLine
end mouseup


And which is the selectedLine in a locked field that has no selection? Is this 
implied as the clickLine? Never knew that...



Craig


-Original Message-
From: Colin Holgate 
To: How to use LiveCode 
Sent: Sun, Aug 14, 2011 11:14 am
Subject: Re: referring to object names stored in variables


That wasn't what I had referred to. Lock the text of your field, and try this 
script:

on mouseup
   put "bla" after the selectedline
end mouseup


then click on line 1. Where does the text appear?


On Aug 14, 2011, at 1:25 PM, J. Landman Gay wrote:

> From the message box: put "blah" after line 2 of fld 1

___
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: referring to object names stored in variables

2011-08-14 Thread Colin Holgate
I don't know how you managed to copy and paste it and it not still work. Yes, 
if you make it list behavior it does go in the line you would expect, but for a 
regular field, the script works, and the text goes in front of the following 
line.

Here's a screen recording, having just copied my script from the email I sent:

http://xfiles.funnygarbage.com/~colinholgate/video/selectedline.mov


On Aug 14, 2011, at 4:30 PM, J. Landman Gay wrote:

> The handler errors unless listbehavior is set. But once I do that, the text 
> appears after the correct line (line 1.)


___
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: referring to object names stored in variables

2011-08-14 Thread Colin Holgate
I can't remember if I ever used the selectedline instead of the clickline, but 
it makes sense. When you look at the selectedchunk on a locked field it shows 
as char n to n-1 of line l of field f, so the selected items do know the line 
you clicked on.

I'm glad you saw the same behavior I saw, and don't have a special version of 
liveCode like Jacque.


On Aug 14, 2011, at 4:58 PM, dunb...@aol.com wrote:

> These two scripts do very different things. Colin, have you known about this 
> since HC days?

___
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: referring to object names stored in variables

2011-08-14 Thread J. Landman Gay

On 8/14/11 4:08 PM, Colin Holgate wrote:


I'm glad you saw the same behavior I saw, and don't have a special
version of liveCode like Jacque.


I see. My "special version" was 4.6.2, since I had a lot of other work 
open in 4.6.3 when I tested. Apparently something changed. In 4.6.2 I 
get "no target found" when I run your script, which forced me to set the 
listbehavior.


In 4.6.3, it does behave as you say. I think I prefer 4.6.2 because it 
requires you to set up the field in a way that produces the expected 
behavior. Or else 4.6.x should fix it so all references produce the 
expected result.


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

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


Re: referring to object names stored in variables

2011-08-14 Thread dunbarx
The listBehavior makes no difference in my tests. I just never knew that the 
selectedLine was set upon clicking into a locked field.


This might be a disadvantage if you want to work when there is NO selectedLine. 
You get one anyway.That is what the clickLine is for. Thanks a lot.


Craig





-Original Message-
From: J. Landman Gay 
To: How to use LiveCode 
Sent: Sun, Aug 14, 2011 1:41 pm
Subject: Re: referring to object names stored in variables


On 8/14/11 4:08 PM, Colin Holgate wrote:

> I'm glad you saw the same behavior I saw, and don't have a special
> version of liveCode like Jacque.

I see. My "special version" was 4.6.2, since I had a lot of other work 
open in 4.6.3 when I tested. Apparently something changed. In 4.6.2 I 
get "no target found" when I run your script, which forced me to set the 
listbehavior.

In 4.6.3, it does behave as you say. I think I prefer 4.6.2 because it 
requires you to set up the field in a way that produces the expected 
behavior. Or else 4.6.x should fix it so all references produce the 
expected result.

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

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

 

___
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: referring to object names stored in variables

2011-08-14 Thread Colin Holgate
It needs to cork when there is no selection. Imagine you're working with an 
editable field, and want to know what is selected when nothing is selected. It 
would be a problem if in that one case it gave an error. Maybe that's why it 
was fixed in 4.6.3.

The problem case in 4.6.3 seems to be that if you put something after a line, 
it's smart enough to realize you mean the new text is to be before the return 
character. With put text after selectedline the text goes after all the 
contents of the line, which includes the return character.


On Aug 14, 2011, at 5:55 PM, dunb...@aol.com wrote:

> This might be a disadvantage if you want to work when there is NO 
> selectedLine. You get one anyway.That is what the clickLine is for. Thanks a 
> lot.

___
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: referring to object names stored in variables

2011-08-14 Thread Colin Holgate
Cork? Must be that wine I'm drinking...

On Aug 14, 2011, at 6:42 PM, Colin Holgate wrote:

> It needs to cork when there is no selection.

___
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: referring to object names stored in variables

2011-08-14 Thread J. Landman Gay

On 8/14/11 5:42 PM, Colin Holgate wrote:


The problem case in 4.6.3 seems to be that if you put something after
a line, it's smart enough to realize you mean the new text is to be
before the return character. With put text after selectedline the
text goes after all the contents of the line, which includes the
return character.


Sounds like a bug, don't you think? BTW, I liked "cork", it made 
complete sense.


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

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


Re: [OT] Internet Censorship

2011-08-14 Thread Judy Perry
Perhaps you'd care to offer an example or three of "hobbyist" (notice that 
it is ALWAYS used in a demeaning manner) software done in LC that looks 
or behaves any crappier than stuff produced by "real" programmers in *any* 
language who've obviously never had a course in UI or UX design?


Judy
"the lowly dumb hobbyist"

On Sat, 13 Aug 2011, Pete wrote:



Just like recording software, using a programming language without the
required knowledge produces pretty lousy results.


___
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


player object problem on Win7

2011-08-14 Thread Nicolas Cueto
Hi.

A stack and its standalone version work fine in WinXP but not in Win7.

The problem relates to the player object. It's filename gets set to an
url on my webserver, and the url is a reference to an MP4 video. When
the Win7 version sets the player object to the filename, both the
stack in the IDE  and the standalone version slow down. The
stack/standalone are still active (eg, buttons are still clickable),
just very long wait times.

And I very much doubt the problem relates to firewalls or passwords,
since the stack also refers via url to jpg and txt files on the same
webserver and these get downloaded ok.

Any ideas?

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


Re: player object problem on Win7

2011-08-14 Thread Nicolas Cueto
Sorry to be replying to my own question.

A Win7 installation does not include QuickTime. And I've confirmed QT
is not installed on my machine.

If this lack of QT is the source of the problem, does this mean Win7
users of my LiveCode stacks must have QuickTime already installed?

If so, argh!  I hesitate installing QT to find out one way or the
other. Cause of how annoyingly persistent its update messages are.
Almost as bothersome as java's!

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


Re: player object problem on Win7

2011-08-14 Thread Scott Rossi
AFAIK, Neither LiveCode nor Windows has ever included a QuickTime installer.

In answer to your question, yes, to get the most functionality from a player, 
the user must have QuickTime installed.  Otherwise, playback features are quite 
limited.  This is why many of us have been requesting for years that the RunRev 
folks license a media player technology that could be included in the engine, 
rather than relying on QuickTime.  The media support available from QuickTime 
is great, but the need to install it is off-putting for many non-Mac users.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



On Aug 14, 2011, at 9:41 PM, Nicolas Cueto  wrote:

> Sorry to be replying to my own question.
> 
> A Win7 installation does not include QuickTime. And I've confirmed QT
> is not installed on my machine.
> 
> If this lack of QT is the source of the problem, does this mean Win7
> users of my LiveCode stacks must have QuickTime already installed?
> 
> If so, argh!  I hesitate installing QT to find out one way or the
> other. Cause of how annoyingly persistent its update messages are.
> Almost as bothersome as java's!
> 
> --
> 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


Re: Using revIgniter with on-rev and multiple sites/domains

2011-08-14 Thread Keith Clarke
...OK, thanks again Ralf - great to know that it's that easy!

I can feel a little LC script exercise - to teach myself about file renaming in 
nested folders - coming on. ;-)
Best,
Keith.. 

On 14 Aug 2011, at 21:54, Ralf Bitter wrote:

> Keith,
> 
> to use the latest version (1.4b) of revIgniter with the
> latest version of the server engine on On-Rev you
> currently need to change the extensions of all files to .lc
> (sorry for the inconvenience).
> Note: This applies to revIgniter installations on On-Rev only.
> 
> The next revIgniter version will include the .lc extension.
> 
> 
> Ralf
> 
> 
> 
> On 14.08.2011, at 21:52, Keith Clarke wrote:
> 
>> ...great, thanks Ralf - for the clarification and for creating and sharing 
>> the fantastic revIgniter resource.
>> 
>> BTW are there any additional setup steps needed for work with LiveCode 
>> Server and .lc files rather revServer .irev environment - for example, does 
>> index.irev change to index.lc?
>> Best,
>> Keith..
>> 
>> On 14 Aug 2011, at 20:12, Ralf Bitter wrote:
>> 
>>> Hi Keith,
>>> 
>>> every addon domain needs it's own revIgniter installation.
>>> So, the revIgniter files go into public_html/yourAddonDomain.
>>> 
>>> Hope this helps.
>>> 
>>> Ralf
>>> 
>>> 
>>> 
>>> On 14.08.2011, at 16:01, Keith Clarke wrote:
>>> 
 Hi folks,
 When using revIgniter for on-rev, across multiple addon domains, where 
 should the revIgniter files be installed? The revIgniter installation 
 instructions state, at lines:
 
 '2. Upload the revIgniter folders and files to your server. Normally the 
 index.irev file will be at your root.'
 
 '3. Open the application/config/config.irev file with a text editor and 
 set your base URL.
 
 The latter seems to imply a per-site implementation, so it seems that the 
 'root' cited in line 2 does not mean the docroot of mydom...@on-rev.com. 
 So, do the revIgniter files go into the addon domain's docroot or webroot 
 (public_html/)?
 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


___
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: referring to object names stored in variables

2011-08-14 Thread Keith Clarke
...just imagining the (slightly slurred and blurred) scene...

"Waiter, another bottle of the  Château LC àpres-ligne 4.6.3 - this one 
is corked!"

So, maybe it's not a bug - merely the after effects of the illicit substance 
you are eating with the wine. You know...  the, ahem... fromage ;-)
Best,
Keith..

On 14 Aug 2011, at 23:50, Colin Holgate wrote:

> Cork? Must be that wine I'm drinking...
> 
> On Aug 14, 2011, at 6:42 PM, Colin Holgate wrote:
> 
>> It needs to cork when there is no selection.
> 
> ___
> 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