Re: [OT] Urban OS

2011-10-02 Thread Martin Baxter
On 30/09/2011 17:23, stephen barncard wrote:
 THis is absurd for them to expect this to take off.
 

Optimistic perhaps, absurd is too strong. It strikes me as YAOM (Yet
Another Optimistic Moonshot). If they are exactly on target they may do
very well. If they miss, even slightly, they probably get nothing.

 What about security - not trivial

Not achievable either as long as hordes of unaccountable and frequently
clueless people are involved, which will obviously be the case. The
whole concept is a nightmare really, but nobody will realise until it
actually goes badly wrong because that's the way we do things, rush in
where angels fear to tread and D'oh later.

However, security will be a nightmare regardless of any OS that is or
isn't used, the fundamental issue is opening everything to the
possibility of remote control or monitoring. If history is anything to
go by, the more we are accustomed to thinking of a device as a dumb or
passive mechanism, the more casual we will be about its security. There
are apparently wireless interfaces in modern cars that have no security
worth speaking of, which could theoretically allow wireless attacks to
control parts of the car while on the road, medical implants such as
pacemakers can be hacked wirlessly. I recall hearing that the Taliban
eavesdropped on the control traffic of military drones which nobody
thought to encrypt!! People already hack traffic signs and ticker tape
displays and so on.

 Is this proprietary? - if so, bound to fail

Microsoft, Apple, Oracle, bound to fail.

 what processor is this based on?

Don't know, but my guess is whatever processor makes commercial sense.

 Who coordinates development and support?

LOL. Moxie Marlinspike Maybe?

 How is it paid for?

My assumption was that this is probably funded by venture capital at
present, and likely looking for more investors, hence the article.

 
 an OS of any kind is a big deal.  I am very skeptical.
 

Seriously, the sinister world of interconnected mundane gadgets is
supposed to be an inevitable outcome of ubiquious networking and IPv6
and if that is the case, it is surely arguable that there should be an
OS designed specifically for purpose rather than relying on some
cannibalised desktop OS.

I think I share your scepticism of this particular project, if only
because I don't know enough about it, but I would not be surprised if
something of this general nature is very successful at some point.

If you want to make some quick money though, write a scifi blockbuster
movie based around the premise of an urban environment that is entirely
connected and controlled by AI software which has gone mad. CGI fun!
Comedy/paranoia genre. Brazil on steroids. Plausibility irrelevant.

Actually, just the other day I threw out my keyboard after I realised it
was typing characters by itself and sometimes sending random keypress
commands to the OS. That's a foretaste of the future perhaps.

Martin Baxter

___
use-livecode mailing list
use-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: Reading PDF documents

2011-10-02 Thread Mark Schonewille
Chipp,

Sorry but I don't have the time to read very long e-mails, yet I try to help 
where I can.

Richard's explanation was mere speculation, even though a nice one.

Graham mentions C++ packages, which seem to be necessary for compiling.

If Graham wants to find a solution, he'll have to study more and make some 
compromises, e.g. make GhostScript a requirement for his software.

Anyway, since you know everything much better, I propose you help Graham to 
solve this problem.

--
Best regards,

Mark Schonewille

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

See what you get with only a small contribution. All our LiveCode downloads are 
listed at http://qery.us/zr

On 2 okt 2011, at 04:51, Chipp Walters wrote:

 Mark,
 
 If you actually took the time and checked it out, you would know what Graham
 is talking about IS ALREADY COMPILED. I know you think you are being
 helpful, but your two sentence responses to everyone's problems aren't
 always the best. For instance, a couple weeks ago when your curt replies
 diminished a student on these lists who only wanted to understand how LC
 compiles scripts (thanks Richard for an excellent explanation!)
 
 FYI, the ImageMagick DL is over 43 Mb, and the GhostScript install is
 another 12 each for 64-bit and 32-bit. Plus there's the necessity of
 detecting which Windows OS you're on vs which to install. Creating an
 installer which can correctly install all of this is not trivial, and it
 will create a final installation substantially larger in filesize than the
 LC application-- and difficult for many to download. And then there's this
 bit of information regarding AFTER installing the compiled binary:
 
 If you have any problems, install the Visual C++ 2010 Redistributable
 Package (x86) or Visual C++ 2010 Redistributable Package (x64). 64-bit
 Windows requires both packages (x86  x64).
 
 If I had to ship this functionality in a commercial app, I would commission
 an external.
 
 Frankly, I don't know of a single commercial app on Windows which forces the
 install of ImageMagick-- for these very  reasons. It's difficult for
 experienced users, almost certainly not trivial for newbies.
 
 On Sat, Oct 1, 2011 at 1:49 PM, Mark Schonewille 
 m.schonewi...@economy-x-talk.com wrote:
 
 Hi Graham,
 
 Try downloading a binary instead of compiling it yourself.
 
 Schools should not behave like they're the European Central Bank but should
 just install the software teachers and pupils need.
 ___
 use-livecode mailing list
 use-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: Reading PDF documents

2011-10-02 Thread Bernard Devlin
I just downloaded one of the binaries from the IM download site (the
zip file that is meant to require no installation/windows registry
atlerations).  No compilation was involved.  No error messages were
thrown up in the installation (i.e. unzipping process).  I found what
I took to be the GUI interface to IM, and fired it up.  No errors.

The zip file was indeed 43mb, which expanded  out to 109mb.  I looked
at the files included in the zip archive, and saw one called
convert.exe.  I could not imagine that Mark intends for customers to
go through a full end user GUI install. So, as a test, I copied
convert.exe into a temp directory and ran it from a command prompt.
It complained about needing a dll, so I copied that over.  Then it ran
without complaining, and explained what the command line options were.
 That is the kind of environment in which one would use shell to get
an external program to do some work.

The combined size of exe + dll combination was about 7mb.  Considering
that the Skype client weighs in at 23mb, Chrome is 44mb, and iWorks is
a 474mb download, I think we really need to move beyond a fixation on
the size of an application being downloaded.  I don't use Skype more
than once a month.  I downloaded half a gigabyte from Apple just have
a look at Keynote.  Clearly having a large initial download does not
stop most businesses from thriving (or Apple would have ditched iWorks
long ago).  I imagine Graham's clients would be happy to download an
application that was 20mb bigger if it could do what they want it to
do.  A LiveCode + IM exe/dll + Ghostscript exe/dll might still be
smaller than the Skype client.  My home DSL line has a (soft) limit of
20gb a month - many of the customers exceed that considerably and on a
regular basis.  We are not in the days of dialup modems.  Almost the
whole of the web is predicated on people being prepared to download
massive files (a friend of mine was recently reduced to using a dialup
modem for a week, and she couldn't even moderate the comments on her
blog that way).

My experiment was on a Vista Home laptop.  It didn't strike me as a
particularly difficult nor onerous task to do this test.  And I have
no interest in nor experience with ImageMagick.

I surmised this is the kind of scenario that Mark was working with.

Bernard

On Sun, Oct 2, 2011 at 3:51 AM, Chipp Walters ch...@chipp.com wrote:
 FYI, the ImageMagick DL is over 43 Mb, and the GhostScript install is
 another 12 each for 64-bit and 32-bit. Plus there's the necessity of
 detecting which Windows OS you're on vs which to install. Creating an
 installer which can correctly install all of this is not trivial, and it
 will create a final installation substantially larger in filesize than the
 LC application-- and difficult for many to download. And then there's this
 bit of information regarding AFTER installing the compiled binary:

 If you have any problems, install the Visual C++ 2010 Redistributable
 Package (x86) or Visual C++ 2010 Redistributable Package (x64). 64-bit
 Windows requires both packages (x86  x64).

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


Re: use of ME in behaviors

2011-10-02 Thread J. Landman Gay

On 10/1/11 4:38 PM, Sivakatirswami wrote:


So I am trying to understand what me references.

In order for there to be a scrollbar of a group of me , me would
have to refer to a card
or bigger parent group, or stack.

Did I get that right?


You can think of behaviors as private backscripts for an object. For 
every object that has a behavior assigned, me refers to the object 
itself. So a button's behavior script that uses me would refer to that 
button. The beauty is, me will refer independently to every button 
that uses that behavior. Me in button 1 will mean button Dog, where 
the same behavior assigned to button 2 will mean, say, button Cat.


It works like you copied the same script into each button.

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


Turn off all Radio Buttons

2011-10-02 Thread AcidJazz
Is there a single line of code that will turn off all radio buttons in a
group?

- Mark P.




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Turn-off-all-Radio-Buttons-tp3865377p3865377.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: Dragging folder to a field under linux adds file://beforethefolder

2011-10-02 Thread J. Landman Gay

On 10/1/11 7:45 AM, Olivier Dussutour wrote:

Hi Matthias,
I'm sorry to insist (needless to say I'm a beginner).
I read your answer but I wanted this script to a program that would
allow students from primary to copy files on all the computers of their
room and I found the drag and drop easier than choosing from a list.
Hence my interest in your script but if the students could select more
than one at once it would be great.


They can do that. In the script Matthias gave, tList is just a 
variable name. You could easily call it tFiles or anything else.


Your student would select several files in the Finder or Windows 
Explorer, then drag them all to your stack at the same time. The 
dragdrop handler Matthias posted will put all the file paths into the 
variable, one path per line.


Your own handler can then get each line of tList and work with it.



ON dragdrop
put the dragdata[files] into tList
END dragdrop


If I have selected three files in the OS, the above handler would 
contain something like this in the variable tList:


volume/folder/file1.txt
volume/folder/file2.txt
volume/folder/file3.txt

--
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: Reading PDF documents

2011-10-02 Thread Roger Eller
On Sun, Oct 2, 2011 at 9:30 AM, Bernard Devlin wrote:

 I just downloaded one of the binaries from the IM download site (the
 zip file that is meant to require no installation/windows registry
 atlerations).  No compilation was involved.  No error messages were
 thrown up in the installation (i.e. unzipping process).  I found what
 I took to be the GUI interface to IM, and fired it up.  No errors.

  The zip file was indeed 43mb, which expanded  out to 109mb.


snip


  A LiveCode + IM exe/dll + Ghostscript exe/dll might still be smaller
 than...


snip



 Bernard


An earlier post mentioned that IM actually uses GS to do postscript and PDF
conversions.  That is why in my experience, just using the GS command-line
features were simpler and required nothing more than LiveCode shell, and GS
to convert a PDF to a multitude of LC compatible bitmap formats.  So, is IM
an unnecessary layer?  I think so if indeed IM needs GS to do this.

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


Re: Turn off all Radio Buttons

2011-10-02 Thread J. Landman Gay

On 10/2/11 11:25 AM, AcidJazz wrote:

Is there a single line of code that will turn off all radio buttons in a
group?


set the hilitedbutton of grp groupName to 0


--
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: Turn off all Radio Buttons

2011-10-02 Thread Klaus on-rev
Hi Mark,

Am 02.10.2011 um 18:25 schrieb AcidJazz:

 Is there a single line of code that will turn off all radio buttons in a
 group?

Yes :-)


Ah, the line:
...
set the hilitedbutton of grp X to 0
...

 - Mark P.

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: Reading PDF documents

2011-10-02 Thread Roger Eller
On Sun, Oct 2, 2011 at 12:36 PM, Roger Eller wrote:

 On Sun, Oct 2, 2011 at 9:30 AM, Bernard Devlin wrote:

 I just downloaded one of the binaries from the IM download site (the
 zip file that is meant to require no installation/windows registry
 atlerations).  No compilation was involved.  No error messages were
 thrown up in the installation (i.e. unzipping process).  I found what
 I took to be the GUI interface to IM, and fired it up.  No errors.

  The zip file was indeed 43mb, which expanded  out to 109mb.


 snip


  A LiveCode + IM exe/dll + Ghostscript exe/dll might still be smaller
 than...


 snip



 Bernard


 An earlier post mentioned that IM actually uses GS to do postscript and PDF
 conversions.  That is why in my experience, just using the GS command-line
 features were simpler and required nothing more than LiveCode shell, and GS
 to convert a PDF to a multitude of LC compatible bitmap formats.  So, is IM
 an unnecessary layer?  I think so if indeed IM needs GS to do this.

 ˜Roger



I found these short instructions, which you can also shell from LC to
perform a 'silent install' of GhostScript, thus reducing confusion and
frustration of the end user.

http://theether.net/kb/100096

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


Re: Reading PDF documents

2011-10-02 Thread stephen barncard
could this Passive-agressive BS stop, now PLEASE?.

On 2 October 2011 04:40, Mark Schonewille
m.schonewi...@economy-x-talk.comwrote:

 Chipp,

 Sorry but I don't have the time to read very long e-mails, yet I try to
 help where I can.

 Richard's explanation was mere speculation, even though a nice one.

 Graham mentions C++ packages, which seem to be necessary for compiling.

 If Graham wants to find a solution, he'll have to study more and make some
 compromises, e.g. make GhostScript a requirement for his software.

 Anyway, since you know everything much better, I propose you help Graham to
 solve this problem.

 --
 Best regards,

 Mark Schonewille

 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


Setting visible of control within group to false

2011-10-02 Thread James Hurley
Is this supposed to happen? When I set the visible of a control within a group 
to false, it is removed from the group.

As a work-around I find that if I include a rectangle that  physically 
encompasses everything in the group and THEN set the visible of a control 
within the rectangle to false, it remains in the group.

Jim 
___
use-livecode mailing list
use-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: Reading PDF documents

2011-10-02 Thread Chipp Walters
Roger,

Interesting. I wonder if one can use Ghostscript by itself to read a PDF? 


Chipp Walters
CEO, Shafer Walters Group, Inc

On Oct 2, 2011, at 12:28 PM, Roger Eller roger.e.el...@sealedair.com wrote:

 On Sun, Oct 2, 2011 at 12:36 PM, Roger Eller wrote:
 
 On Sun, Oct 2, 2011 at 9:30 AM, Bernard Devlin wrote:
 
 I just downloaded one of the binaries from the IM download site (the
 zip file that is meant to require no installation/windows registry
 atlerations).  No compilation was involved.  No error messages were
 thrown up in the installation (i.e. unzipping process).  I found what
 I took to be the GUI interface to IM, and fired it up.  No errors.
 
 The zip file was indeed 43mb, which expanded  out to 109mb.
 
 
 snip
 
 
 A LiveCode + IM exe/dll + Ghostscript exe/dll might still be smaller
 than...
 
 
 snip
 
 
 
 Bernard
 
 
 An earlier post mentioned that IM actually uses GS to do postscript and PDF
 conversions.  That is why in my experience, just using the GS command-line
 features were simpler and required nothing more than LiveCode shell, and GS
 to convert a PDF to a multitude of LC compatible bitmap formats.  So, is IM
 an unnecessary layer?  I think so if indeed IM needs GS to do this.
 
 ˜Roger
 
 
 
 I found these short instructions, which you can also shell from LC to
 perform a 'silent install' of GhostScript, thus reducing confusion and
 frustration of the end user.
 
 http://theether.net/kb/100096
 
 ˜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

___
use-livecode mailing list
use-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: Reading PDF documents

2011-10-02 Thread Chipp Walters
Good sleuthing Bernard! Most valuable. I suspect if this can be tested, it 
would be super easy to suck up this exe into an app and then spit it out on 
first run.
(see Chipp's Tips below)
http://www.altuit.com/webs/revCentral/Number6/default.htm

Chipp Walters
CEO, Shafer Walters Group, Inc

On Oct 2, 2011, at 8:30 AM, Bernard Devlin bdrun...@gmail.com wrote:

 I just downloaded one of the binaries from the IM download site (the
 zip file that is meant to require no installation/windows registry
 atlerations).  No compilation was involved.  No error messages were
 thrown up in the installation (i.e. unzipping process).  I found what
 I took to be the GUI interface to IM, and fired it up.  No errors.
 
 The zip file was indeed 43mb, which expanded  out to 109mb.  I looked
 at the files included in the zip archive, and saw one called
 convert.exe.  I could not imagine that Mark intends for customers to
 go through a full end user GUI install. So, as a test, I copied
 convert.exe into a temp directory and ran it from a command prompt.
 It complained about needing a dll, so I copied that over.  Then it ran
 without complaining, and explained what the command line options were.
 That is the kind of environment in which one would use shell to get
 an external program to do some work.
 
 The combined size of exe + dll combination was about 7mb.  Considering
 that the Skype client weighs in at 23mb, Chrome is 44mb, and iWorks is
 a 474mb download, I think we really need to move beyond a fixation on
 the size of an application being downloaded.  I don't use Skype more
 than once a month.  I downloaded half a gigabyte from Apple just have
 a look at Keynote.  Clearly having a large initial download does not
 stop most businesses from thriving (or Apple would have ditched iWorks
 long ago).  I imagine Graham's clients would be happy to download an
 application that was 20mb bigger if it could do what they want it to
 do.  A LiveCode + IM exe/dll + Ghostscript exe/dll might still be
 smaller than the Skype client.  My home DSL line has a (soft) limit of
 20gb a month - many of the customers exceed that considerably and on a
 regular basis.  We are not in the days of dialup modems.  Almost the
 whole of the web is predicated on people being prepared to download
 massive files (a friend of mine was recently reduced to using a dialup
 modem for a week, and she couldn't even moderate the comments on her
 blog that way).
 
 My experiment was on a Vista Home laptop.  It didn't strike me as a
 particularly difficult nor onerous task to do this test.  And I have
 no interest in nor experience with ImageMagick.
 
 I surmised this is the kind of scenario that Mark was working with.
 
 Bernard
 
 On Sun, Oct 2, 2011 at 3:51 AM, Chipp Walters ch...@chipp.com wrote:
 FYI, the ImageMagick DL is over 43 Mb, and the GhostScript install is
 another 12 each for 64-bit and 32-bit. Plus there's the necessity of
 detecting which Windows OS you're on vs which to install. Creating an
 installer which can correctly install all of this is not trivial, and it
 will create a final installation substantially larger in filesize than the
 LC application-- and difficult for many to download. And then there's this
 bit of information regarding AFTER installing the compiled binary:
 
 If you have any problems, install the Visual C++ 2010 Redistributable
 Package (x86) or Visual C++ 2010 Redistributable Package (x64). 64-bit
 Windows requires both packages (x86  x64).
 
 ___
 use-livecode mailing list
 use-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: Reading PDF documents

2011-10-02 Thread Roger Eller
On Sun, Oct 2, 2011 at 2:18 PM, Chipp Walters wrote:

 Roger,

 Interesting. I wonder if one can use Ghostscript by itself to read a PDF?


 Chipp Walters
 CEO, Shafer Walters Group, Inc


Yes.  I posted into the other thread about this topic (a cry for help),
exactly how it can be done.  I included a function I used in my own
application a few years ago.

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


Re: Setting visible of control within group to false

2011-10-02 Thread Scott Rossi
Jim:

Are you sure the control gets physically placed outside the group?  Are you
using any scripts to manipulate object layers?

Doing a quick test here with a single object in a group, I don't see your
result (v4.6.4). The rect of a group does indeed collapse to encompass
only its visible contents, but the hidden object/s should continue to remain
part of the group.  If you're seeing something else, it would be good know
what the circumstances are.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



Recently, James Hurley wrote:

 Is this supposed to happen? When I set the visible of a control within a group
 to false, it is removed from the group.
 
 As a work-around I find that if I include a rectangle that  physically
 encompasses everything in the group and THEN set the visible of a control
 within the rectangle to false, it remains in the group.
 
 Jim 



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


How do I detect simultaneous touch of 2 objects for iOS?

2011-10-02 Thread Bill Vlahos
I have two object. Under some circumstances it is fine for only one of them to 
be tapped but other times it is appropriate for both of them to be tapped at 
the same time. I don't want to drag them anywhere just touch them.

How do I detect both touches?

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


___
use-livecode mailing list
use-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: Setting visible of control within group to false

2011-10-02 Thread James Hurley
Scott,

Thanks for your reply.

My mistake. It is not removed from the group. What happens is that the 
dimensions of the group change when an outside control is made invisible.

My script did something line this:

--With the outside button invisible
set the visible of button myButton to true -- this is an outside button
put the loc of group myGroup into tGroupLoc
--do some stuff
set the visible of button myButton to false --This is an outside button
set the loc of group myGroup to tGroupLoc -- And this is a NEW location due 
to the shrinkage of the group size.

This is remedied by including everything within a rectangle (of zero line 
size). This way the dimensions of the group remain intact. 
Another alternative, I see, would be to set the visible to false AFTER reseting 
the group location--reverse the order of the last two steps. This expands the 
group size to include the now visible button. 

Jim

 Jim:
 
 Are you sure the control gets physically placed outside the group?  Are you
 using any scripts to manipulate object layers?
 
 Doing a quick test here with a single object in a group, I don't see your
 result (v4.6.4). The rect of a group does indeed collapse to encompass
 only its visible contents, but the hidden object/s should continue to remain
 part of the group.  If you're seeing something else, it would be good know
 what the circumstances are.
 
 Regards,
 
 Scott Rossi
 Creative Director
 Tactile Media, UX Design
 
 Recently, James Hurley wrote:
 
  Is this supposed to happen? When I set the visible of a control within a 
 group  to false, it is removed from the group.
 
  As a work-around I find that if I include a rectangle that  physically
 encompasses everything in the group and THEN set the visible of a control 
 within the rectangle to false, it remains in the group.
 
 
  Jim 
 





___
use-livecode mailing list
use-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: Reading PDF documents

2011-10-02 Thread Chipp Walters
HI Roger,

Yes, I should have said, I *ALSO* wonder if one can use Ghostscript by
itself to read a PDF? I did read your email. If I get some time later, I
might try and play around with this.

On Sun, Oct 2, 2011 at 1:23 PM, Roger Eller roger.e.el...@sealedair.comwrote:

 On Sun, Oct 2, 2011 at 2:18 PM, Chipp Walters wrote:

  Roger,
 
  Interesting. I wonder if one can use Ghostscript by itself to read a PDF?
 
 
  Chipp Walters
  CEO, Shafer Walters Group, Inc
 

 Yes.  I posted into the other thread about this topic (a cry for help),
 exactly how it can be done.  I included a function I used in my own
 application a few years ago.

 ˜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




-- 
Chipp Walters
CEO, Shafer Walters Group, Inc.
___
use-livecode mailing list
use-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: Reading PDF documents

2011-10-02 Thread Chipp Walters
Hi Mark,

I understand your point about long emails. FWIW, I try and not offer advice
on emails which I can't take time to fully read and understand.

Actually, I use a number of already compiled commercial apps which also have
to install MS's C++ libraries along with the application. This seems to be
standard practice for many installs.

I will try and see what I can do to help out Graham per your suggestion.

On Sun, Oct 2, 2011 at 6:40 AM, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:

 Chipp,

 Sorry but I don't have the time to read very long e-mails, yet I try to
 help where I can.

 Richard's explanation was mere speculation, even though a nice one.

 Graham mentions C++ packages, which seem to be necessary for compiling.

 If Graham wants to find a solution, he'll have to study more and make some
 compromises, e.g. make GhostScript a requirement for his software.

 Anyway, since you know everything much better, I propose you help Graham to
 solve this problem.

 --
 Best regards,

 Mark Schonewille

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

 See what you get with only a small contribution. All our LiveCode downloads
 are listed at http://qery.us/zr

 On 2 okt 2011, at 04:51, Chipp Walters wrote:

  Mark,
 
  If you actually took the time and checked it out, you would know what
 Graham
  is talking about IS ALREADY COMPILED. I know you think you are being
  helpful, but your two sentence responses to everyone's problems aren't
  always the best. For instance, a couple weeks ago when your curt replies
  diminished a student on these lists who only wanted to understand how LC
  compiles scripts (thanks Richard for an excellent explanation!)
 
  FYI, the ImageMagick DL is over 43 Mb, and the GhostScript install is
  another 12 each for 64-bit and 32-bit. Plus there's the necessity of
  detecting which Windows OS you're on vs which to install. Creating an
  installer which can correctly install all of this is not trivial, and it
  will create a final installation substantially larger in filesize than
 the
  LC application-- and difficult for many to download. And then there's
 this
  bit of information regarding AFTER installing the compiled binary:
 
  If you have any problems, install the Visual C++ 2010 Redistributable
  Package (x86) or Visual C++ 2010 Redistributable Package (x64). 64-bit
  Windows requires both packages (x86  x64).
 
  If I had to ship this functionality in a commercial app, I would
 commission
  an external.
 
  Frankly, I don't know of a single commercial app on Windows which forces
 the
  install of ImageMagick-- for these very  reasons. It's difficult for
  experienced users, almost certainly not trivial for newbies.
 
  On Sat, Oct 1, 2011 at 1:49 PM, Mark Schonewille 
  m.schonewi...@economy-x-talk.com wrote:
 
  Hi Graham,
 
  Try downloading a binary instead of compiling it yourself.
 
  Schools should not behave like they're the European Central Bank but
 should
  just install the software teachers and pupils need.
  ___
  use-livecode mailing list
  use-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




-- 
Chipp Walters
CEO, Shafer Walters Group, Inc.
___
use-livecode mailing list
use-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: Reading PDF documents

2011-10-02 Thread Monte Goulding
Hi All

Don't use shell on windows if you don't administer the computer your using it 
on. It is standard practice for system admins (particularly in an education 
setting) to block the cmd prompt. That locks up your app!

So use the open process commands instead. 

See: 
http://goulding.ws/2010/10/15/command-prompt-blocking-policies-and-the-shell-function/

Cheers

Monte

On 01/10/2011, at 7:50 AM, Mark Schonewille wrote:

 Hi Peter,
 
 Do you actually realise that there was a time when shell was all we had? It 
 is in no way different from the DOS or Unix command prompt from so long ago.
 
 --
 Best regards,
 
 Mark Schonewille
 
 Economy-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: http://twitter.com/xtalkprogrammer
 KvK: 50277553
 
 See what you get with only a small contribution. All our LiveCode downloads 
 are listed at http://qery.us/zr
 
 On 30 sep 2011, at 23:45, Peter M. Brigham, MD wrote:
 
 I've always been afraid of going to shell...
 


___
use-livecode mailing list
use-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: Reading PDF documents

2011-10-02 Thread Mark Schonewille
Thanks for your understanding, Chipp.

--
Best regards,

Mark Schonewille

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

See what you get with only a small contribution. All our LiveCode downloads are 
listed at http://qery.us/zr

On 2 okt 2011, at 22:35, Chipp Walters wrote:

 Hi Mark,
 
 I understand your point about long emails. FWIW, I try and not offer advice
 on emails which I can't take time to fully read and understand.
 
 Actually, I use a number of already compiled commercial apps which also have
 to install MS's C++ libraries along with the application. This seems to be
 standard practice for many installs.
 
 I will try and see what I can do to help out Graham per your suggestion.


___
use-livecode mailing list
use-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: Turn off all Radio Buttons

2011-10-02 Thread AcidJazz
Thank you both!   

I was trying:set the hilite of the hilitedbutton of me to false

Needless to say, that was not working -- for multiple reasons! 

Mark P.



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Turn-off-all-Radio-Buttons-tp3865377p3866080.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: Setting visible of control within group to false

2011-10-02 Thread J. Landman Gay

On 10/2/11 3:24 PM, James Hurley wrote:

Scott,

Thanks for your reply.

My mistake. It is not removed from the group. What happens is that
the dimensions of the group change when an outside control is made
invisible.


That's the default behavior, where a group resizes to accomodate its 
objects. You can set the group's boundingrect property to prevent the 
resizing.


--
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: Reading PDF documents

2011-10-02 Thread Chipp Walters
Graham,

You should check out:
http://svn.ghostscript.com/ghostscript/tags/ghostscript-9.02/doc/Devices.htm

There it documents how you can use Ghostscript to output
PNG,JPG,TIF,BMP and other formats. HTH.

___
use-livecode mailing list
use-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: Setting visible of control within group to false

2011-10-02 Thread dunbarx
Jim:


Me neither. I made three buttons  (B1, B2, B3) and grouped them into group 
grp1.


This in another button script:


on mouseup
set the visible of btn b2 to false
answer the owner of btn b2
end mouseUp


I get group grp1.  LC 4.5.3.


Craig Newman





-Original Message-
From: Scott Rossi sc...@tactilemedia.com
To: LiveCode Mail List use-livecode@lists.runrev.com
Sent: Sun, Oct 2, 2011 10:53 am
Subject: Re: Setting visible of control within group to false


Jim:

Are you sure the control gets physically placed outside the group?  Are you
using any scripts to manipulate object layers?

Doing a quick test here with a single object in a group, I don't see your
result (v4.6.4). The rect of a group does indeed collapse to encompass
only its visible contents, but the hidden object/s should continue to remain
part of the group.  If you're seeing something else, it would be good know
what the circumstances are.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



Recently, James Hurley wrote:

 Is this supposed to happen? When I set the visible of a control within a group
 to false, it is removed from the group.
 
 As a work-around I find that if I include a rectangle that  physically
 encompasses everything in the group and THEN set the visible of a control
 within the rectangle to false, it remains in the group.
 
 Jim 



___
use-livecode mailing list
use-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: Setting visible of control within group to false

2011-10-02 Thread Ken Ray

On Oct 2, 2011, at 7:25 PM, J. Landman Gay wrote:

 On 10/2/11 3:24 PM, James Hurley wrote:
 Scott,
 
 Thanks for your reply.
 
 My mistake. It is not removed from the group. What happens is that
 the dimensions of the group change when an outside control is made
 invisible.
 
 That's the default behavior, where a group resizes to accomodate its objects. 
 You can set the group's boundingrect property to prevent the resizing.

I think you can also set the lockLocation of the group to true to prevent it's 
resizing as well.

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


Is there a doubeTouch message?

2011-10-02 Thread Bill Vlahos
There is a doubleMouseUp message. Is there an equivalent for double taps on iOS?

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


___
use-livecode mailing list
use-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: Is there a doubeTouch message?

2011-10-02 Thread Randy Hengst
Bill,

I've used  mouseDoubleUp in iOS.

be well,
randy hengst
-
On Oct 2, 2011, at 9:22 PM, Bill Vlahos wrote:

 There is a doubleMouseUp message. Is there an equivalent for double taps on 
 iOS?
 
 Bill Vlahos
 _
 InfoWallet (http://www.infowallet.com) is about keeping your important life 
 information with you, accessible, and secure.
 
 
 ___
 use-livecode mailing list
 use-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: Is there a doubeTouch message?

2011-10-02 Thread Bill Vlahos
Randy,

I didn't realize that mouseUp and mouseDoubleUp worked on mobile too. I thought 
I had to use touch type messages.

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

On Oct 2, 2011, at 7:31 PM, Randy Hengst wrote:

 Bill,
 
 I've used  mouseDoubleUp in iOS.
 
 be well,
 randy hengst
 -
 On Oct 2, 2011, at 9:22 PM, Bill Vlahos wrote:
 
 There is a doubleMouseUp message. Is there an equivalent for double taps on 
 iOS?
 
 Bill Vlahos
 _
 InfoWallet (http://www.infowallet.com) is about keeping your important life 
 information with you, accessible, and secure.
 
 
 ___
 use-livecode mailing list
 use-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