Re: Passing parameters by reference

2012-03-13 Thread Dar Scott

On Mar 12, 2012, at 11:18 PM, Mark Wieder wrote:
 You'd have to somehow prevent the dereferencing of myArray[myKey] in
 order to pass it by reference.

Just as the dereferencing of x would have be be prevented to pass it as 
reference.  

Perhaps any mutable place is the same.

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


options for safe transfer of data to a server - ?

2012-03-13 Thread Curt Ford
My client wants to have a routine that records when a user first installs the 
project, by incrementing an item in a text file on his server. We've got it 
working well with ftp but I'm wondering if  whether sending the ftp login  
password over regular ftp is a security issue; some digging in the archives 
makes me think that sftp isn't an option yet. 

Would https:// be an option to write to a file on the server? Would that 
require that they have an SSL certificate?

Any ideas on a good way to handle this?

Curt


___
use-livecode mailing list
use-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: Slightly OT - LC in Keynote

2012-03-13 Thread Mike Bonner
Don't know how it would be accomplished, but apparently send to program
lets you do some interesting things, and since its based on
appletalk/applescript type of events, it might be possible to talk to a
separate running stack that way?

Obviously neither powerpoint nor keynote have the same verbiage, so they
can't send to program but they can tell application through
scripting so it might be worth a shot.  Wish I still had a mac so I could
try all these neat things.

On Mon, Mar 12, 2012 at 9:59 PM, Bob Earp rje...@hotmail.com wrote:

 Sorry if I confused you Bob, I wasn't suggesting you could run an LC
 (stand-alone) project in PowerPoint, but you can run a .swf file which can
 include interaction.

 As you say, I could create a link in Keynote to the stand-alone LC
 project, but was hoping somebody had done something whizzy with an
 ActionScript or something that had it more integrated.

 Kee, I need the interaction in the LC project, so unfortunately a QT movie
 won't do that, but it was a good idea, thanks...

 best, Bob...

 Bob Sneidar wrote:
  I have not heard that you can imbed an LC app into a PowerPoint
 presentation. Can you embed other apps in a PowerPoint presentation? LC is
 not a player, it's a runtime app. I suspect that if PowerPoint accepts file
 links, you could create a link that launched the LC app as a standalone,
 but then it would not be embedded per se.
 
  Bob

 Bob Earp
 White Rock, British Columbia.




 ___
 use-livecode mailing list
 use-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: Passing parameters by reference

2012-03-13 Thread Bob Sneidar
That is what passing an element to an array amounts to was my point. 

Bob


On Mar 12, 2012, at 5:39 PM, Pete wrote:

 I'm not sure whose post you're responding to Bob.  Where do you see
 something that amounts to a statement being passed as a referenced
 parameter?
 Pete
 
 On Mon, Mar 12, 2012 at 3:04 PM, Bob Sneidar b...@twft.com wrote:
 
 Just weighing in here, that would be a bit confusing. Passing by reference
 means that the command or function has access to the variable passed to it.
 By passing what amounts to a statement, there is nothing for LC to
 manipulate on the other end. Statements have to have some place to put the
 results. In this case, there is no place for LC to put the statement when
 passed by reference.
 
 Even a reference to an element of an array is a statement of sorts. That
 the command is in essence the characters for key delimiters [] doesn't
 change that. The array that is an element in a multidimensional array is
 not itself a container. The array is the container. To work with it you
 have to put it into it's own container then pass the new array by reference.
 
 I hope that makes sense. At least it does to me. :-)
 
 Bob
 
 
 On Mar 10, 2012, at 11:53 AM, Dar Scott wrote:
 
 Thanks for the tip, Dick, on using the list of keys.  One can think of
 arrays as nested or multidimensional.
 
 On Mar 10, 2012, at 1:06 AM, Dick Kriesel wrote:
 I agree it'd be good if LC could accept any array reference for
 invoking a handler that specifies pass-by-reference.
 
 Though is is probably more work, one might also consider chunks in
 pass-by-reference.
 
 Maybe any thing the subtract command can take.
 
 However, this might be a problem:
 
 doSomethingToTheseTwo char 1 to 2 of it, char 2 to 3 of it
 
 command doSomethingToTheseTwo @a, @b
  put butter into a
  put cheese into b
  put empty into a
 end doSomethingToTheseTwo
 
 That might also have a problem with this call:
 
 doSomethingToTheseTwo x, x[t]
 
 I immagine LiveCode folks can come up with a semantics that makes sense
 for weird cases.
 
 The subtract command does not have the the problem because it modifies
 only one thing.
 
 Dar
 
 
 ___
 use-livecode mailing list
 use-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
 
 
 
 
 -- 
 Pete
 Molly's Revenge http://www.mollysrevenge.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: Slightly OT - LC in Keynote

