[OT] What does Richmond do with Livecode?

2012-10-01 Thread FlexibleLearning.com
Add me to the club of non-members.

:)


Hugh Senior
FLCo



On 9/30/12 8:57 PM, Jeff Reynolds wrote:
 Jacquiline,

 so glad to hear you are one of the unsocial out there, makes me feel in
good company!

Hey, we could start an online club...

:)


 jeff


 On Sep 30, 2012, at 6:14 PM, use-livecode-requ...@lists.runrev.com wrote:

 Those of us who do not want to be involved with Facebook for any reason
 will never know what he did.


___
use-livecode mailing list
use-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: Storing location for a preferences file in a standalone stack?

2012-10-01 Thread Klaus on-rev
Hi Andre,

Am 30.09.2012 um 22:02 schrieb Andre Garzia an...@andregarzia.com:

 This works on the Mac:
 specialfolderpath(asup) - ~/Library/Application Support
 
 Klaus,
 
 specialfolderpath(asup) returns the system wide Application Support
 folder and not the users Application Support folder. If you are using
 specialfolderpath(asup) then you will need a put '~' before it.

oops, yes, my fault :-/
Sure you are correct! 

 Cheers
 andre

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: Bug or just something you can't do ?

2012-10-01 Thread Alex Tweedly


Thanks Mark - that's a great solution for a one-liner, or even for a 2- 
or 3- liner, but not practical for a real=life, multi-line handler.


(And as a purist I'd mention that it implements call-by-name not 
call-by-reference, to the sound of Algol reference papers 'thunk'ing 
onto my desk :-)


See the result of

on mouseUp
   local X, J
   put 1 into J
   put 1 into x[1]
   put 7 into X[2]
   inc x[J], J // use quotes instead of @
   put x[1]  x[2]
end mouseUp

on inc x, t
   local myContext

   put line -1 of the executionContexts into myContext
   set the debugContext to line -2 of the executionContexts
   debugDo (add 1 to  t)
   debugDo (add 1 to  x)
   set the debugContext to myContext
end inc

call-by-ref would have given 2 7 but here we get 1 8

Thanks again
-- Alex.

On 01/10/2012 00:32, Mark Schonewille wrote:

This:

on foo
  put 1 into x[1
  inc x[1] // use quotes instead of @
  put x[1]
end foo

on inc x
  put line -1 of the executionContexts into myContext
  set the debugContext to line -2 of the executionContexts
  debugDo (add 1 to  x)
  set the debugContext to myContext
end inc

--
Best regards,

Mark Schonewille

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

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour 
spaces. http://www.color-converter.com



So we have a question:  if enough folks find this sort of suggested syntax 
useful, by what syntactic means could we tell the interpreter not to evaluate 
the argument?

--
Richard Gaskin
Fourth World
LiveCode training and consulting: http://www.fourthworld.com
Webzine for LiveCode developers: http://www.LiveCodeJournal.com
Follow me on Twitter:  http://twitter.com/FourthWorldSys


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



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


Re: [OT] What does Richmond do with Livecode?

2012-10-01 Thread Colin Holgate
Call it The Buttbook at first, then drop the The after talking to Justin 
Timberlake. Call the movie version of the story Antisocial Network.


On Oct 1, 2012, at 12:07 AM, Roger Guay i...@mac.com wrote:

 I have this idea for people who hate Facebook . . . sort of like an 
 anti-Facebook. I call it ButtBook . . . for the anti-social. I'm working on 
 it. Any ideas to contribute?

___
use-livecode mailing list
use-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] What does Richmond do with Livecode?

2012-10-01 Thread Magicgate Software - Skip Kimpel
I just downloaded the demo software and tested it on a Windows 7
machine.  A couple of observations and questions  For some reason
when you launch it under Win7, it takes forever for the software to
appear.  I see it sitting in the process section of the Windows task
manager for a good minute before it shows it's face. Second, it would
be really nice to see the software wrapped up into some type of an
installer.

That leads me to my question:  Is there a way in LC, or the installer
method that I mentioned above, to install the required fonts for the
end user.  It just seems like a step that is not needed for the end
user.

SKIP

On Mon, Oct 1, 2012 at 8:31 AM, Colin Holgate co...@verizon.net wrote:
 Call it The Buttbook at first, then drop the The after talking to Justin 
 Timberlake. Call the movie version of the story Antisocial Network.


 On Oct 1, 2012, at 12:07 AM, Roger Guay i...@mac.com wrote:

 I have this idea for people who hate Facebook . . . sort of like an 
 anti-Facebook. I call it ButtBook . . . for the anti-social. I'm working on 
 it. Any ideas to contribute?

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

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


Re: [OT] What does Richmond do with Livecode?

2012-10-01 Thread Richmond

On 10/01/2012 03:57 PM, Magicgate Software - Skip Kimpel wrote:

I just downloaded the demo software and tested it on a Windows 7
machine.  A couple of observations and questions  For some reason
when you launch it under Win7, it takes forever for the software to
appear.


That is pretty alarming. Unfortunately I do not, right now, have a 
machine running Windows 7 to test on.



  I see it sitting in the process section of the Windows task
manager for a good minute before it shows it's face. Second, it would
be really nice to see the software wrapped up into some type of an
installer.

That leads me to my question:  Is there a way in LC, or the installer
method that I mentioned above, to install the required fonts for the
end user.


I doubt whether LC can do that by itself.


  It just seems like a step that is not needed for the end
user.

SKIP





___
use-livecode mailing list
use-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] What does Richmond do with Livecode?

2012-10-01 Thread Guglielmo Braguglia

Hi Richmond,
get a look to Mark installer plugin for LiveCode ... here : 
http://www3.economy-x-talk.com/file.php?node=installer-maker-for-lc


Probably can do all, including installing fonts ;-)

Guglielmo


On 01.10.2012 15:17, Richmond wrote:

On 10/01/2012 03:57 PM, Magicgate Software - Skip Kimpel wrote:

I just downloaded the demo software and tested it on a Windows 7
machine.  A couple of observations and questions  For some reason
when you launch it under Win7, it takes forever for the software to
appear.


That is pretty alarming. Unfortunately I do not, right now, have a 
machine running Windows 7 to test on.



  I see it sitting in the process section of the Windows task
manager for a good minute before it shows it's face. Second, it would
be really nice to see the software wrapped up into some type of an
installer.

That leads me to my question:  Is there a way in LC, or the installer
method that I mentioned above, to install the required fonts for the
end user.


I doubt whether LC can do that by itself.


  It just seems like a step that is not needed for the end
user.

SKIP





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

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




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


Re: [OT] What does Richmond do with Livecode?

2012-10-01 Thread Magicgate Software - Skip Kimpel
Richmond, just curious, which version of LC did you compile your
executable with?

SKIP

On Mon, Oct 1, 2012 at 9:17 AM, Richmond richmondmathew...@gmail.com wrote:
 On 10/01/2012 03:57 PM, Magicgate Software - Skip Kimpel wrote:

 I just downloaded the demo software and tested it on a Windows 7
 machine.  A couple of observations and questions  For some reason
 when you launch it under Win7, it takes forever for the software to
 appear.


 That is pretty alarming. Unfortunately I do not, right now, have a machine
 running Windows 7 to test on.


   I see it sitting in the process section of the Windows task
 manager for a good minute before it shows it's face. Second, it would
 be really nice to see the software wrapped up into some type of an
 installer.

 That leads me to my question:  Is there a way in LC, or the installer
 method that I mentioned above, to install the required fonts for the
 end user.


 I doubt whether LC can do that by itself.


   It just seems like a step that is not needed for the end
 user.

 SKIP




 ___
 use-livecode mailing list
 use-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


iOS Keyboard input question

2012-10-01 Thread Graham Samuel
I'm working on an iOS app where keyboard input is allowed for a set of fields 
shown on the screen of the device: some are still visible when the keyboard 
comes up, i.e. not hidden by the keyboard - this is by design. These 
single-line fields are locked, with TraversalOn true, since in iOS you can't 
type directly into a field but have to do it via the system keyboard.

What the user does is to touch a field which he/she wants to update. This 
triggers a data entry sequence starting with a 'focusIn' handler which brings 
up the keyboard and a particular screen area (a pseudo-field really) to type 
into, as per the current LC iOS documentation. After input, the user touches 
'Done' and this triggers a 'inputEndEditing' handler which allows my script to 
look at the text which has been input, verify it, put it away in the original 
field which started the sequence, and remove the keyboard by making it 
invisible. So far so good.

However, what I find a typical user wants to do is to bypass the 'Done' key 
after doing the initial input and instead simply touch another field that needs 
updating and is not obscured by the keyboard. This, I find, does fire 
'focusIn', but the keyboard display goes wrong. What I want to happen is for my 
'inputEndEditing' actions to take place normally for the initial field, 
including (momentary) closing of the keyboard, followed immediately by the 
'normal' action for the second field to be touched. (I need the keyboard to be 
replaced between actions since sometimes I want a text keyboard and sometimes a 
numeric one.)

I have tried detecting when the second touch takes place and then sending or 
calling 'inputEndEditing' at that point, but I can't get this to work. Possibly 
this is because the whole script is taking place within a behavior which means 
I don't know where the 'send' should go to retain local variables.

I am trying different solutions and may crack it on my own, but I'd be grateful 
for any advice about how anyone else has tackled this.

TIA

Graham

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


Datagrid's scroll bar thumb moves but data doesn't.

2012-10-01 Thread James Hale
I have a datagrid form that I have filled from an array using the 
GetDataForLine callback.

When I call my handler to populate the DG it does so fine...except...

The data visible in the DG group appears but is frozen.
There is a vertical scrollbar present as I have more records than can be 
displayed.
I can scroll within the DG and the scrollbar thumb moves up and down as 
expected.
The visible data however just sits there, frozen.
Following the example stack from the Livecode site I have set a local variable 
to be the ID of the record line in question and sure enough Double clicking 
on a row returns the ID of the row, as expected.

So it all seems to work except I can't scroll the data past what is initially 
shown.

I have 222 lines of data but only the first 10 show.

I don't even know,where to look.

Any ideas would be greatly appreciated.

James
___
use-livecode mailing list
use-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: resizing datagrids on mobile

2012-10-01 Thread Bob Sneidar
Whenever resizing, may I humbly suggest starting with a default set of sizes, 
and always resizing from that instead of resizing from a previous resize. 
Rounding math is an ugly beast. 

Bob


On Sep 30, 2012, at 1:52 PM, Monte Goulding wrote:

 Hi Andre
 
 It's not that complicated. Just resize everything on the template and reset 
 the datagrid. Any use of pixels in your layout script needs to be altered to 
 add a scaling factor but other than that your good. You also need to change 
 the line height if you have a fixed height form. I haven't tested this with 
 tables yet Not sure if I'd use a table on a mobile anyway.
 
 I'm considering adding this to mergDataGridScroller. I recently added 
 (haven't released yet) bouncing which is cool. 
 
 Cheers
 
 --
 M E R Goulding
 Software development services
 
 mergExt - There's an external for that!
 
 On 01/10/2012, at 2:39 AM, Andre Garzia an...@andregarzia.com wrote:
 
 Hey Folks,
 
 Have anyone here tried resizing a datagrid on mobile platforms? Resizing
 the rect of the grid is easy but how do we resize cell size and textsize?
 At this moment I am rolling my poor version of a datagrid like table
 because I can't think of a way to resize the inner controls of the datagrid.
 
 =/
 
 -- 
 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
 
 ___
 use-livecode mailing list
 use-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: mysql question

2012-10-01 Thread Peter Haworth
Very strange.  I can't find anything in my email config that would cause
this.  I'll start paying more attention to the To and CC fields to try
and track down what's happening.
Pete
lcSQL Software http://www.lcsql.com



On Sun, Sep 30, 2012 at 7:31 PM, J. Landman Gay jac...@hyperactivesw.comwrote:

 On 9/30/12 6:29 PM, Peter Haworth wrote:

  Maybe there's something weird in my gMail account  - is anyone else
 getting
 my messages twice?


 Yes, some of them, but not all. The one Mark just referred to came to me
 twice. On the other hand, the one I'm replying to now only came in once.

 --
 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-livecodehttp://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: resizing datagrids on mobile

2012-10-01 Thread Bob Sneidar
Why it seems like just yesterday, I was saying... cue the sound effects and 
wiggly video... This datagrid is nice. It's better than what we had. But I 
was hoping for something that looked and acted like a spreadsheet table... 
port back to the present. 

What were you saying?

Bob


On Sep 30, 2012, at 2:54 PM, Andre Garzia wrote:

 Hi Monte,
 
 I think we need real tables, not the datagrid. Even though the datagrid is
 a really impressive proof of what can be done with LiveCode alone, it is
 really hard to use some times.
 
 The whole business of resizing everything, recalculating font sizes and
 text heights is getting on my nerves. :-)
 
 


___
use-livecode mailing list
use-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: Would anyone mind..

2012-10-01 Thread Jim Little
Hi Mike,

Thank you for contributing this plugin to the community. 

I've tried it out this morning and it worked flawlessly.  

I like your UI as it is … simple and intuitive. 

The code is nicely documented.  

Thanks again,

Jim Little


On Sep 30, 2012, at 6:52 PM, Mike Bonner wrote:

 Would anyone mind checking over a stack for me?  I've come to the
 conclusion that I just don't have the energy for a real project (plus with
 my design skills its pretty much out of my reach) but I do think there are
 some  useful aspects to the thing as it sits right now.  Unfortunately my
 other efforts to extend it have.. er.. How to put this politely.  Ok
 they've sucked.
 
 As it sits, the stack will track the mainstacks that are open, filtered
 based on a list of filters in a field. (to eliminate untitled mainstacks
 and rev stacks from the list) The list should auto update when changes are
 made (thanks to pete, thanks pete!)
 It also maintains a list of all stacks currently backed up. The backups are
 stored in an array in a property of the stack.
 
 What its good for:
 Want to take a snapshot of a mainstack and all of its substacks that are in
 memory? (They don't have to be saved, and even if they are, the version is
 memory is what will be backed up) select from the list and click backup.
 The stacks are added to the array of backed up stacks, and the plugin
 stack saves itself.
 
 If you took a snapshot of a stack hierarchy and then manage to break the
 stack you're working on, you can then recover the snapshot and look at the
 code of the recovered copy along side the main working stack. If a stack is
 with an identical name is already in memory the recovered stacks are named
 copy of thestackname so there is no worry about the that stack is
 already in memory message.
 
 Want to revert to the snapshot? Just close the stacks you wish to dump,
 then either rename the copy of.. or close the misnamed stacks and then
 recover them again. They'll pop back out with the correct name as long as a
 stack name is not already in use. If the destroystack property is not set
 for your stacks this means forcibly removing them from memory.
 
 Thats about it.  Why am I blabbing all this here? Because someone (with a
 better grasp of design and structure for this sort of thing, AKA not me)
 could easily convert the method in to a cvs.  The sheer speed at which a
 stack and its substacks can be grabbed this way is amazing, So, anyone and
 everyone is welcome to look it over, incorporate any pieces and/or parts
 into different projects, mangle it, whatever.
 
 The current version of the stack can be found at
 https://dl.dropbox.com/u/11957935/mdbRevisionPlugin.livecode The automagic
 stack updates won't work unless the stack script is inserted into front.
 The scripts are documented, and there is a test stack saved as a backup
 in a property of the stack. the test stack has a field with another short
 description of how things work.
 ___
 use-livecode mailing list
 use-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: resizing datagrids on mobile

2012-10-01 Thread Bob Sneidar
We have always had that. Simply include in your array the data you want hidden, 
but don't include the column in the column definition. access the hidden data 
from the array. 

put This is a test into myArray[1][column 1]
put I'm hidden into myArray[1][column 2]
set the dgprop[columns] of group myDatagrid to column 1
set the dgData of group myDatagrid to myArray

Bob


On Sep 30, 2012, at 3:14 PM, Richard Gaskin wrote:

 But for simple lists, unless you're displaying financial data the native 
 field object works great, better now in v5.5 than ever before since we now 
 have zero-width columns so we can include things like record IDs without 
 having to show those to the user.


___
use-livecode mailing list
use-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] What does Richmond do with Livecode?

2012-10-01 Thread Richmond

On 10/01/2012 05:00 PM, Magicgate Software - Skip Kimpel wrote:

Richmond, just curious, which version of LC did you compile your
executable with?

SKIP




4.5

___
use-livecode mailing list
use-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: answer folder ignores ~/Library

2012-10-01 Thread Bob Sneidar
In the past when Apple did something that raised people's eyebrows, almost 
always we found that there was some command or preference that would make it 
work like we wanted. Not this time. And this change is so pervasive, so 
fundamental in it's aspect and broad in it's scope, I cannot help thinking that 
there is a crazed developer genius at Apple that Steve Jobs kept locked up, but 
has now been let loose and is mind controlling the decision makers there. But 
seriously, doesn't it feel like the guy who used to sit in the UI interface 
meetings and say, That is a really bad idea has retired? 

Bob


On Sep 30, 2012, at 7:37 PM, J. Landman Gay wrote:

 Is this behavior correct?
 
 In OS X Lion and above, Apple has decided that mere mortals should not access 
 the Library folder(s) and has hidden them away. They no longer appear in the 
 Finder sidebar or menus. You need to know secret commands and actions to show 
 the Library folders.
 
 In Snow Leopard and below, your users will be able to see ~/Library in both 
 Finder and standard file dialogs.


___
use-livecode mailing list
use-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: connecting to MySql

2012-10-01 Thread Ralph DiMola
I connect directly to a MySql db using my account on the on-rev.com server
and have had no problems.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Mark Schonewille
Sent: Saturday, September 29, 2012 2:05 AM
To: How to use LiveCode
Subject: Re: connecting to mysql

Hi Mark,

What made you think that you could use the RunRev server to test your own
MySQL scripts? Have you got any documentation from RunRev about this?

Usually, web hosting companies don't allow remote connections. You need a
script on your server as a layer between LiveCode and MySQL, which is
usually written in PHP or ASP but could also be a LiveCode server script or
a CGI script. Such a script handles URL's or web forms, which are sent to
the server with the POST or GET method. You can connect to it from within
LiveCode using put/get URL or post to URL commands.

--
Best regards,

Mark Schonewille

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

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour
spaces. http://www.color-converter.com



On 29 sep 2012, at 05:59, Mark Smith wrote:

 Hi, I'm looking for a test site I could use to test some code. I've 
 got the following working for a localhost config but am getting an 
 error connecting to the remote host at www.runrev.com. Does anyone 
 have another remote site I could test this with?
 
 on mouseUp
-- use a global variable to hold the connection ID so other scripts can
 use it
   global gConnectionID
  -- set up the connection parameters - edit these to suit your
database
   --   put www.runrev.com into tDatabaseAddress
   --   put runrev_test into tDatabaseName
   --   put example into tDatabaseUser
   --   put example into tDatabasePassword
   put localhost into tDatabaseAddress
   put learnsql into tDatabaseName
   put root into tDatabaseUser
   put root into tDatabasePassword
   -- connect to the database
  put revOpenDatabase(MySQL, tDatabaseAddress, tDatabaseName, 
 tDatabaseUser, tDatabasePassword) into tResult
  -- check if it worked and display an error message if it didn't
   --  set the connection ID global
  if tResult is a number then
 put tResult into gConnectionID
 answer info Connected to the database.  cr  
 Connection ID =   gConnectionID
   else
 put empty into gConnectionID
  answer error Unable to connect to the database:  cr  
 tResult
   end if
 end mouseUp
 
 
 Also, if your site uses port numbers I'd like to try that as well with 
 something like this code:
 
 revOpenDatabase (mysql,host[:port], databaseName, [userName], 
 [password], [useSSL], [socket], [timeout], [autoReconnect])
 
 BTW, the error I am getting at www.runrev.com is Host 
 'wnpgmb014uw-ad04-17-21.dynamic.mtsallstream.net' is not allowed to 
 connect to this MySQL server
 
 Thanks
 
 -- Mark


___
use-livecode mailing list
use-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: answer folder ignores ~/Library

2012-10-01 Thread Colin Holgate
Although it is odd why the Library folder has been hidden, you can still use 
the Go to Folder… menu item in Finder's Go menu, and enter this:

~/Library/

In LiveCode you can do this:

answer folder Look, the Library with  ~/Library/


___
use-livecode mailing list
use-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: Storing location for a preferences file in a standalone stack?

2012-10-01 Thread Bob Sneidar
This is true, however, other processes can elevate their privileges by 
authenticating through a user/password dialog. Installers do this all the time. 
What he is really asking for is a way to invoke the authentication dialog built 
into the system, and then apply those privileges to his LC app. 

This has been discussed before. The only way to get the dialog is through an 
API in the SDK from Apple, and LC does not have access to that. There are forum 
posts you can search for talking about ways to get the terminal to do it, but I 
do not think that the privileges will apply to the LC app. 

This is really something I would like to see as an enhancement to LC, 
especially given the current state of OS X and Windows. We need a way to prompt 
the user for privilege escalation. I believe there is a feature request in the 
QA about this. Vote it up if you find it. 

Bob


On Sep 30, 2012, at 8:35 PM, Andre Garzia wrote:

 If the assistant has its own user on the machine and that user has no
 priviledge outside its home folder than you will not be able to write to a
 system wide location no matter what you try.
 
 Unless the person on the keyboard has an administrator level access or
 password at hand, then you will not be able to write anywhere outside that
 persons folder.Your unpriviledged user can't write to /Library or /System,
 only the super user can.


___
use-livecode mailing list
use-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: Storing location for a preferences file in a standalone stack?

2012-10-01 Thread Bob Sneidar
IMHO this is just kicking the security can down the road. If all developers are 
required to keep their global preferences here, then instead of all the app 
preferences being accessible from one now restricted location, they are all 
available in another. What has really changed? This is what I do not get about 
how Apple went about this. 

Bob


On Sep 30, 2012, at 9:20 PM, Warren Samples wrote:

 On 09/30/2012 10:35 PM, Andre Garzia wrote:
 Unless the person on the keyboard has an administrator level access or
 password at hand, then you will not be able to write anywhere outside that
 persons folder.Your unpriviledged user can't write to /Library or /System,
 only the super user can.
 
 
 Does /Users/Shared still exist? Shouldn't that be usable for shared 
 preferences? If this still exists and is useable as in the past, a single 
 preferences stack in this location could be used to store individual personal 
 preferences for multiple users if users are logging into the app, using a 
 conditional, and global prefs if needed.
 
 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


___
use-livecode mailing list
use-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] What does Richmond do with Livecode?

2012-10-01 Thread Ralph DiMola
Jacqueline,

THANK YOU! I'm a member of the non-Facebook crowd. Call me an old foggie.

See the South Park Facebook episode. Very funny and very true.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of J. Landman Gay
Sent: Sunday, September 30, 2012 3:28 PM
To: How to use LiveCode
Subject: Re: [OT] What does Richmond do with Livecode?

On 9/30/12 1:39 PM, Roger Eller wrote:
 On Sun, Sep 30, 2012 at 2:30 PM, Richmond wrote:

 Possibly the best way to find out is to subscribe to the Facebook page:

 http://www.facebook.com/devawriter

 if you already have a Facebook account search for 'Devawriter' and 
 send a friend request.

 Richmond.


 I saw your announcement.  CONGRATULATIONS Richmond!

Those of us who do not want to be involved with Facebook for any reason will
never know what he did.

rant
I understand that everyone in the world is on FB except the handful of us
who don't care to post their private life in public places. I have now seen
several promotions by some companies that only give away free product or
coupons if you like them on FB. I am annoyed. The US has a law that
forbids sweepstakes from requiring a purchase, but there is no law that says
you can't limit your giveaways to a particular social media outlet. I was
eligible for some free items according to all the stated rules except for
the fact that I refuse to use FB.
/rant

-- 
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: answer folder ignores ~/Library

2012-10-01 Thread Richard Gaskin

Bob Sneidar wrote:

 In the past when Apple did something that raised people's eyebrows,
 almost always we found that there was some command or preference that
 would make it work like we wanted. Not this time.

Most of the money I and my clients make from LiveCode is from sales to 
customers running Windows, which isn't surprising since MS still has 
about 87% of the desktop market.


For most of those years I had the smug satisfaction of making our 
Windows-funded software on Mac.  In LiveCode this isn't hard to do as 
long as you're willing to spend some time now and then testing and 
tweaking on each of the target OSes you're deploying to.


With LiveCode you can develop on whichever you OS you prefer, and as 
long as OS X was a flexible and faithful servant it was where I was 
having the most fun, so it's where I did most of my development.


But as you noted, in recent versions OS X has become more strict, less 
able to work the way I want it to work and more of it expecting me to 
conform to its expectations.


When people ask me why I use Ubuntu as much as I do these days, this is 
why:


With Ubuntu I have the flexibility I used to enjoy with OS X, and more 
so.  I can set it up however I like and it conforms to my wishes, not 
the other way around.


So I'm still making most of my money from Windows, I've just changed 
which minority OS I use to develop for Windows on. :)


Whether the OS I'm using is also used by 10% of the market or 5% doesn't 
matter to me.  What matters to me is that it does what I ask it to do.


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

___
use-livecode mailing list
use-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: Bug or just something you can't do ?

2012-10-01 Thread Bob Sneidar
No because you are passing a reference, not the value itself. That is how the 
otherwise sandboxed command knows about the variable t outside itself. It would 
otherwise create an entirely new t if you didn't pass by reference. It's my 
understanding that presently you cannot pass an array element by reference. You 
can only pass the entire array. 

Instead try passing the entire array, then checking inside your command to see 
if it is an array and then act accordingly. 

Bob


On Sep 30, 2012, at 4:31 PM, Alex Tweedly wrote:

 So doesn't
   increment t
 become
  increment (the value of t)


___
use-livecode mailing list
use-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] What does Richmond do with Livecode?

2012-10-01 Thread Peter Haworth
Count me in to the FacelessBook crowd.
Pete
lcSQL Software http://www.lcsql.com



On Mon, Oct 1, 2012 at 9:35 AM, Ralph DiMola rdim...@evergreeninfo.netwrote:

 Jacqueline,

 THANK YOU! I'm a member of the non-Facebook crowd. Call me an old foggie.

 See the South Park Facebook episode. Very funny and very true.

 Ralph DiMola
 IT Director
 Evergreen Information Services
 rdim...@evergreeninfo.net


 -Original Message-
 From: use-livecode-boun...@lists.runrev.com
 [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of J. Landman Gay
 Sent: Sunday, September 30, 2012 3:28 PM
 To: How to use LiveCode
 Subject: Re: [OT] What does Richmond do with Livecode?

 On 9/30/12 1:39 PM, Roger Eller wrote:
  On Sun, Sep 30, 2012 at 2:30 PM, Richmond wrote:
 
  Possibly the best way to find out is to subscribe to the Facebook page:
 
  http://www.facebook.com/devawriter
 
  if you already have a Facebook account search for 'Devawriter' and
  send a friend request.
 
  Richmond.
 
 
  I saw your announcement.  CONGRATULATIONS Richmond!

 Those of us who do not want to be involved with Facebook for any reason
 will
 never know what he did.

 rant
 I understand that everyone in the world is on FB except the handful of us
 who don't care to post their private life in public places. I have now seen
 several promotions by some companies that only give away free product or
 coupons if you like them on FB. I am annoyed. The US has a law that
 forbids sweepstakes from requiring a purchase, but there is no law that
 says
 you can't limit your giveaways to a particular social media outlet. I was
 eligible for some free items according to all the stated rules except for
 the fact that I refuse to use FB.
 /rant

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

___
use-livecode mailing list
use-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 question

2012-10-01 Thread Bob Sneidar
I may have missed the post prior, but I believe this is true only of sqLite 
databases. In a mySQL database, LC would not create a new database because of 
the security built into mySQL. So far as I know, if you want to create a new 
mySQL database, you will have to shell in to a mySQL server. Also, if it is a 
hosted server you may not be able to do even that because of the front end 
security involved. 

Bob


On Sep 30, 2012, at 2:44 PM, Dr. Hawkins wrote:

 On Sun, Sep 30, 2012 at 1:39 PM, Mark Smith mark_sm...@cpe.umanitoba.ca 
 wrote:
 Thanks Mark. I am just beginning to realize the limitations of the
 implementation of SQL supported by LC. So, I presume there is no way to
 create a database from LC then? ie.
 
 CREATE DATABASE database_name ??
 
 revOpenDatabase()
 
 will open the database if it doesn't already exist.
 
 -- 
 Richard E. Hawkins, Esq.
 (702) 508-8462


___
use-livecode mailing list
use-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: resizing datagrids on mobile

2012-10-01 Thread Ralph DiMola
I have never used datagrid. When I first got LC I created one and saw all
the created objects and ran away crying like a 2 year old after the candy
was taken away. That being said. Could someone send me a stack with working
datagrid. I would like to test my resizing library with a real-world
datagrid LC app.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Bob Sneidar
Sent: Monday, October 01, 2012 12:06 PM
To: How to use LiveCode
Subject: Re: resizing datagrids on mobile

We have always had that. Simply include in your array the data you want
hidden, but don't include the column in the column definition. access the
hidden data from the array. 

put This is a test into myArray[1][column 1] put I'm hidden into
myArray[1][column 2] set the dgprop[columns] of group myDatagrid to
column 1
set the dgData of group myDatagrid to myArray

Bob


On Sep 30, 2012, at 3:14 PM, Richard Gaskin wrote:

 But for simple lists, unless you're displaying financial data the native
field object works great, better now in v5.5 than ever before since we now
have zero-width columns so we can include things like record IDs without
having to show those to the user.


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


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


Re: [OT] What does Richmond do with Livecode?

2012-10-01 Thread stephen barncard
I find facebook to be quite useful for business in my world. The trick is
not to get hung up with everyone else's drama, choose your 'friends' wisely
and SMITE those who give you trouble or waste your time.

facebook can be like one's own tv station for one's ego, business, cause,
whatever.

It's not just a place for people that can't design their own websites.  But
just like websites, facebook pages must be tended and active.



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: connecting to MySql

2012-10-01 Thread Bob Sneidar
Yes I do as well. However this is considered in the industry a non-secure way 
of connecting to mySQL because of all the exploits that are out there. We use a 
digital lock and key system here on this campus (which will remain nameless), 
which is managed from a secure mySQL server running on a Linux distro which 
is used a lot for this purpose. Obviously, security is a HUGE deal for this 
vendor, and one of their big selling points is security. All communications 
between the web page and the host are encrypted. And yet, using an exploit he 
knew about, he was able to get at the data directly. I bet him a lunch he could 
not, and I paid him off. 

If you are writing something for in house use, you can use On-Rev and access 
the database directly securely enough, because you have to allow access via the 
On-Rev interface on an IP address basis, so only connections coming from your 
own campus would be accepted. I suppose someone on the inside could still try 
and get at the data, but if the data is not that important then this might be 
acceptable. 


On Oct 1, 2012, at 9:27 AM, Ralph DiMola wrote:

 I connect directly to a MySql db using my account on the on-rev.com server
 and have had no problems.
 
 Ralph DiMola


___
use-livecode mailing list
use-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] What does Richmond do with Livecode?

2012-10-01 Thread Scott Rossi
I've never seen a smite button in Facebook, but I'd say it's long
overdue.
I might try to make one...

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design




On 10/1/12 9:58 AM, stephen barncard stephenrevoluti...@barncard.com
wrote:

The trick is
not to get hung up with everyone else's drama, choose your 'friends'
wisely
and SMITE those who give you trouble or waste your time.




___
use-livecode mailing list
use-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] What does Richmond do with Livecode?

2012-10-01 Thread stephen barncard
There's a little pulldown right next to each post that allows ignoring that
person. SMITE!

On Mon, Oct 1, 2012 at 10:07 AM, Scott Rossi sc...@tactilemedia.com wrote:

 I've never seen a smite button in Facebook, but I'd say it's long
 overdue.
 I might try to make one...

 Regards,

 Scott Rossi
 Creative Director
 Tactile Media, UX Design




 On 10/1/12 9:58 AM, stephen barncard stephenrevoluti...@barncard.com
 wrote:

 The trick is
 not to get hung up with everyone else's drama, choose your 'friends'
 wisely
 and SMITE those who give you trouble or waste your time.
 




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: resizing datagrids on mobile

2012-10-01 Thread Bob Sneidar
You could simply make your own. It isn't that hard. There is no fundamental 
difference between a datagrid made from scratch, and one belonging to an 
existing app. Just get the properties of the datagrid, create your columns in 
the properties interface, and go. You may want to create 2 kinds, a table DG 
and a form DG, just to be sure. 

Bob


On Oct 1, 2012, at 9:55 AM, Ralph DiMola wrote:

 I have never used datagrid. When I first got LC I created one and saw all
 the created objects and ran away crying like a 2 year old after the candy
 was taken away. That being said. Could someone send me a stack with working
 datagrid. I would like to test my resizing library with a real-world
 datagrid LC app.
 
 Ralph DiMola
 IT Director
 Evergreen Information Services
 rdim...@evergreeninfo.net


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


Re: [OT] What does Richmond do with Livecode?

2012-10-01 Thread Bob Sneidar
Will I have to click through a disclaimer stating that I am 18 or older before 
entering? ;-)

Bob


On Sep 30, 2012, at 11:30 AM, Richmond wrote:

 Possibly the best way to find out is to subscribe to the Facebook page:
 
 http://www.facebook.com/devawriter
 
 if you already have a Facebook account search for 'Devawriter' and send a 
 friend request.
 
 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


___
use-livecode mailing list
use-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] What does Richmond do with Livecode?

2012-10-01 Thread Roger Guay
I was thinking more along the lines of Facebook with an attitude. Something 
like ButtBook - the tongue in cheek FaceBook. Or ButtBook the cheeky FaceBook.

Roger


On Oct 1, 2012, at 9:33 AM, use-livecode-requ...@lists.runrev.com wrote:

 Message: 6
 Date: Mon, 01 Oct 2012 00:37:38 -0500
 From: J. Landman Gay jac...@hyperactivesw.com
 To: How to use LiveCode use-livecode@lists.runrev.com
 Subject: Re: [OT] What does Richmond do with Livecode?
 Message-ID: 50692c22.8010...@hyperactivesw.com
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 
 On 9/30/12 11:07 PM, Roger Guay wrote:
 I have this idea for people who hate Facebook . . . sort of like an
 anti-Facebook. I call it ButtBook . . . for the anti-social. I'm
 working on it. Any ideas to contribute?
 
 Buy a photo copier?
 
 -- 
 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] What does Richmond do with Livecode?

2012-10-01 Thread Bob Sneidar
I resisted Facebook for a long time, not only because of security concerns, but 
because I saw how much it can detract from my own productivity. The latter has 
come to pass for sure. As to the former, well they cannot find out more about 
you than you tell them. Just think of everything on Facebook as available to 
the general public, no matter how you try to restrict it, then post 
accordingly. 

They actually have some good vendors advertising on it. I found a really nifty 
round portable gas grill, and an outlet for military grade clothing and 
equipment. I suppose I could have gone looking for it, but I am not that 
imaginative a shopper, and sometimes when you google for something, you get a 
million unassociated hits that have nothing to do with what you want, and they 
always seem to pop to the top, and these days you are as likely as not to get a 
page of links to OTHER search engines. Really frustrating. 

The best thing about it though is that I get to really irritate my friends and 
family by posting things I think are really important, but they could care less 
about. ;-)

Bob


On Sep 30, 2012, at 12:28 PM, J. Landman Gay wrote:

 On 9/30/12 1:39 PM, Roger Eller wrote:
 On Sun, Sep 30, 2012 at 2:30 PM, Richmond wrote:
 
 Possibly the best way to find out is to subscribe to the Facebook page:
 
 http://www.facebook.com/devawriter
 
 if you already have a Facebook account search for 'Devawriter' and send a
 friend request.
 
 Richmond.
 
 
 I saw your announcement.  CONGRATULATIONS Richmond!
 
 Those of us who do not want to be involved with Facebook for any reason will 
 never know what he did.
 
 rant
 I understand that everyone in the world is on FB except the handful of us who 
 don't care to post their private life in public places. I have now seen 
 several promotions by some companies that only give away free product or 
 coupons if you like them on FB. I am annoyed. The US has a law that forbids 
 sweepstakes from requiring a purchase, but there is no law that says you 
 can't limit your giveaways to a particular social media outlet. I was 
 eligible for some free items according to all the stated rules except for the 
 fact that I refuse to use FB.
 /rant
 
 -- 
 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: [OT] What does Richmond do with Livecode?

2012-10-01 Thread Bob Sneidar
Will we have to post a picture of our... butt anyway, moving along...

Bob


On Sep 30, 2012, at 9:07 PM, Roger Guay wrote:

 I have this idea for people who hate Facebook . . . sort of like an 
 anti-Facebook. I call it ButtBook . . . for the anti-social. I'm working on 
 it. Any ideas to contribute?
 
 Cheers,
 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


command-click on a word

2012-10-01 Thread Timothy Miller
I'm not writing to complain about an absent feature. Mostly just curious, and 
maybe I'll learn something useful.

In recent years, I've come to take it for granted that I can hilite a word and 
command-click on it to get a pop-up dialog box with items like cut copy 
look up in dictionary and so on. The specific items depend on the 
application, but the dialog box usually looks the same.

A few minutes ago, I tried this in a text field an a LC stack and thought, 
Hey, why doesn't that work!? Then I remembered that LC doesn't do that, as 
far as I know. Yet I have the impression that this is an OS function that any 
application could invoke.

So, my question: Is this an OS function? If so, why doesn't LC take advantage 
of it?

I suppose it could be scripted. Is there an LC add-on that conveniently adds 
this functionality? Or maybe there's a simple LC command I don't know about?

Cheers,

Tim
___
use-livecode mailing list
use-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] What does Richmond do with Livecode?

2012-10-01 Thread Bob Sneidar
Wait,... there's a Buttbook app already??


On Oct 1, 2012, at 5:57 AM, Magicgate Software - Skip Kimpel wrote:

 I just downloaded the demo software and tested it on a Windows 7
 machine.  A couple of observations and questions  For some reason
 when you launch it under Win7, it takes forever for the software to
 appear.  I see it sitting in the process section of the Windows task
 manager for a good minute before it shows it's face. Second, it would
 be really nice to see the software wrapped up into some type of an
 installer.
 
 That leads me to my question:  Is there a way in LC, or the installer
 method that I mentioned above, to install the required fonts for the
 end user.  It just seems like a step that is not needed for the end
 user.
 
 SKIP
 
 On Mon, Oct 1, 2012 at 8:31 AM, Colin Holgate co...@verizon.net wrote:
 Call it The Buttbook at first, then drop the The after talking to Justin 
 Timberlake. Call the movie version of the story Antisocial Network.
 
 
 On Oct 1, 2012, at 12:07 AM, Roger Guay i...@mac.com wrote:
 
 I have this idea for people who hate Facebook . . . sort of like an 
 anti-Facebook. I call it ButtBook . . . for the anti-social. I'm working 
 on it. Any ideas to contribute?
 
 ___
 use-livecode mailing list
 use-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: [OT] What does Richmond do with Livecode?

2012-10-01 Thread Bob Sneidar
Old Foggie indeed. Us old fogies are often quite foggy. 

On Oct 1, 2012, at 9:35 AM, Ralph DiMola wrote:

 Jacqueline,
 
 THANK YOU! I'm a member of the non-Facebook crowd. Call me an old foggie.
 
 See the South Park Facebook episode. Very funny and very true.
 
 Ralph DiMola


___
use-livecode mailing list
use-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] What does Richmond do with Livecode?

2012-10-01 Thread Bob Sneidar
I thot that was the banhammer button...

On Oct 1, 2012, at 10:18 AM, stephen barncard wrote:

 There's a little pulldown right next to each post that allows ignoring that
 person. SMITE!
 
 On Mon, Oct 1, 2012 at 10:07 AM, Scott Rossi sc...@tactilemedia.com wrote:
 
 I've never seen a smite button in Facebook, but I'd say it's long
 overdue.
 I might try to make one...
 
 Regards,
 
 Scott Rossi
 Creative Director
 Tactile Media, UX Design
 
 
 
 
 On 10/1/12 9:58 AM, stephen barncard stephenrevoluti...@barncard.com
 wrote:
 
 The trick is
 not to get hung up with everyone else's drama, choose your 'friends'
 wisely
 and SMITE those who give you trouble or waste your time.
 
 
 
 
 
 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


Re: [OT] What does Richmond do with Livecode?

2012-10-01 Thread Bob Sneidar
Okay this thread is getting too weird. Has anyone invented a Faux Pas checker 
yet? On second thought, I would just disable it. 

On Oct 1, 2012, at 10:27 AM, Roger Guay wrote:

 ButtBook - the tongue in cheek Facebook...


___
use-livecode mailing list
use-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] What does Richmond do with Livecode?

2012-10-01 Thread Richmond

On 10/01/2012 08:24 PM, Bob Sneidar wrote:

Will I have to click through a disclaimer stating that I am 18 or older before 
entering? ;-)


No; there are several teenagers there.



Bob


On Sep 30, 2012, at 11:30 AM, Richmond wrote:


Possibly the best way to find out is to subscribe to the Facebook page:

http://www.facebook.com/devawriter

if you already have a Facebook account search for 'Devawriter' and send a 
friend request.

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


___
use-livecode mailing list
use-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: Bug or just something you can't do ?

2012-10-01 Thread Graham Samuel
I never thought I'd see the word 'thunk' again. A coinage of Donald Knuth, I 
fancy… well, what a blast from the past! 

Graham

(who, when dinosaurs ruled the Earth, completed and supported an Algol compiler)

On Mon, 01 Oct 2012 11:49:14 +0100, Alex Tweedly a...@tweedly.net wrote:

 Thanks Mark - that's a great solution for a one-liner, or even for a 2- 
 or 3- liner, but not practical for a real=life, multi-line handler.
 
 (And as a purist I'd mention that it implements call-by-name not 
 call-by-reference, to the sound of Algol reference papers 'thunk'ing 
 onto my desk :-)

___
use-livecode mailing list
use-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: command-click on a word

2012-10-01 Thread Peter Haworth
Hi Tim,
There was a similar discussion a few months back regarding the spell
checking ability built into an OS, specifically OSX.  The outcome of that
was simply that LC doesn't provide a way to hook into it so I think the
answer to your question would be the same.

There is a third party spell checker application available on the RunRev
store but I don;t remember seeing anything for the feature you mentioned.

Pete
lcSQL Software http://www.lcsql.com



On Mon, Oct 1, 2012 at 10:34 AM, Timothy Miller 
gand...@doctortimothymiller.com wrote:

 I'm not writing to complain about an absent feature. Mostly just curious,
 and maybe I'll learn something useful.

 In recent years, I've come to take it for granted that I can hilite a word
 and command-click on it to get a pop-up dialog box with items like cut
 copy look up in dictionary and so on. The specific items depend on the
 application, but the dialog box usually looks the same.

 A few minutes ago, I tried this in a text field an a LC stack and thought,
 Hey, why doesn't that work!? Then I remembered that LC doesn't do that,
 as far as I know. Yet I have the impression that this is an OS function
 that any application could invoke.

 So, my question: Is this an OS function? If so, why doesn't LC take
 advantage of it?

 I suppose it could be scripted. Is there an LC add-on that conveniently
 adds this functionality? Or maybe there's a simple LC command I don't know
 about?

 Cheers,

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

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


Re: [OT] Facebook [was: What does Richmond do with Livecode?]

2012-10-01 Thread J. Landman Gay

On 10/1/12 12:31 PM, Bob Sneidar wrote:

I resisted Facebook for a long time, not only because of security
concerns, but because I saw how much it can detract from my own
productivity. The latter has come to pass for sure. As to the former,
well they cannot find out more about you than you tell them.


They know far more about you than you can imagine:


FB collects more data about you than you know, it's shared more widely 
than you know, legal protections are spotty, and malicious behavior 
related to FB is on the rise:


http://www.nbcnews.com/technology/technolog/consumer-reports-facebook-privacy-problems-are-rise-749990

Your current location and activity, among other things, can be picked up 
and broadcast without your knowledge; stop using FB apps:


http://mashable.com/2012/01/27/facebook-privacy-open-graph/

Breach of privacy extends to non-members of Facebook (and lots of other 
info):

http://en.wikipedia.org/wiki/Criticism_of_Facebook#Breach_of_privacy_extends_to_non-members_of_Facebook

Identity theft using off the shelf facial recognition software (keep 
your profile private and take down that photo):

http://www.forbes.com/sites/chunkamui/2011/08/08/facebooks-privacy-issues-are-even-deeper-than-we-knew/

Until recently they did even worse until a lawsuit stopped some of it. 
Their approach seems to be that they will infringe without telling you 
until they are forced to stop.


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


iOS Unknown Deployment Platform error

2012-10-01 Thread Rick Harrison
Hi there,

When Apple decided to force upgrade everything to version 4.5 of Xcode
is when everything went a bad way for me.  Before that I was able to
run the iOS Simulato,r and connect to my iPad 2 just fine with LiveCode.

I was happily running Lion and then one day Apple forced me to do some 
stupid upgrade or things just wouldn't work.  So I tried the upgrade.
Things still didn't work.  People started saying, oh yea, you need to work with
version 4.5 of the SDK now.  Of course you'll need Mountain Lion to run that.
It just so happened that my MacBook was one Generation too old to run
Mountain Lion, so then I was forced to purchase a brand new machine just
so I could get back to coding again.

I purchased the new computer, upgraded it to Mountain Lion since it came
with Lion installed.  I installed Xcode 4.5, upgraded my iPad 2 to iOS 6.0,
and upgraded to LiveCode 5.5.3rc1.  Now when I try to run the Simulator
it tells me Unknown Deployment Platform and still doesn't work!

Anyone else having this problem?  I'm dead in the water without any
direction at this point.  Any help is greatly appreciated!

Thanks,

Rick


___
use-livecode mailing list
use-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] Facebook [was: What does Richmond do with Livecode?]

2012-10-01 Thread Marian Petrides MD
Wonder if they can do facial recognition on canine faces? Those are the only 
photos I ever post. :-))

Sent from my iPhone

On Oct 1, 2012, at 3:26 PM, J. Landman Gay jac...@hyperactivesw.com wrote:

 On 10/1/12 12:31 PM, Bob Sneidar wrote:
 I resisted Facebook for a long time, not only because of security
 concerns, but because I saw how much it can detract from my own
 productivity. The latter has come to pass for sure. As to the former,
 well they cannot find out more about you than you tell them.
 
 They know far more about you than you can imagine:
 
 
 FB collects more data about you than you know, it's shared more widely than 
 you know, legal protections are spotty, and malicious behavior related to FB 
 is on the rise:
 
 http://www.nbcnews.com/technology/technolog/consumer-reports-facebook-privacy-problems-are-rise-749990
 
 Your current location and activity, among other things, can be picked up and 
 broadcast without your knowledge; stop using FB apps:
 
 http://mashable.com/2012/01/27/facebook-privacy-open-graph/
 
 Breach of privacy extends to non-members of Facebook (and lots of other info):
 http://en.wikipedia.org/wiki/Criticism_of_Facebook#Breach_of_privacy_extends_to_non-members_of_Facebook
 
 Identity theft using off the shelf facial recognition software (keep your 
 profile private and take down that photo):
 http://www.forbes.com/sites/chunkamui/2011/08/08/facebooks-privacy-issues-are-even-deeper-than-we-knew/
 
 Until recently they did even worse until a lawsuit stopped some of it. Their 
 approach seems to be that they will infringe without telling you until they 
 are forced to stop.
 
 -- 
 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: [OT] What does Richmond do with Livecode?

2012-10-01 Thread Scott Rossi
You're not thinking visual enough:
http://www.tactilemedia.com/download/smite_button.gif

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design




On 10/1/12 10:18 AM, stephen barncard stephenrevoluti...@barncard.com
wrote:

There's a little pulldown right next to each post that allows ignoring
that
person. SMITE!

On Mon, Oct 1, 2012 at 10:07 AM, Scott Rossi sc...@tactilemedia.com
wrote:

 I've never seen a smite button in Facebook, but I'd say it's long
 overdue.
 I might try to make one...

 Regards,

 Scott Rossi
 Creative Director
 Tactile Media, UX Design




 On 10/1/12 9:58 AM, stephen barncard stephenrevoluti...@barncard.com
 wrote:

 The trick is
 not to get hung up with everyone else's drama, choose your 'friends'
 wisely
 and SMITE those who give you trouble or waste your time.
 




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


Re: [OT] What does Richmond do with Livecode?

2012-10-01 Thread Roger Eller
On Mon, Oct 1, 2012 at 3:42 PM, Scott Rossi sc...@tactilemedia.com wrote:

 You're not thinking visual enough:
 http://www.tactilemedia.com/download/smite_button.gif

 Regards,

 Scott Rossi
 Creative Director
 Tactile Media, UX Design


LIKE! +10
___
use-livecode mailing list
use-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: iOS Unknown Deployment Platform error

2012-10-01 Thread Chris Sheffield
Rick,

A couple things to check.

First, make sure you've pointed LiveCode to your Xcode app bundle. I'm assuming 
you've already done this. Otherwise, the Test option wouldn't even be available 
to you. But I just wanted to make sure.

Second, make sure you've selected the appropriate simulator version from the 
Development - Test Target menu in LC. I find that sometimes I have to reset 
this after upgrading LiveCode and/or Xcode. If for some reason you don't have 
the simulators you want, launch Xcode, open Prefs - Downloads, and download 
the additional simulators. With Xcode 4.5 you can go back to iOS simulator 5.0.

Hope that helps you.

Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com



On Oct 1, 2012, at 1:32 PM, Rick Harrison harri...@all-auctions.com wrote:

 Hi there,
 
 When Apple decided to force upgrade everything to version 4.5 of Xcode
 is when everything went a bad way for me.  Before that I was able to
 run the iOS Simulato,r and connect to my iPad 2 just fine with LiveCode.
 
 I was happily running Lion and then one day Apple forced me to do some 
 stupid upgrade or things just wouldn't work.  So I tried the upgrade.
 Things still didn't work.  People started saying, oh yea, you need to work 
 with
 version 4.5 of the SDK now.  Of course you'll need Mountain Lion to run that.
 It just so happened that my MacBook was one Generation too old to run
 Mountain Lion, so then I was forced to purchase a brand new machine just
 so I could get back to coding again.
 
 I purchased the new computer, upgraded it to Mountain Lion since it came
 with Lion installed.  I installed Xcode 4.5, upgraded my iPad 2 to iOS 6.0,
 and upgraded to LiveCode 5.5.3rc1.  Now when I try to run the Simulator
 it tells me Unknown Deployment Platform and still doesn't work!
 
 Anyone else having this problem?  I'm dead in the water without any
 direction at this point.  Any help is greatly appreciated!
 
 Thanks,
 
 Rick
 
 
 ___
 use-livecode mailing list
 use-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: command-click on a word

2012-10-01 Thread dunbarx
Hi.


Are you harking back to HC, where holding the commandKey down in an unlocked 
field would put the clickText?



This does not work natively in LC, though you can always:



on mouseUp


 put the clickText --into tText
 --load popUpGadget
end mouseUp


There is no visual feedback that something has changed (HC showed the hand 
cursor), but the result is the same. That the commandKey was in fact pressed is 
therefore invisible, but it still works that way.


So now you can do your loadPopUp thing, using any sort of info derived from the 
clickText. There were several threads, either here or at the forums, about 
creating popups on the fly, or you can just show one.


Craig Newman




-Original Message-
From: Timothy Miller gand...@doctortimothymiller.com
To: How to use LiveCode use-livecode@lists.runrev.com
Sent: Mon, Oct 1, 2012 1:35 pm
Subject: command-click on a word


I'm not writing to complain about an absent feature. Mostly just curious, and 
maybe I'll learn something useful.

In recent years, I've come to take it for granted that I can hilite a word and 
command-click on it to get a pop-up dialog box with items like cut copy 
look up in dictionary and so on. The specific items depend on the 
application, 
but the dialog box usually looks the same.

A few minutes ago, I tried this in a text field an a LC stack and thought, 
Hey, 
why doesn't that work!? Then I remembered that LC doesn't do that, as far as I 
know. Yet I have the impression that this is an OS function that any 
application 
could invoke.

So, my question: Is this an OS function? If so, why doesn't LC take advantage 
of 
it?

I suppose it could be scripted. Is there an LC add-on that conveniently adds 
this functionality? Or maybe there's a simple LC command I don't know about?

Cheers,

Tim
___
use-livecode mailing list
use-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: mysql question

2012-10-01 Thread Mark Wieder
Pete-

Monday, October 1, 2012, 8:59:05 AM, you wrote:

 Very strange.  I can't find anything in my email config that would cause
 this.  I'll start paying more attention to the To and CC fields to try
 and track down what's happening.

Check to Reply-To field on incoming messages as well. That should
never be filled in (replies should by default go to the From address)
but if there's something there you may end up double-dipping.

-- 
-Mark Wieder
 mwie...@ahsoftware.net


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


Re: mysql question

2012-10-01 Thread Peter Haworth
Thanks Mark.  I also noticed that I had a gMail Lab in place which made the
default reply button mean Reply To All so if any incoming messages were
sent to the old and new mailing lists, I think that would cause the double
messages.  I've disabled that now.
Pete
lcSQL Software http://www.lcsql.com



On Mon, Oct 1, 2012 at 2:20 PM, Mark Wieder mwie...@ahsoftware.net wrote:

 Pete-

 Monday, October 1, 2012, 8:59:05 AM, you wrote:

  Very strange.  I can't find anything in my email config that would cause
  this.  I'll start paying more attention to the To and CC fields to
 try
  and track down what's happening.

 Check to Reply-To field on incoming messages as well. That should
 never be filled in (replies should by default go to the From address)
 but if there's something there you may end up double-dipping.

 --
 -Mark Wieder
  mwie...@ahsoftware.net


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

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


Re: command-click on a word

2012-10-01 Thread Timothy Miller
Thanks Peter and Craig,

Good thoughts, but I wasn't thinking of either one of those things. I am aware 
of the new LC text property that makes spell check possible in LC, I have 
looked at the spell-checker in the LC store, and I do remember the HC 
command-key feature. (Heck, my Atari 64 seems like just yesterday!) You've 
probably overestimated me. My question was much dumber than that.

I'm just wondering two things. Is command-clickng on a hilited word an OS 
thing, or does each application implement this feature independently? If it's 
an OS thing, it might not be not very hard to implement. In that case why 
doesn't LC do it? I.e., not just spell-check but all those other cute tricks -- 
look up on google, look up in the dictionary, cut, copy, etc? 

Cheers,

Tim


On Oct 1, 2012, at 12:28 PM, Peter Haworth wrote:

 Hi Tim,
 There was a similar discussion a few months back regarding the spell
 checking ability built into an OS, specifically OSX.  The outcome of that
 was simply that LC doesn't provide a way to hook into it so I think the
 answer to your question would be the same.
 
 There is a third party spell checker application available on the RunRev
 store but I don;t remember seeing anything for the feature you mentioned.
 
 Pete
 lcSQL Software http://www.lcsql.com
 
 
 
 On Mon, Oct 1, 2012 at 10:34 AM, Timothy Miller 
 gand...@doctortimothymiller.com wrote:
 
 I'm not writing to complain about an absent feature. Mostly just curious,
 and maybe I'll learn something useful.
 
 In recent years, I've come to take it for granted that I can hilite a word
 and command-click on it to get a pop-up dialog box with items like cut
 copy look up in dictionary and so on. The specific items depend on the
 application, but the dialog box usually looks the same.
 
 A few minutes ago, I tried this in a text field an a LC stack and thought,
 Hey, why doesn't that work!? Then I remembered that LC doesn't do that,
 as far as I know. Yet I have the impression that this is an OS function
 that any application could invoke.
 
 So, my question: Is this an OS function? If so, why doesn't LC take
 advantage of it?
 
 I suppose it could be scripted. Is there an LC add-on that conveniently
 adds this functionality? Or maybe there's a simple LC command I don't know
 about?
 
 Cheers,
 
 Tim
 ___
 use-livecode mailing list
 use-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: [OT] Facebook [was: What does Richmond do with Livecode?]

2012-10-01 Thread Bob Sneidar
I agree that FB is notorious in their privacy protection failures. They are 
epic. However, I will bet that the FBI doesn't need Facebook to find out 
whatever they want about me. The trick is to not have anything to hide that 
they might want to know about. As far as identity theft, I am not sure how 
having a picture of me can induce a bank to start up an account with my name. 
Still, my photo is a logo someone made for me called Sly Laboratories, which is 
a fox next to a beaker under a full blue moon. Pretty spiffy I think! 

If the FBI wants to know what I think and how I feel about things, why they can 
call me and ask. In fact I might just call them and see if they are interested. 
:-) I've had my Facebook account hacked once. Nothing came of it, because I 
don't have any information there that could be used to compromise anything. 
Still, I get what you are saying. Most people might use their online banking 
user name and password for FB and never even think about what a HUGE bonehead 
thing to do that is. 

Bob


On Oct 1, 2012, at 12:26 PM, J. Landman Gay wrote:

 On 10/1/12 12:31 PM, Bob Sneidar wrote:
 I resisted Facebook for a long time, not only because of security
 concerns, but because I saw how much it can detract from my own
 productivity. The latter has come to pass for sure. As to the former,
 well they cannot find out more about you than you tell them.
 
 They know far more about you than you can imagine:
 
 
 FB collects more data about you than you know, it's shared more widely than 
 you know, legal protections are spotty, and malicious behavior related to FB 
 is on the rise:
 
 http://www.nbcnews.com/technology/technolog/consumer-reports-facebook-privacy-problems-are-rise-749990
 
 Your current location and activity, among other things, can be picked up and 
 broadcast without your knowledge; stop using FB apps:
 
 http://mashable.com/2012/01/27/facebook-privacy-open-graph/
 
 Breach of privacy extends to non-members of Facebook (and lots of other info):
 http://en.wikipedia.org/wiki/Criticism_of_Facebook#Breach_of_privacy_extends_to_non-members_of_Facebook
 
 Identity theft using off the shelf facial recognition software (keep your 
 profile private and take down that photo):
 http://www.forbes.com/sites/chunkamui/2011/08/08/facebooks-privacy-issues-are-even-deeper-than-we-knew/
 
 Until recently they did even worse until a lawsuit stopped some of it. Their 
 approach seems to be that they will infringe without telling you until they 
 are forced to stop.
 
 -- 
 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: [OT] What does Richmond do with Livecode?

2012-10-01 Thread Bob Sneidar
Thanks Scott! That is going into my next app for sure! I'm thinking about a 
record deletion confirmation dialog...

Bob


On Oct 1, 2012, at 12:42 PM, Scott Rossi wrote:

 You're not thinking visual enough:
 http://www.tactilemedia.com/download/smite_button.gif
 
 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: iOS Unknown Deployment Platform error

2012-10-01 Thread Bob Sneidar
Great post! I feel his pain though. I'm not big on, I shouldn't have to 
posts, but in this case, He shouldn't have to.

Bob


On Oct 1, 2012, at 12:57 PM, Chris Sheffield wrote:

 Rick,
 
 A couple things to check.
 
 First, make sure you've pointed LiveCode to your Xcode app bundle. I'm 
 assuming you've already done this. Otherwise, the Test option wouldn't even 
 be available to you. But I just wanted to make sure.
 
 Second, make sure you've selected the appropriate simulator version from the 
 Development - Test Target menu in LC. I find that sometimes I have to reset 
 this after upgrading LiveCode and/or Xcode. If for some reason you don't have 
 the simulators you want, launch Xcode, open Prefs - Downloads, and download 
 the additional simulators. With Xcode 4.5 you can go back to iOS simulator 
 5.0.
 
 Hope that helps you.
 
 Chris
 
 
 --
 Chris Sheffield
 Read Naturally, Inc.
 www.readnaturally.com
 
 
 
 On Oct 1, 2012, at 1:32 PM, Rick Harrison harri...@all-auctions.com wrote:
 
 Hi there,
 
 When Apple decided to force upgrade everything to version 4.5 of Xcode
 is when everything went a bad way for me.  Before that I was able to
 run the iOS Simulato,r and connect to my iPad 2 just fine with LiveCode.
 
 I was happily running Lion and then one day Apple forced me to do some 
 stupid upgrade or things just wouldn't work.  So I tried the upgrade.
 Things still didn't work.  People started saying, oh yea, you need to work 
 with
 version 4.5 of the SDK now.  Of course you'll need Mountain Lion to run that.
 It just so happened that my MacBook was one Generation too old to run
 Mountain Lion, so then I was forced to purchase a brand new machine just
 so I could get back to coding again.
 
 I purchased the new computer, upgraded it to Mountain Lion since it came
 with Lion installed.  I installed Xcode 4.5, upgraded my iPad 2 to iOS 6.0,
 and upgraded to LiveCode 5.5.3rc1.  Now when I try to run the Simulator
 it tells me Unknown Deployment Platform and still doesn't work!
 
 Anyone else having this problem?  I'm dead in the water without any
 direction at this point.  Any help is greatly appreciated!
 
 Thanks,
 
 Rick
 
 
 ___
 use-livecode mailing list
 use-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: mysql question

2012-10-01 Thread Bob Sneidar
Yup. That would do it.

On Oct 1, 2012, at 2:27 PM, Peter Haworth wrote:

 Thanks Mark.  I also noticed that I had a gMail Lab in place which made the
 default reply button mean Reply To All so if any incoming messages were
 sent to the old and new mailing lists, I think that would cause the double
 messages.  I've disabled that now.
 Pete
 lcSQL Software http://www.lcsql.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: iOS Unknown Deployment Platform error

2012-10-01 Thread Rick Harrison
Hi Chris,

I did already go through the process of pointing LiveCode to the Xcode app 
bundle.

I tried your suggestion of making sure that the appropriate simulator version 
from the
Development - Test Target was chosen, but when I went to do this both the iPad
Simulator 6.0  and the iPhone Simulator 6.0 were greyed out.  When I went into
the Xcode Prefs for Downloads version 5.0 and version 5.1 showed up so I 
downloaded
them, but 6 was nowhere in that list.  So, I think I must have 6 somewhere or 
it would be
showing up in that list.

I'll try to get the 5.0 and 5.1 Simulators to work.

In the meantime, can you think of anything else to try?

Thanks,

Rick

On Oct 1, 2012, at 3:57 PM, Chris Sheffield cmsheffi...@me.com wrote:

 Rick,
 
 A couple things to check.
 
 First, make sure you've pointed LiveCode to your Xcode app bundle. I'm 
 assuming you've already done this. Otherwise, the Test option wouldn't even 
 be available to you. But I just wanted to make sure.
 
 Second, make sure you've selected the appropriate simulator version from the 
 Development - Test Target menu in LC. I find that sometimes I have to reset 
 this after upgrading LiveCode and/or Xcode. If for some reason you don't have 
 the simulators you want, launch Xcode, open Prefs - Downloads, and download 
 the additional simulators. With Xcode 4.5 you can go back to iOS simulator 
 5.0.
 
 Hope that helps you.
 
 Chris
 
 
 --
 Chris Sheffield
 Read Naturally, Inc.
 www.readnaturally.com
 
 
 
 On Oct 1, 2012, at 1:32 PM, Rick Harrison harri...@all-auctions.com wrote:
 
 Hi there,
 
 When Apple decided to force upgrade everything to version 4.5 of Xcode
 is when everything went a bad way for me.  Before that I was able to
 run the iOS Simulato,r and connect to my iPad 2 just fine with LiveCode.
 
 I was happily running Lion and then one day Apple forced me to do some 
 stupid upgrade or things just wouldn't work.  So I tried the upgrade.
 Things still didn't work.  People started saying, oh yea, you need to work 
 with
 version 4.5 of the SDK now.  Of course you'll need Mountain Lion to run that.
 It just so happened that my MacBook was one Generation too old to run
 Mountain Lion, so then I was forced to purchase a brand new machine just
 so I could get back to coding again.
 
 I purchased the new computer, upgraded it to Mountain Lion since it came
 with Lion installed.  I installed Xcode 4.5, upgraded my iPad 2 to iOS 6.0,
 and upgraded to LiveCode 5.5.3rc1.  Now when I try to run the Simulator
 it tells me Unknown Deployment Platform and still doesn't work!
 
 Anyone else having this problem?  I'm dead in the water without any
 direction at this point.  Any help is greatly appreciated!
 
 Thanks,
 
 Rick
 
 
 ___
 use-livecode mailing list
 use-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: Bug or just something you can't do ?

2012-10-01 Thread Alex Tweedly

On 01/10/2012 17:40, Bob Sneidar wrote:

It's my understanding that presently you cannot pass an array element by 
reference. You can only pass the entire array.


Yeah - that's the whole problem I am complaining about :-)

Instead try passing the entire array, then checking inside your command to see 
if it is an array and then act accordingly.
I can't see how to do that (without some *really* ugly code within the 
handler). The problem is that (in the handler) the parameter is an array 
passed in by reference so that it can be modified; sometimes I want to 
call it with an entire array, others with a sub-array (i.e. an array 
element which is itself an array). So the handler can't simply check 
whether what was passed was an array. It could require an extra 
parameter for the array index, and if that was empty use the array 
parameter as itself, and if non-empty it could index the array - but 
that means that every usage of the parameter within the handler becomes 
subject to an if-test.  Oh, btw, the real handler has more than one such 
parameter :-(


(example below in case that's not clear).

In any case, Pete has confirmed that it is already in QCC as 10070 and 
7167 - both marked as duplicate of 6820 It has been open, but 
unconfirmed (though commented on by Mark W), for over 4 years - which 
pretty much tells me not to hold my breath ;-)


I'll just carry on with the ugly work-around described earlier of 
copying the element into a top-level array, passing  that, and copying 
back afterwards . sigh.


Thanks everyone for your help and comments.
-- Alex.

(example - vaguely close to though simpler than the real example)

in my library stack (used in 90% of my current projects)

function readData pURL, @pData, @pInverse
  put URL (pURL) into temp
  repeat for each line L in temp
 add 1 to tCount
 put item 2 to -1 of L into pData[item 1 of L]
 repeat for each item K in (item 2 to -1 of L)
put L CR after pInverse[K]
end repeat
  end repeat
  return tCount
end readData

and in some stacks I just do

local pData, pInverse

put empty into pData
put empty into pIndex
put readData( someURL, pData, pInverse) into tC


while in others I'd do

repeat for each line thisURL in tListOfURLs
   put readData( thisURL, pData[thisURL], pInverse) into 
pData[thisURL][count]

end repeat
...
i.e. can be either a whole array or a sub-array.


___
use-livecode mailing list
use-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] What does Richmond do with Livecode?

2012-10-01 Thread stephen barncard
my use of the term 'SMITE'  was inspired by a New Yorker cartoon depicting
god in heaven looking down on earth, button finger outstretched to a
control named 'SMITE'

On Mon, Oct 1, 2012 at 3:16 PM, Bob Sneidar  b...@twft.com wrote:

 Thanks Scott! That is going into  next app for sure! I'm thinking about a
 record deletion confirmation dialog...

 Bob


 On Oct 1, 2012, at 12:42 PM, Scott Rossi wrote:

  You're not thinking visual enough:
  http://www.tactilemedia.com/download/smite_button.gif
 
  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




-- 



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: command-click on a word

2012-10-01 Thread Bob Sneidar
Command clicking and right-clicking are the same thing in OS x (unless you 
changed the default prefs). What you are really talking about is a contextual 
menu. These can be modified. I have an app that does it, thanks to someone on 
this list who showed me how to modify the contextual menu handler built into 
LC. Be careful though! Get it wrong and it can cause problems in other ways. 

To do this, you have to insert some code into the frontScript. My code, which 
allows me to right click a field in pointer mode, and select a type of 
validation from options that I added to the normal contextual menu. If only I 
could remember the people who help me with this kind of thing and give them 
credit I would, but my memory is an old man's memory. Always has been. It looks 
like this:

on revHookBuildObjectEditorContextMenu pMenuTarget, pMenuName, @pMenu, 
tModifiedMenu
put the topstack into theCurrentStack
put the long name of this card of theCurrentStack into theCurrentCard
put the customkeys of theCurrentStack into theCustomProps

if theCustomProps is empty then
pass revHookBuildObjectEditorContextMenu
exit revHookBuildObjectEditorContextMenu
end if

if word 1 of pMenuTarget is among the items of field and \
(PreConversions is among the lines of theCustomProps or \
MidValidations is among the lines of theCustomProps or \
PostValidations is among the lines of theCustomProps) then
put Data Type into line 1 of theValMenu
put tab  Text into line 2 of theValMenu
put tab  Number into line 3 of theValMenu
put tab  Date into line 4 of theValMenu
put - into line 5 of theValMenu
put Pre-Conversions into line 6 of theValMenu
put Mid-Validations into line 7 of theValMenu
put Post-Validations  lf  -  lf into line 8 of theValMenu
-- put the valMenu of me into theValMenu
put theValMenu before pMenu
end if

-- preCheck the data type
if DataType is among the lines of the customkeys of pMenuTarget then
put the DataType of pMenuTarget into theDataType
if theDataType is not empty then
put lineoffset(theDataType, pMenu) into theTypeLine
if theTypeLine is not 0 then
put !c before word 1 of line theTypeLine of pMenu
end if
end if
end if

pass revHookBuildObjectEditorContextMenu
end revHookBuildObjectEditorContextMenu


function dispatchContextMenuPick pMenuName, pWhich
if Data Type is in pWhich or \
Validations is in pWhich or \
Conversions is in pWhich then
send initVal  pWhich to the topstack in 0 seconds
exit to top -- essential that we do not pass anything along that LC 
does not expect
end if
pass dispatchContextMenuPick
end dispatchContextMenuPick

This code is fairly specific to what I want to do, but if you study it you will 
be able to discern what it does. The first function intercepts the 
revHookBuildObjectEditorContextMenu, which is responsible for building the 
contextual menu for all objects in LC. Having done that, I check for certain 
conditions, such as a custom property of the stack, and the fact that it was a 
field that was clicked on. I then proceed to append options to the menu text. 
The next function conditionally acts upon what was chosen. 
On Oct 1, 2012, at 2:40 PM, Timothy Miller wrote:

 Thanks Peter and Craig,
 
 Good thoughts, but I wasn't thinking of either one of those things. I am 
 aware of the new LC text property that makes spell check possible in LC, I 
 have looked at the spell-checker in the LC store, and I do remember the HC 
 command-key feature. (Heck, my Atari 64 seems like just yesterday!) You've 
 probably overestimated me. My question was much dumber than that.
 
 I'm just wondering two things. Is command-clickng on a hilited word an OS 
 thing, or does each application implement this feature independently? If it's 
 an OS thing, it might not be not very hard to implement. In that case why 
 doesn't LC do it? I.e., not just spell-check but all those other cute tricks 
 -- look up on google, look up in the dictionary, cut, copy, etc? 
 
 Cheers,
 
 Tim
 
 
 On Oct 1, 2012, at 12:28 PM, Peter Haworth wrote:
 
 Hi Tim,
 There was a similar discussion a few months back regarding the spell
 checking ability built into an OS, specifically OSX.  The outcome of that
 was simply that LC doesn't provide a way to hook into it so I think the
 answer to your question would be the same.
 
 There is a third party spell checker application available on the RunRev
 store but I don;t remember seeing anything for the feature you mentioned.
 
 Pete
 lcSQL Software http://www.lcsql.com
 
 
 
 On Mon, Oct 1, 2012 at 10:34 AM, Timothy Miller 
 gand...@doctortimothymiller.com wrote:
 
 I'm not writing to complain about an absent feature. Mostly just curious,
 and maybe I'll learn something 

Re: command-click on a word

2012-10-01 Thread J. Landman Gay

On 10/1/12 4:40 PM, Timothy Miller wrote:


I'm just wondering two things. Is command-clickng on a hilited word
an OS thing, or does each application implement this feature
independently? If it's an OS thing, it might not be not very hard to
implement. In that case why doesn't LC do it? I.e., not just
spell-check but all those other cute tricks -- look up on google,
look up in the dictionary, cut, copy, etc?


It's an OS X Service and apps can hook into it if they want. I suspect 
LiveCode doesn't do it because of its cross-platform nature. None of the 
other operating systems have it and branching the engine code to support 
a single OS is probably a lot of work. It wouldn't make our jobs any 
easier either, since only apps built for Macs would work with it.


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

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


Re: [OT] Facebook

2012-10-01 Thread J. Landman Gay

On 10/1/12 5:14 PM, Bob Sneidar wrote:

As far as
identity theft, I am not sure how having a picture of me can induce a
bank to start up an account with my name.


From the research paper:

We investigated the feasibility of combining publicly available Web 2.0 
data with off-the-shelf face recognition software for the purpose of 
large-scale, automated individual re-identification. Two experiments 
demonstrated the ability of identifying strangers online (on a dating 
site where individuals protect their identities by using pseudonyms) and 
offline (in a public space), based on photos made publicly available on 
a social network site. A third proof-of-concept experiment illustrated 
the ability of inferring strangers' personal or sensitive information 
(their interests and Social Security numbers) from their faces, by 
combining face recognition, data mining algorithms, and statistical 
re-identification techniques. The results highlight the implications of 
the inevitable convergence of face recognition technology and increasing 
online self-disclosures, and the emergence of ``personally predictable'' 
information.


http://www.heinz.cmu.edu/~acquisti/face-recognition-study-FAQ/

From the original link: Drawing upon previous research, they were also 
relatively successful at guessing individuals’ Social Security numbers. 
From there, of course, it is just an automated click to your Google 
profile, LinkedIn work history, credit report, and many other slices of 
private information. 


http://www.forbes.com/sites/chunkamui/2011/08/08/facebooks-privacy-issues-are-even-deeper-than-we-knew/

Once you have enough info, you walk into the bank and open an account.

--
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: Bug or just something you can't do ?

2012-10-01 Thread Bob Sneidar
Yes, a conditional test for an array would be necessary, as well as a loop for 
multiple elements of the array. It's not that hard really, and once the code is 
written, it will just work, which is the whole point of writing utility 
handlers. It may seem ugly, but think of it from the other end. The calling 
program has a one liner it can call, and can pass a normal variable, or an 
array. Think of this also. Somewhere the code is going to have to be 
complicated enough to handle the situation. Better in the handler, written 
once, used many times, than in the calling code which may have to be rewritten 
for every app that needs it. 

Just my 2¢. 

Bob


On Oct 1, 2012, at 3:36 PM, Alex Tweedly wrote:

 On 01/10/2012 17:40, Bob Sneidar wrote:
 It's my understanding that presently you cannot pass an array element by 
 reference. You can only pass the entire array.
 
 Yeah - that's the whole problem I am complaining about :-)
 Instead try passing the entire array, then checking inside your command to 
 see if it is an array and then act accordingly.
 I can't see how to do that (without some *really* ugly code within the 
 handler). The problem is that (in the handler) the parameter is an array 
 passed in by reference so that it can be modified; sometimes I want to call 
 it with an entire array, others with a sub-array (i.e. an array element which 
 is itself an array). So the handler can't simply check whether what was 
 passed was an array. 


___
use-livecode mailing list
use-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] What does Richmond do with Livecode?

2012-10-01 Thread Bob Sneidar
Mrrphh grrggle mrrphhhplhle grrphphlt! 

On Oct 1, 2012, at 3:38 PM, stephen barncard wrote:

 my use of the term 'SMITE'  was inspired by a New Yorker cartoon depicting
 god in heaven looking down on earth, button finger outstretched to a
 control named 'SMITE'
 
 On Mon, Oct 1, 2012 at 3:16 PM, Bob Sneidar  b...@twft.com wrote:
 
 Thanks Scott! That is going into  next app for sure! I'm thinking about a
 record deletion confirmation dialog...
 
 Bob


___
use-livecode mailing list
use-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: Would anyone mind..

2012-10-01 Thread Mike Bonner
Thanks for the kind words, glad it actually worked too!

Mike

On Mon, Oct 1, 2012 at 10:03 AM, Jim Little littlejam...@mac.com wrote:

 Hi Mike,

 Thank you for contributing this plugin to the community.

 I've tried it out this morning and it worked flawlessly.

 I like your UI as it is … simple and intuitive.

 The code is nicely documented.

 Thanks again,

 Jim Little


 On Sep 30, 2012, at 6:52 PM, Mike Bonner wrote:

  Would anyone mind checking over a stack for me?  I've come to the
  conclusion that I just don't have the energy for a real project (plus
 with
  my design skills its pretty much out of my reach) but I do think there
 are
  some  useful aspects to the thing as it sits right now.  Unfortunately my
  other efforts to extend it have.. er.. How to put this politely.  Ok
  they've sucked.
 
  As it sits, the stack will track the mainstacks that are open, filtered
  based on a list of filters in a field. (to eliminate untitled mainstacks
  and rev stacks from the list) The list should auto update when changes
 are
  made (thanks to pete, thanks pete!)
  It also maintains a list of all stacks currently backed up. The backups
 are
  stored in an array in a property of the stack.
 
  What its good for:
  Want to take a snapshot of a mainstack and all of its substacks that are
 in
  memory? (They don't have to be saved, and even if they are, the version
 is
  memory is what will be backed up) select from the list and click backup.
  The stacks are added to the array of backed up stacks, and the plugin
  stack saves itself.
 
  If you took a snapshot of a stack hierarchy and then manage to break the
  stack you're working on, you can then recover the snapshot and look at
 the
  code of the recovered copy along side the main working stack. If a stack
 is
  with an identical name is already in memory the recovered stacks are
 named
  copy of thestackname so there is no worry about the that stack is
  already in memory message.
 
  Want to revert to the snapshot? Just close the stacks you wish to dump,
  then either rename the copy of.. or close the misnamed stacks and then
  recover them again. They'll pop back out with the correct name as long
 as a
  stack name is not already in use. If the destroystack property is not set
  for your stacks this means forcibly removing them from memory.
 
  Thats about it.  Why am I blabbing all this here? Because someone (with a
  better grasp of design and structure for this sort of thing, AKA not me)
  could easily convert the method in to a cvs.  The sheer speed at which a
  stack and its substacks can be grabbed this way is amazing, So, anyone
 and
  everyone is welcome to look it over, incorporate any pieces and/or parts
  into different projects, mangle it, whatever.
 
  The current version of the stack can be found at
  https://dl.dropbox.com/u/11957935/mdbRevisionPlugin.livecode The
 automagic
  stack updates won't work unless the stack script is inserted into front.
  The scripts are documented, and there is a test stack saved as a backup
  in a property of the stack. the test stack has a field with another short
  description of how things work.
  ___
  use-livecode mailing list
  use-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


[ANN] Huge mergExt update!

2012-10-01 Thread Monte Goulding
Dear LiveCoders

Today there has been a huge update to the mergExt suite. The major new features 
are:
 - activity view (mergPop 2)
- present the iOS 6 activity controller allowing the user to post text, 
images, and urls  to twitter, facebook, copy, print etc. With one simple 
command you can add all of these services to your app.

 - iPod library queries (New external mergMP)
- access artwork, titles, playlists, lyrics. Everything you need to 
create a media player in LiveCode.

 - camera control (mergAV 3)
- flash and torch control
- thumbnail images in the callback rather than needing to handle a full 
high res file if you don't need to

 - video and image picker (mergAV 3
- now you can allow a user to pick either video or a photo from the 
library at the same time

 - video composition (mergAV 3)
- load assets and create video compositions to export as new videos

 - player (mergAV 3)
- play compositions before exporting them
- play direct from ipod library
- full control to seek, play, pause, change rate

 - audio session (mergAV 3)
- change the audio session categories and modes
- find out if other audio app is playing
- allow your app to mix with or duck other apps audio. A simple example 
of duking might be an exercise timer that ducked the iPod audio when playing a 
start or stop bell.

 - maps (mergMK)
- use custom images as pins
- draw polygon overlays

- datagrid scroller (mergDataGridScroller)
- over and under scroll bounce back of the datagrid

As many of you may know LiveCode 5.5.2 introduced an engine change that 
required iOS externals to be significantly modified. All the mergExt externals 
have been updated for LC 5.5.2, however, there is continued support back to 
LiveCode 5. There have also been a number of bug fixes in the externals SDK. 
The most significant of these now allows externals to find out the scale the 
stack is displayed at on retina devices so popover locations and control rects 
can now be set in LiveCode pixels rather than UIKit points.

The individual components in the suite now have a total value of $524 making 
the price for the suite ridiculously low so as of November 1 the price of the 
suite will rise to $299 per year of access. The 20% discount for buying another 
year of access before your time is up will continue to apply. You can do this 
at any time as it is added to the end. The monthly subscription will rise to 
$79 for the first month and $20 per month ongoing. For existing subscribers 
your subscription rate will not be modified unless you cancel and re-subscribe. 
That means that until the end of the month you are able to lock in a 
subscription for $10 a month ongoing to the suite. Or if you prefer purchasing 
a year at a time you can buy up as many years as you like at the existing rate.

This is your chance to beat the price rise!

Regards

Monte Goulding
--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
use-livecode mailing list
use-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: Would anyone mind..

2012-10-01 Thread Mark Smith
Hi Mike, what is a cvs?

-- Mark



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Would-anyone-mind-tp4655630p4655711.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: Would anyone mind..

2012-10-01 Thread Mike Bonner
er.. vcs. :) cvs is dislexia.

On Mon, Oct 1, 2012 at 7:56 PM, Mark Smith mark_sm...@cpe.umanitoba.cawrote:

 Hi Mike, what is a cvs?

 -- Mark



 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/Would-anyone-mind-tp4655630p4655711.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: iOS Keyboard input question

2012-10-01 Thread J. Landman Gay

On 10/1/12 9:14 AM, Graham Samuel wrote:

I'm working on an iOS app where keyboard input is allowed for a set
of fields shown on the screen of the device: some are still visible
when the keyboard comes up, i.e. not hidden by the keyboard - this is
by design. These single-line fields are locked, with TraversalOn
true, since in iOS you can't type directly into a field but have to
do it via the system keyboard.

What the user does is to touch a field which he/she wants to update.
This triggers a data entry sequence starting with a 'focusIn' handler
which brings up the keyboard and a particular screen area (a
pseudo-field really) to type into, as per the current LC iOS
documentation. After input, the user touches 'Done' and this triggers
a 'inputEndEditing' handler which allows my script to look at the
text which has been input, verify it, put it away in the original
field which started the sequence, and remove the keyboard by making
it invisible. So far so good.

However, what I find a typical user wants to do is to bypass the
'Done' key after doing the initial input and instead simply touch
another field that needs updating and is not obscured by the
keyboard. This, I find, does fire 'focusIn', but the keyboard display
goes wrong. What I want to happen is for my 'inputEndEditing' actions
to take place normally for the initial field, including (momentary)
closing of the keyboard, followed immediately by the 'normal' action
for the second field to be touched. (I need the keyboard to be
replaced between actions since sometimes I want a text keyboard and
sometimes a numeric one.)


I thought the inputEndEditing message was sent whenever the input field 
loses focus. Seems like you should be getting that message right before 
the second field triggers the focusIn message. Is that not happening?


You could insert a temporary put statement at the beginning of the 
handler to see if it is triggering, and watch for it in Console. Maybe 
something is aborting the handler before it finishes executing.


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


Finally found one.

2012-10-01 Thread dunbarx




Finally found reproducible scripts that work as advertised when stepping 
through in the deBugger, but do not when simply run. This gremlin has been 
sighted, like the Yeti, by nominally sane people, but never caught.


Make two buttons. Name one start. Name the other stop.


in btn start:
on mouseUp
   put the seconds + 8 into tSecs
   showrandoms tSecs
end mouseUp


In btn stop:
on mouseup
   send showRandoms  0 to this card
end mouseup


In the card script:
on showRandoms tSecs
   put random(99)
   if tSecs = 0 then 
  exit to top
   end if
   if tSecs  the seconds then send showRandoms  tSecs to me in 0 millisecs
end showRandoms


Try it. If you press the start button, you get random numbers in msg for 
eight seconds. If you press the stop not while this is going on, nothing 
happens.


If you place a breakpoint at the exit to top line in the card script. the 
handler is caught there, and if you then step through, you exit. The stop 
button resets the variable tSecs to a value that will force showRandoms to 
end. And it does, but only if you step through, not if you run it. The variable 
watcher shows a 0 as the value of tSecs, as it should, and the conditional 
tosses you out of the handler. As it should.


But not in a normal run, only in the debugger.


I have been chasing this since 1987. I am not crazy. I have pictures. I will 
start a support group.


Craig Newman

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


iOS Can't Make a Standalone!

2012-10-01 Thread Rick Harrison
Hi Chris,

Ok, I managed to get the Simulators to work, and I can make a
Standalone, but now I get:  No code signature found from Xcode!
Please don't tell me I have to go through the grueling
Provisioning Profile again!

Xcode says I have a valid Provisioning Profile.

Thanks for any helpful suggestions in advance.

Rick


On Oct 1, 2012, at 6:27 PM, Rick Harrison harri...@all-auctions.com wrote:

 Hi Chris,
 
 I did already go through the process of pointing LiveCode to the Xcode app 
 bundle.
 
 I tried your suggestion of making sure that the appropriate simulator version 
 from the
 Development - Test Target was chosen, but when I went to do this both the 
 iPad
 Simulator 6.0  and the iPhone Simulator 6.0 were greyed out.  When I went into
 the Xcode Prefs for Downloads version 5.0 and version 5.1 showed up so I 
 downloaded
 them, but 6 was nowhere in that list.  So, I think I must have 6 somewhere or 
 it would be
 showing up in that list.
 
 I'll try to get the 5.0 and 5.1 Simulators to work.
 
 In the meantime, can you think of anything else to try?
 
 Thanks,
 
 Rick


___
use-livecode mailing list
use-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: Would anyone mind..

2012-10-01 Thread Dr. Hawkins
On Mon, Oct 1, 2012 at 6:58 PM, Mike Bonner bonnm...@gmail.com wrote:
 er.. vcs. :) cvs is dislexia.

Nah, I can see the sign for the local CVS from my back yard.  I'd
rather look from the front to the Sam's Town sign, though . . .


-- 
Richard E. Hawkins, Esq.
(702) 508-8462

___
use-livecode mailing list
use-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: Would anyone mind..

2012-10-01 Thread Mike Bonner
ok, my turn. Whats cvs? (would probably know but I live in bfe)

On Mon, Oct 1, 2012 at 8:43 PM, Dr. Hawkins doch...@gmail.com wrote:

 On Mon, Oct 1, 2012 at 6:58 PM, Mike Bonner bonnm...@gmail.com wrote:
  er.. vcs. :) cvs is dislexia.

 Nah, I can see the sign for the local CVS from my back yard.  I'd
 rather look from the front to the Sam's Town sign, though . . .


 --
 Richard E. Hawkins, Esq.
 (702) 508-8462

 ___
 use-livecode mailing list
 use-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: connecting to mysql

2012-10-01 Thread Mark Smith
Hi Mark, I contacted RR about their MySQL lesson and they sent me updated
connection parameters:


   put runrev.com into tDatabaseAddress
   put runrev_test into tDatabaseName
   put runrev_example into tDatabaseUser
   put example into tDatabasePassword
   -- connect to the database
      put revOpenDatabase(MySQL, tDatabaseAddress, tDatabaseName,
tDatabaseUser, tDatabasePassword) into tResult

Worked for me.

-- Mark



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/connecting-to-mysql-tp4655547p4655718.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: mysql question

2012-10-01 Thread Dr. Hawkins
On Mon, Oct 1, 2012 at 9:48 AM, Bob Sneidar b...@twft.com wrote:
 I may have missed the post prior, but I believe this is true only of sqLite 
 databases. In a
mySQL database, LC would not create a new database because of the security 
built
into mySQL.

I may well be mistaken; I'm hardly an expert.

I though it was the local db creating on the opendatabse() command,
with the mysql not doing it as a remote/server issue.


 So far as I know, if you want to create a new mySQL database, you will have 
 to shell
in to a mySQL server. Also, if it is a hosted server you may not be able to do 
even
that because of the front end security involved.

Most seem to have that blocked, too.

-- 
Richard E. Hawkins, Esq.
(702) 508-8462

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


Re: [ANN] Huge mergExt update!

2012-10-01 Thread Ken Ray

On Oct 1, 2012, at 8:45 PM, Monte Goulding wrote:

 Dear LiveCoders
 
 Today there has been a huge update to the mergExt suite. The major new 
 features are:

Sweet! Came just in the nick of time for my project…

Thanks, Monte!

Ken Ray
Sons of Thunder Software, Inc.
Email: k...@sonsothunder.com
Web Site: http://www.sonsothunder.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: Would anyone mind..

2012-10-01 Thread Jim Little
Mike,

I agree.  It does seem that your plugin could be readily expanded into a 
version control system.  

Jim Little  



On Oct 1, 2012, at 7:48 PM, Mike Bonner wrote:

 ok, my turn. Whats cvs? (would probably know but I live in bfe)
 
 On Mon, Oct 1, 2012 at 8:43 PM, Dr. Hawkins doch...@gmail.com wrote:
 
 On Mon, Oct 1, 2012 at 6:58 PM, Mike Bonner bonnm...@gmail.com wrote:
 er.. vcs. :) cvs is dislexia.
 
 Nah, I can see the sign for the local CVS from my back yard.  I'd
 rather look from the front to the Sam's Town sign, though . . .
 
 
 --
 Richard E. Hawkins, Esq.
 (702) 508-8462
 
 ___
 use-livecode mailing list
 use-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: Datagrid's scroll bar thumb moves but data doesn't. (Solved)

2012-10-01 Thread James Hale
I seem to have solved the datagrid not scrolling issue.
Quite by accident I reduced the datagrid area in order to add a new one and try 
some different method of populating it. Belief in suspicious behaviour I know.
In any case before doing more than changing the original's size I looked at 
another issue and inadvertently scrolled over the original datagrid.
It scrolled!
I then resized the datagrid back to where it was and the scroll stopped working 
again.
I then realized that the top edge of the datagrid was under the bottom edge of 
another field.
Only by a pixel or two.
This overlap was the problem.
Or so I thought.
Playing around with how close I could get the two fields resulted in my not 
being able to reproduce the original problem.

So my issue is resolved, but I don't know by what means.

James


___
use-livecode mailing list
use-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: Finally found one.

2012-10-01 Thread Mark Wieder
Craig-

Monday, October 1, 2012, 7:25:49 PM, you wrote:

[bunch of stuff deleted]

 Try it. If you press the start button, you get random numbers
 in msg for eight seconds. If you press the stop not while this is
 going on, nothing happens.

You need to give the engine some room to breathe. Insert the line

wait 0 milliseconds with messages

at the start of your showRandoms function. The with messages part
will allow the engine a chance to look around and see if any events
have occurred (as for instance someone pressing the Stop button).
Otherwise you've coded up a loop that's so tight the engine will never
see the mouseUp (or any other) message.

When you're running this in the debugger there are a lot of engine
events happening - your actual code is only a small fraction of that,
and the engine is paying attention to everything in the environment.
That's why your mouseclicks get registered.

-- 
-Mark Wieder
 mwie...@ahsoftware.net


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