2012-03-13 Thread Bob Sneidar
Oh that is an interesting thought. But still, if the presentation is very 
complex just the writing of a stack that would respond to the Applescript 
commands would be a lot of work. 

Bob


On Mar 13, 2012, at 7:21 AM, Mike Bonner wrote:

 Don't know how it would be accomplished, but apparently send to program
 lets you do some interesting things, and since its based on
 appletalk/applescript type of events, it might be possible to talk to a
 separate running stack that way?


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


How do I execute a shell command?

2012-03-13 Thread Bill Vlahos
The docs say to execute a shell command you can do:
shell(ls -l *.txt)

However, this fails for me with:
Message execution error:
Error description: Handler: can't find handler
Hint: shell(ls

How do I run a shell command from inside LiveCode on a Mac?

The full solution I want to do is to run the id command as administrator so I 
could run sudo id but I want to prompt for a successful authentication.

I know how to do this in AppleScript so I could just call that but I would 
rather to it in LC.

Bill Vlahos

___
use-livecode mailing list
use-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: How do I execute a shell command?

2012-03-13 Thread Thierry Douez
2012/3/13 Bill Vlahos bvla...@mac.com

 The docs say to execute a shell command you can do:
 shell(ls -l *.txt)

 However, this fails for me with:
 Message execution error:
 Error description: Handler: can't find handler
 Hint: shell(ls

 How do I run a shell command from inside LiveCode on a Mac?


Umm, could it be that you missed catching the shell() result?

i.e:put shell(...) into x

HTH,

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


Scott

2012-03-13 Thread Jim Hurley
Thanks Scott and Colin,

LiveCode and this list make it sooo easy. It is almost embarrassing.

Does anyone know what program, if there is ONE, that opens when you double 
click on a jpg or png image in Windows?

What happens when you click on an image.jpg? Does Windows present options?


Jim



 
 Message: 17
 Date: Mon, 12 Mar 2012 14:00:43 -0800
 From: Scott Rossi sc...@tactilemedia.com
 To: LiveCode Mail List use-livecode@lists.runrev.com
 Subject: Re: Exporting a snapshot directly to Preview
 Message-ID: cb83b20b.5b07d%sc...@tactilemedia.com
 Content-Type: text/plain; charset=US-ASCII
 
 Hi Jim:
 
 Here's an example for OS X:
 
 on mouseUp
   put specialFolderPath(desktop)  /exported.png into theFilePath
   export snapshot from img 1 to file theFilePath as PNG
   launch theFilePath with /Applications/Preview.app
 end mouseUp
 
 You can choose whatever image format you need, and you should probably make
 the script more robust by checking for the existence/path of the Preview
 app, confirm overwriting of the exported file, etc.
 
 For Windows, you might be able to use MS Paint but I haven't tested this.
 
 Hope this helps.
 
 Regards,
 
 Scott Rossi
 Creative Director
 Tactile Media, UX Design
 
 


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


Re: Exporting a snapshot directly to Preview

2012-03-13 Thread Jim Hurley
(Forgot the Subject line.)

Thanks Scott and Colin,

LiveCode and this list make it sooo easy. It is almost embarrassing.

Does anyone know what program, if there is ONE, that opens when you double 
click on a jpg or png image in Windows?

What happens when you click on an image.jpg? Does Windows present options?


Jim



 
 Message: 17
 Date: Mon, 12 Mar 2012 14:00:43 -0800
 From: Scott Rossi sc...@tactilemedia.com
 To: LiveCode Mail List use-livecode@lists.runrev.com
 Subject: Re: Exporting a snapshot directly to Preview
 Message-ID: cb83b20b.5b07d%sc...@tactilemedia.com
 Content-Type: text/plain; charset=US-ASCII
 
 Hi Jim:
 
 Here's an example for OS X:
 
 on mouseUp
  put specialFolderPath(desktop)  /exported.png into theFilePath
  export snapshot from img 1 to file theFilePath as PNG
  launch theFilePath with /Applications/Preview.app
 end mouseUp
 
 You can choose whatever image format you need, and you should probably make
 the script more robust by checking for the existence/path of the Preview
 app, confirm overwriting of the exported file, etc.
 
 For Windows, you might be able to use MS Paint but I haven't tested this.
 
 Hope this helps.
 
 Regards,
 
 Scott Rossi
 Creative Director
 Tactile Media, UX Design
 
 


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


Re: Externals

2012-03-13 Thread Pete
Thank you Francois.
Pete

2012/3/12 François Chaplais francois.chapl...@mines-paristech.fr

 try
 http://www.runrev.com/newsletter/november/issue13/newsletter5.php
 and
 http://www.runrev.com/newsletter/november/issue14/newsletter3.php
 Best regards,
François
 Le 12 mars 2012 à 22:53, Pete a écrit :

  The Reference Manual includes a link to get the externals developer kit
 and
  also a couple of links to tutorials for writing externals. None of them
  work (error 404's).
 
  Can someone point me to where I can get the kit and review the tutorials?
 
  Thanks,
 
 
  --
  Pete
  Molly's Revenge http://www.mollysrevenge.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




-- 
Pete
Molly's Revenge http://www.mollysrevenge.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: options for safe transfer of data to a server - ?

2012-03-13 Thread stephen barncard
simple ftp has no security for world accessible web sites. I just had all
my sites compromised by Pakistani hackers, and will be spending much of the
next two days cleaning up. I have since repented and am using SFTP with
Dreamhost.

But that doesn't help those that want to use Livecode FTP.

There are external solutions that are used by Andre and Trevor, but are a
bit more complicated and I haven't tried them.

One of those many feature requests pending.

On 13 March 2012 05:42, Curt Ford cf...@mailbox.sc.edu wrote:

 My client wants to have a routine that records when a user first installs
 the project, by incrementing an item in a text file on his server. We've
 got it working well with ftp but I'm wondering if  whether sending the ftp
 login  password over regular ftp is a security issue; some digging in the
 archives makes me think that sftp isn't an option yet.

 Would https:// be an option to write to a file on the server? Would that
 require that they have an SSL certificate?

 Any ideas on a good way to handle this?

 Curt


 ___
 use-livecode mailing list
 use-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  http://www.google.com/profiles/sbarncar
___
use-livecode mailing list
use-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: Sqlite and performances in LiveCode

2012-03-13 Thread Trevor DeVore
On Mon, Mar 12, 2012 at 8:17 PM, Pete p...@mollysrevenge.com wrote:

 Thanks for making that change.

 I've been following up a bit more on the behavior of GetDataForLine being
 called in repeated cycles for the number of lines in the datagrid.  As a
 reminder, the datagrid has 11 visible lines, GetDataForLine gets called
 once for lines 1-12, then a second time for lines 1-2 again, and
 occasionally a third time for lines 1-2.

 I think I know the reason this is happening.

 The first GetDataForLine cycle happens when I set the dgProps[Columns]
 property of the datagrid.

 The second cycle happens when I set the dgNumberOfRecords property.

 There's a possible third cycle because sometimes I set the dgProps[Sort By
 Column] property.

 I have tried setting the dgNumberOfRecords to empty, zero, or NULL before
 any of the above properties are changed but it doesn't seem to make any
 difference.


If you have the dgNumberOfRecords set to a positive number then that makes
sense as the data grid has to redraw.

If the dgNumberOfRecords is set to 0 (and messages aren't locked when
setting it) then I'm not sure why that is. Setting the dgNumberOfRecords to
0 should do the trick as it empties out the internal sDataArray array.
GetDataForLine is only sent if an entry in the sDataArray array is NULL.

-- 
Trevor DeVore
Blue Mango Learning Systems
www.clarify-it.com-www.screensteps.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: Exporting a snapshot directly to Preview

2012-03-13 Thread Colin Holgate
My variation of the syntax leaves it up to the system to open the file. It 
would be wrong of you to predetermine that a user sees the document in any 
particular program. Just leave off the part where you set the app to use, and 
the system will take care of that for you.


On Mar 13, 2012, at 1:24 PM, Jim Hurley wrote:

 Does anyone know what program, if there is ONE, that opens when you double 
 click on a jpg or png image in Windows?

___
use-livecode mailing list
use-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: options for safe transfer of data to a server - ?

2012-03-13 Thread Alex Tweedly
ftp is indeed a security problem, and sftp is not (easily) available - 
needs externals, or command line usage, etc.


https:// would be an option - but he would need an ssl cert.

However, if the item to be uploaded is small (sounds like it is), then 
you can do it very safely and easily, just as a get URL with the 
parameters encrypted from within LC.


LC on the client machine (pseudo code):
   put My machine has been installed  tMyName  tMyOtherData into 
tDataToSendToServer

   encrypt tDataToSendToServer with des using password mysecretpassword
   put it into tData
   put http://my.domain.com/registerinstall.lc?data=;  
urlencode(tData) into tURL

   get URL (tURL)

(and of course, make sure that you keep the password safe, only do this 
within a protected stack, etc.



and on the server, you simply take the data passed, urldecode it, 
decrypt it (with the same secretpasword) and log it to the file.



There is a tiny insecurity here - someone could flood you with bad URL 
gets and grow you logfile out of control - which can easily be avoided 
by passing a security check, e.g. ( add this code immediately before the 
get URL above)


   put the seconds into tTime
   encrypt tTime with des using password mysecretpassword
   put it into tEncTime
   put ?time=  tTime  enctime=  tEncTime after tURL

and then on the server, verify that the enctime value can be decrypted 
to get the time value; only save the data if that matches OK.


-- Alex.

On 13/03/2012 12:42, Curt Ford wrote:

My client wants to have a routine that records when a user first installs the 
project, by incrementing an item in a text file on his server. We've got it working 
well with ftp but I'm wondering if  whether sending the ftp login  password 
over regular ftp is a security issue; some digging in the archives makes me think 
that sftp isn't an option yet.

Would https:// be an option to write to a file on the server? Would that 
require that they have an SSL certificate?

Any ideas on a good way to handle this?

Curt


___
use-livecode mailing list
use-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: options for safe transfer of data to a server - ?

2012-03-13 Thread Pierre Sahores
Hi,

The sole solution i know is to own a dedicated server and to access it in SSH 
tunneling (SFTP) mode with only some open ports 22, 25, 80, 443, etc... you can 
tune as you want as long as you take care to keep the unwanted ports closed 
(alike FTP = 21).

There are probably ways to tune SFTP to let multiple users use it on a shared 
server but i did't try to setup this kind of config for yet.

Kind regards,
--
Pierre Sahores
mobile : 06 03 95 77 70
www.spimsco.net : la première solution saas open source et commerciale de 
développement sémantique préprogrammé

Le 13 mars 2012 à 18:43, stephen barncard a écrit :

 simple ftp has no security for world accessible web sites. I just had all
 my sites compromised by Pakistani hackers, and will be spending much of the
 next two days cleaning up. I have since repented and am using SFTP with
 Dreamhost.
 
 But that doesn't help those that want to use Livecode FTP.
 
 There are external solutions that are used by Andre and Trevor, but are a
 bit more complicated and I haven't tried them.
 
 One of those many feature requests pending.
 
 On 13 March 2012 05:42, Curt Ford cf...@mailbox.sc.edu wrote:
 
 My client wants to have a routine that records when a user first installs
 the project, by incrementing an item in a text file on his server. We've
 got it working well with ftp but I'm wondering if  whether sending the ftp
 login  password over regular ftp is a security issue; some digging in the
 archives makes me think that sftp isn't an option yet.
 
 Would https:// be an option to write to a file on the server? Would that
 require that they have an SSL certificate?
 
 Any ideas on a good way to handle this?
 
 Curt
 
 
 ___
 use-livecode mailing list
 use-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  http://www.google.com/profiles/sbarncar
 ___
 use-livecode mailing list
 use-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


Cyberduck versus Flow

2012-03-13 Thread Francis Nugent Dixon

Hi from Beautiful Brittany,

Maybe a little outside LiveCode discussions, but
I want the best app to upload my files to my On-Rev
server.

I was happy with FileZilla, then I found Cyberduck which
really makes me happy, now I see Flow which seems to
beat all the FTP apps hands down (cheap at $4.99).

Can I get some feedback from Cyberduck/Flow users to
help me decide whether to go with the flow (pun intended !)

-Francis

Windows is, and always was, a succession of panes !

___
use-livecode mailing list
use-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: Cyberduck versus Flow

2012-03-13 Thread Mark Schonewille
Hi Francis,

I tried CyberDuck but it messed up my file names if they contained special 
characters. I have no experience with Flow. I still use FileZilla, which has a 
very clumsy interface but works correctly.

--
Best regards,

Mark Schonewille

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

Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za

On 13 mrt 2012, at 20:01, Francis Nugent Dixon wrote:

 Hi from Beautiful Brittany,
 
 Maybe a little outside LiveCode discussions, but
 I want the best app to upload my files to my On-Rev
 server.
 
 I was happy with FileZilla, then I found Cyberduck which
 really makes me happy, now I see Flow which seems to
 beat all the FTP apps hands down (cheap at $4.99).
 
 Can I get some feedback from Cyberduck/Flow users to
 help me decide whether to go with the flow (pun intended !)
 
 -Francis
 
 Windows is, and always was, a succession of panes !


___
use-livecode mailing list
use-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: Cyberduck versus Flow

2012-03-13 Thread Charles E Buchwald
Hi Francis,
I've used Cyberduck for a couple of years, and like it very much.
Used to use FileZilla, but as Mark said, it's a clumsy interface.
Haven't tried Flow.
- Charles

On 2012-03-13, at 1:19 PM, Mark Schonewille wrote:

 Hi Francis,
 
 I tried CyberDuck but it messed up my file names if they contained special 
 characters. I have no experience with Flow. I still use FileZilla, which has 
 a very clumsy interface but works correctly.
 
 --
 Best regards,
 
 Mark Schonewille
 
 Economy-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: http://twitter.com/xtalkprogrammer
 KvK: 50277553
 
 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za
 
 On 13 mrt 2012, at 20:01, Francis Nugent Dixon wrote:
 
 Hi from Beautiful Brittany,
 
 Maybe a little outside LiveCode discussions, but
 I want the best app to upload my files to my On-Rev
 server.
 
 I was happy with FileZilla, then I found Cyberduck which
 really makes me happy, now I see Flow which seems to
 beat all the FTP apps hands down (cheap at $4.99).
 
 Can I get some feedback from Cyberduck/Flow users to
 help me decide whether to go with the flow (pun intended !)
 
 -Francis
 
 Windows is, and always was, a succession of panes !
 
 
 ___
 use-livecode mailing list
 use-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: Cyberduck versus Flow

2012-03-13 Thread Keith Clarke
...I've used Panic's Transmit for the last 10 years and see no need to change.
Best,
Keith..

On 13 Mar 2012, at 19:22, Charles E Buchwald wrote:

 Hi Francis,
 I've used Cyberduck for a couple of years, and like it very much.
 Used to use FileZilla, but as Mark said, it's a clumsy interface.
 Haven't tried Flow.
 - Charles
 
 On 2012-03-13, at 1:19 PM, Mark Schonewille wrote:
 
 Hi Francis,
 
 I tried CyberDuck but it messed up my file names if they contained special 
 characters. I have no experience with Flow. I still use FileZilla, which has 
 a very clumsy interface but works correctly.
 
 --
 Best regards,
 
 Mark Schonewille
 
 Economy-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: http://twitter.com/xtalkprogrammer
 KvK: 50277553
 
 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za
 
 On 13 mrt 2012, at 20:01, Francis Nugent Dixon wrote:
 
 Hi from Beautiful Brittany,
 
 Maybe a little outside LiveCode discussions, but
 I want the best app to upload my files to my On-Rev
 server.
 
 I was happy with FileZilla, then I found Cyberduck which
 really makes me happy, now I see Flow which seems to
 beat all the FTP apps hands down (cheap at $4.99).
 
 Can I get some feedback from Cyberduck/Flow users to
 help me decide whether to go with the flow (pun intended !)
 
 -Francis
 
 Windows is, and always was, a succession of panes !
 
 
 ___
 use-livecode mailing list
 use-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: Cyberduck versus Flow

2012-03-13 Thread Richmond

Personally I've been using Cyberduck for about 5 years, and
don't understand the comments about its clumsy interface;
all seems remarkably straightforward to me.

Experience with almost all other FTP clients seems to fall
short of Cyberduck.

But, Hey, I'm talking about sending stuff from my PPC macMini running 10.4,
so don't take my word as far as the latest thang goes.

Richmond.

___
use-livecode mailing list
use-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: Cyberduck versus Flow

2012-03-13 Thread Scott Rossi
Hi Francis:

If you want cheap, Flow is on sale at the moment, so it is a great deal.
I've used it a bit, though not with On_Rev, and it has worked fine.

If you're looking specifically for a Mac solution -- there are other FTP
tools that have been around for a while but cost more:
Fetch - http://fetchsoftworks.com/fetch/
Transmit - http://www.panic.com/transmit/

One thing you might want to consider is a combination code-editor/FTP app
like Panic's Coda or MacRabbit's Espresso.  You edit your code locally and
then upload from the same interface.  Espresso has an option that can
automatically upload your page every time you save locally, which is a great
timesaver in some situations.  I have been using Espresso for a while now,
and while it sometimes need to be refreshed with On-Rev, I love it.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design




Recently, Francis Nugent Dixon wrote:

 Hi from Beautiful Brittany,
 
 Maybe a little outside LiveCode discussions, but
 I want the best app to upload my files to my On-Rev
 server.
 
 I was happy with FileZilla, then I found Cyberduck which
 really makes me happy, now I see Flow which seems to
 beat all the FTP apps hands down (cheap at $4.99).
 
 Can I get some feedback from Cyberduck/Flow users to
 help me decide whether to go with the flow (pun intended !)
 
 -Francis
 
 Windows is, and always was, a succession of panes !
 
 ___
 use-livecode mailing list
 use-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: Cyberduck versus Flow

2012-03-13 Thread Andre Garzia
Francis,

I like both Interarchy and Transmit

http://nolobe.com
http://panic.com

These days I am using Transmit.

=)

On Tue, Mar 13, 2012 at 4:01 PM, Francis Nugent Dixon effe...@wanadoo.frwrote:

 Hi from Beautiful Brittany,

 Maybe a little outside LiveCode discussions, but
 I want the best app to upload my files to my On-Rev
 server.

 I was happy with FileZilla, then I found Cyberduck which
 really makes me happy, now I see Flow which seems to
 beat all the FTP apps hands down (cheap at $4.99).

 Can I get some feedback from Cyberduck/Flow users to
 help me decide whether to go with the flow (pun intended !)

 -Francis

 Windows is, and always was, a succession of panes !

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




-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening 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: Cyberduck versus Flow

2012-03-13 Thread Pete
I use Cyberduck and Taco HTML Edit together to get the benefits of the
combined editor/ftp.  Cyberduck detetcs the presence of Taco on your
computer and includes a contextual menu item to download a file into Taco,
then when you save it in Taco it automatically upload to the server again.
Pete

On Tue, Mar 13, 2012 at 1:40 PM, Scott Rossi sc...@tactilemedia.com wrote:

 Hi Francis:

 If you want cheap, Flow is on sale at the moment, so it is a great deal.
 I've used it a bit, though not with On_Rev, and it has worked fine.

 If you're looking specifically for a Mac solution -- there are other FTP
 tools that have been around for a while but cost more:
 Fetch - http://fetchsoftworks.com/fetch/
 Transmit - http://www.panic.com/transmit/

 One thing you might want to consider is a combination code-editor/FTP app
 like Panic's Coda or MacRabbit's Espresso.  You edit your code locally and
 then upload from the same interface.  Espresso has an option that can
 automatically upload your page every time you save locally, which is a
 great
 timesaver in some situations.  I have been using Espresso for a while now,
 and while it sometimes need to be refreshed with On-Rev, I love it.

 Regards,

 Scott Rossi
 Creative Director
 Tactile Media, UX Design




 Recently, Francis Nugent Dixon wrote:

  Hi from Beautiful Brittany,
 
  Maybe a little outside LiveCode discussions, but
  I want the best app to upload my files to my On-Rev
  server.
 
  I was happy with FileZilla, then I found Cyberduck which
  really makes me happy, now I see Flow which seems to
  beat all the FTP apps hands down (cheap at $4.99).
 
  Can I get some feedback from Cyberduck/Flow users to
  help me decide whether to go with the flow (pun intended !)
 
  -Francis
 
  Windows is, and always was, a succession of panes !
 
  ___
  use-livecode mailing list
  use-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




-- 
Pete
Molly's Revenge http://www.mollysrevenge.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: Cyberduck versus Flow

2012-03-13 Thread Jerry Jensen
Francis,
Not exactly what you asked, but I'm using Fetch. I like it fine, but next time 
I have to pay for an upgrade, i plan to go to CyberDuck.
.Jerry

On Mar 13, 2012, at 12:01 PM, Francis Nugent Dixon wrote:

 Hi from Beautiful Brittany,
 
 Maybe a little outside LiveCode discussions, but
 I want the best app to upload my files to my On-Rev
 server.
 
 I was happy with FileZilla, then I found Cyberduck which
 really makes me happy, now I see Flow which seems to
 beat all the FTP apps hands down (cheap at $4.99).
 
 Can I get some feedback from Cyberduck/Flow users to
 help me decide whether to go with the flow (pun intended !)



___
use-livecode mailing list
use-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: Cyberduck versus Flow

2012-03-13 Thread Bill Vlahos
Mark,

I've used Cyberduck for years and have really liked it…until recently. The 
newer versions sometimes messes up my files when I upload them to the web site. 
Most files work fine but some don't that used to. I've reported it to the 
vendor who cannot reproduce the problem.

I've been using Fetch instead which works fine although I prefer Cyberduck.

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

On Mar 13, 2012, at 12:19 PM, Mark Schonewille wrote:

 Hi Francis,
 
 I tried CyberDuck but it messed up my file names if they contained special 
 characters. I have no experience with Flow. I still use FileZilla, which has 
 a very clumsy interface but works correctly.
 
 --
 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: Passing parameters by reference

2012-03-13 Thread Dar Scott
Hi, Bob!

On Mar 13, 2012, at 9:37 AM, Bob Sneidar wrote:
 That is what passing an element to an array amounts to was my point. I think 
 what you are calling a statement many will call an expression.  

This concern is understandable.  However, I think we can distinguish between an 
expression that means a value and an expression that means a mutable place.  We 
have this distinction in LiveCode.

The expression '4 + a' can be used only as a value.  The expression a[3] can be 
used as a value or a mutable place.  That value is what is contained in that 
mutable place.  That mutable place is called a container in HyperCard.

We can't say 'put 7 into 4+a' but we can say 'put 7 into a[3]'.

The concept has strong HyperCard and LiveCode precedence.  We can say 'put 3 
into char 2 of item 6 of a'.  A chunk is a container.

Allowing @ parameters to refer to containers and not just variables can create 
some implementation challenges, perhaps, even some documentation challenges, 
but it does open the door to commands that can be used to, say, capitalize the 
value of containers.  I would hope the conceptual challenges in use would only 
apply to advanced users doing weird things.  

In the simplest case, the extension would replace variable with container 
in the description of @.  

I come from a background in functional programming in which just about 
everything is a value and not a container, but I have embraced the language 
used in LiveCode and the ability to modify things in ways besides replacing 
variable values and replacing properties.  

Dar
___
use-livecode mailing list
use-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: Sqlite and performances in LiveCode

2012-03-13 Thread Jérôme Rosat
Thank you very much Trevor. On my iMac 2.8 GHz Intel Core 2 Duo with LiveCode 
5.0.2:

Opening movies cursor took 274 milliseconds
---
Drawing list took 126 milliseconds
---

Really impressive compared to previous results !

Jérôme

Le 12 mars 2012 à 15:01, Trevor DeVore a écrit :

 
 I've updated the stack to use the new technique. You can download it from
 the same url. I'm on a faster machine testing but here are the times I get:
 
 Opening movies cursor took 150 milliseconds
 
 ---
 
 Drawing list took 81 milliseconds
 
 ---
 
 
 -- 
 Trevor DeVore
 Blue Mango Learning Systems
 www.clarify-it.com-www.screensteps.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: Sqlite and performances in LiveCode

2012-03-13 Thread Pete
Hi Trevor,
OK, found the problem.  I had a set dgProps[sort by column] statement
after setting the dgNUmberOfRecords.  Moved that to a place where
dgNumberOfRecords is zero and only one cycle of GetDataForLine happens now.

Thanks for the help in tracking it down.  There are a lot of nuances to
using dgNumberOfRecords!

Pete

On Tue, Mar 13, 2012 at 10:49 AM, Trevor DeVore
li...@mangomultimedia.comwrote:

 If you have the dgNumberOfRecords set to a positive number then that makes
 sense as the data grid has to redraw.

 If the dgNumberOfRecords is set to 0 (and messages aren't locked when
 setting it) then I'm not sure why that is. Setting the dgNumberOfRecords to
 0 should do the trick as it empties out the internal sDataArray array.
 GetDataForLine is only sent if an entry in the sDataArray array is NULL.




-- 
Pete
Molly's Revenge http://www.mollysrevenge.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


Filter probelm

2012-03-13 Thread Pete
Unless I'm doing something wrong, filter tvar without tab doesn't work,
that is the lines with a tab remain in tvar after the filter command.

Suer would be nice to have that work when dynamically building the contents
of a popup menu with indented lines in it...


-- 
Pete
Molly's Revenge http://www.mollysrevenge.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: Filter probelm

2012-03-13 Thread Terry Judd

On 14/03/2012, at 02:52 PM, Pete wrote:

Unless I'm doing something wrong, filter tvar without tab doesn't work,
that is the lines with a tab remain in tvar after the filter command.

Suer would be nice to have that work when dynamically building the contents
of a popup menu with indented lines in it...

That would only work if the lines you wanted to filter out only contained a tab 
character. If they contain other stuff then you need one of the following...

filter tvar without (*tab*) -- if the tab can be anywhere in the line
filter tvar without (tab*) -- if the tab is at the start of the line, or
filter tvar without (*tab) -- if the tab is at the end of the line

Terry...

--
Pete
Molly's Revenge http://www.mollysrevenge.com
___
use-livecode mailing list
use-livecode@lists.runrev.commailto:use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Dr Terry Judd
Senior Lecturer in Medical Education
Medical Eduction Unit
Faculty of Medicine, Dentistry  Health Sciences
The University of Melbourne



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


[ANN] iOS document interaction external added to mergExt

2012-03-13 Thread Monte Goulding
Hi LiveCoders

mergExt (http://mergext.com) has grown again with a new external called 
mergDoc. The suite now includes 8 externals: barcode reading, video recording, 
extended file attributes, iAd banners and more.

mergDoc is an iOS external that adds functions and commands related to document 
interaction. This currently includes presenting a modal preview, open in app 
menu, document options menu and requesting the document icons in PNG form. 
Printing is also available via the preview. mergDoc with 29% of the vote came 
in a close second in the poll to MapKit. There's a new poll up now but clearly 
MapKit is next on the hit list.

Users can now also participate in the mergExt affiliate program to get a free 
month of updates for every sale. Once logged in you will see the referral url 
above the poll.

Don't forget to vote for what you want next! If you want something that's not 
on the poll then add it to the Ideas topic in the mergExt forum.

Monte Goulding
--
M E R Goulding
Software development services
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode