[OT] Text analysis and author, anyone done it?

2011-06-24 Thread Peter Alcibiades
Has anyone implemented anything in LC which takes a passage of text and 
then does statistical analysis to see whether another passage was written 
by the same author?

Or do you know of any implementation in any other language for that 
matter...?

Peter

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


Re: [OT] Text analysis and author, anyone done it?

2011-06-24 Thread Robert Brenstein

You mean like turnitin or crot?

http://turnitin.com/static/index.php
http://www.siberiasoft.com/

Robert

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


LiveCode 4.6.2 released

2011-06-24 Thread Matthias Rebbe
Hi,

today i wanted to redownload LiveCode from my account and saw that Version 
4.6.2 was released. So i thought i would share that info with the list.

Regards,

Matthias

___
use-livecode mailing list
use-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: LiveCode 4.6.2 released

2011-06-24 Thread Mark Schonewille
Thanks, Matthias,

I saw an announcements on Facebook but not on this list. Looks like RunRev is 
switching to social media ;-)

--
Best regards,

Mark Schonewille

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

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

On 24 jun 2011, at 13:14, Matthias Rebbe wrote:

 Hi,
 
 today i wanted to redownload LiveCode from my account and saw that Version 
 4.6.2 was released. So i thought i would share that info with the list.
 
 Regards,
 
 Matthias



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


Visual effect transition from a card to another with sound on iOS

2011-06-24 Thread Christian Langers
Hello,

does anybody know of an elegant solution to have this transition done 
simultaneously ?

I'm using this :

visual effect push left
 if environment() is not development then iphonePlaySoundOnChannel 
getSound(load), Transient, now
go next

In the development environment and in the simulator the transition with visual 
effect and sound playing behaves as expected but on my device (iPhone GS - iOS 
4.3.3) it doesn't.

You hear first the sound and then you get the visual effect...

??

Thanks,

Christian

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


revVideograbber-iSight bug fixed in Mac OS X 10.6.8

2011-06-24 Thread Martin Koob
Good news for those wanting to use revVIdeoGrabber for capturing video  
on the Mac. The newly released update to Snow Leopard 10.6.8 fixes a  
bug in Mac OS X that resulted in part of the preview window being  
covered by a coloured area when using the built in iSight camera.  Bug  
report #9215.

This bug appeared in 10.6.5 and remained in 10.6.6 and 10.6.7.

This bug did not affect newer Macs with the FaceTime Camera.

I have tested this on a Mac Book Pro with an iSight Camera and it  
works fine.   I would like to hear from others if they are seeing the  
same thing.  If anyone else who uses revVideograbber on the Mac can  
check this out and report back that would be great.


Martin Koob



___
use-livecode mailing list
use-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: LiveCode 4.6.2 released

2011-06-24 Thread Mark Schonewille
Unfortunately, people who DO have an account on the RunRev store website are 
UNABLE to download a trial version. Does anyone know why?

Don't tell me to make another account. I am already receiving every e-mail from 
the marketing department in 5-fold, I don't need another registration with 
RunRev. I'd like to be able to freely download trials.

--
Best regards,

Mark Schonewille

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

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

On 24 jun 2011, at 13:14, Matthias Rebbe wrote:

 Hi,
 
 today i wanted to redownload LiveCode from my account and saw that Version 
 4.6.2 was released. So i thought i would share that info with the list.
 
 Regards,
 
 Matthias



___
use-livecode mailing list
use-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: LiveCode 4.6.2 released

2011-06-24 Thread Andre Garzia
Mark,

Just logout from the store and download the trial with no user.

:-D

On Fri, Jun 24, 2011 at 9:12 AM, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:

 Unfortunately, people who DO have an account on the RunRev store website
 are UNABLE to download a trial version. Does anyone know why?

 Don't tell me to make another account. I am already receiving every e-mail
 from the marketing department in 5-fold, I don't need another registration
 with RunRev. I'd like to be able to freely download trials.

 --
 Best regards,

 Mark Schonewille

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

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

 On 24 jun 2011, at 13:14, Matthias Rebbe wrote:

  Hi,
 
  today i wanted to redownload LiveCode from my account and saw that
 Version 4.6.2 was released. So i thought i would share that info with the
 list.
 
  Regards,
 
  Matthias



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




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


Re: [OT] Text analysis and author, anyone done it?

2011-06-24 Thread Peter Alcibiades
No, not quite.  Those test to see does a given text derive from some others. 
What I need to know is, whether this text, which is likely originally
authored, was authored by the same person as this other.

Its like, did St Paul write the Epistle to the Hebrews, given that we know
he wrote the one to the Romans?

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/OT-Text-analysis-and-author-anyone-done-it-tp3621990p3622425.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: LiveCode 4.6.2 released

2011-06-24 Thread Mark Schonewille
Hi Andre,

How? I don't manage. I see no links to download the files and I'll need a trial 
license.

--
Best regards,

Mark Schonewille

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

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

On 24 jun 2011, at 14:40, Andre Garzia wrote:

 Mark,
 
 Just logout from the store and download the trial with no user.
 
 :-D
 
 On Fri, Jun 24, 2011 at 9:12 AM, Mark Schonewille 
 m.schonewi...@economy-x-talk.com wrote:
 
 Unfortunately, people who DO have an account on the RunRev store website
 are UNABLE to download a trial version. Does anyone know why?
 
 Don't tell me to make another account. I am already receiving every e-mail
 from the marketing department in 5-fold, I don't need another registration
 with RunRev. I'd like to be able to freely download trials.
 
 --
 Best regards,
 
 Mark Schonewille
 
 Economy-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: http://twitter.com/xtalkprogrammer
 KvK: 50277553
 
 New: Download the Installer Maker Plugin 1.6 for LiveCode here
 http://qery.us/ce
 
 On 24 jun 2011, at 13:14, Matthias Rebbe wrote:
 
 Hi,
 
 today i wanted to redownload LiveCode from my account and saw that
 Version 4.6.2 was released. So i thought i would share that info with the
 list.
 
 Regards,
 
 Matthias
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 
 
 -- 
 http://www.andregarzia.com All We Do Is Code.
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: LiveCode 4.6.2 released

2011-06-24 Thread Andre Garzia
Damn you are right the download link was removed!

Argh!

Talking about usability, this is bad.

On Fri, Jun 24, 2011 at 9:49 AM, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:

 Hi Andre,

 How? I don't manage. I see no links to download the files and I'll need a
 trial license.

 --
 Best regards,

 Mark Schonewille

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

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

 On 24 jun 2011, at 14:40, Andre Garzia wrote:

  Mark,
 
  Just logout from the store and download the trial with no user.
 
  :-D
 
  On Fri, Jun 24, 2011 at 9:12 AM, Mark Schonewille 
  m.schonewi...@economy-x-talk.com wrote:
 
  Unfortunately, people who DO have an account on the RunRev store website
  are UNABLE to download a trial version. Does anyone know why?
 
  Don't tell me to make another account. I am already receiving every
 e-mail
  from the marketing department in 5-fold, I don't need another
 registration
  with RunRev. I'd like to be able to freely download trials.
 
  --
  Best regards,
 
  Mark Schonewille
 
  Economy-x-Talk Consulting and Software Engineering
  Homepage: http://economy-x-talk.com
  Twitter: http://twitter.com/xtalkprogrammer
  KvK: 50277553
 
  New: Download the Installer Maker Plugin 1.6 for LiveCode here
  http://qery.us/ce
 
  On 24 jun 2011, at 13:14, Matthias Rebbe wrote:
 
  Hi,
 
  today i wanted to redownload LiveCode from my account and saw that
  Version 4.6.2 was released. So i thought i would share that info with
 the
  list.
 
  Regards,
 
  Matthias
 
 
 
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 
 
  --
  http://www.andregarzia.com All We Do Is Code.
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode


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




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


LiveCode.tv Event #29

2011-06-24 Thread Mark Schonewille
Dear LiveCode users,

While celebrating the release of LiveCode 4.6.2, we invite you for another 
edition of the LiveCode.tv event. This weekend's event is scheduled for 25th 
June 2011 at 19:00h GMT (Sat. 22:00 in Moscow, Sat. 20:00 in Paris, Sat. 14:00 
in New York, Sat. 11:00 in Los Angeles, Sun. 04:00 in Sydney, Sun. 03:00 in 
Tokyo, Sun. 2:00 in Beijing; check the correct time in your own time zone).

This time we will have two presentations by one person: Ken Ray. His first 
presentation will take a look at the new DropTools Palette, how it works, what 
it does, and how you can develop your own DropTool stacks.

The second presentation will walk through setting up and using the MetaCard 
IDE, which is a spartan and less intrusive alternative to the LiveCode IDE.

For the second and last time, the European HyperCard User Group (eHUG) is 
allowed to raffle off a license of DiskDrill, courtesy of Cleverfiles. Disk 
Drill is data recovery software, a must-have for every Mac user. Find the eHUG 
website at http://www.ehug.info and visit http://www.cleverfiles.com to learn 
more about DiskDrill. A DiskDrill license is worth US$ 89. For those who don't 
win the license, you can still get a 20% discount by using the coupon code 
MUGDXDD-CF on the CleverFiles website.

During the event, you will also be able to get a 25% discount on a license for 
Installer Maker Plugin for LiveCode. You can find more info about the Installer 
Maker Plugin at http://qery.us/ce and go to http://livetalk.us/im for the 
discounted license.

Make sure to use ChatRev during the happening, otherwise you won't know where 
to watch the streams, which will be announced in ChatRev. Download ChatRev here:
http://bjoernke.com?target=chatrev
or enter in the message box:
go stack URL http://bjoernke.com/chatrev/chatrev1.3b3.rev;

We are looking for new presenters! If you would like to participate in the 
event, please head over to http://blog.livecode.tv/participate/ for ideas and 
leave a comment and/or contact Mark or Björnke. An easy way to contact us is 
through this web form http://qery.us/du

See also the following page for the same information:
http://livecode.tv

--
Best regards,

Mark Schonewille

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

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


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


LiveCode 4.6.2 Released

2011-06-24 Thread Heather Nagey

Dear List Members,

I’m delighted to announce the release of LiveCode 4.6.2 which is now  
available to download.  If you have a 4.6 LiveCode license, you will  
be able to download this update for free from your account.


In addition to upgrades in the desktop engine and some important bug  
fixes, LiveCode 4.6.2 includes the much anticipated release of our  
externals interface for iOS. This interface allows you to extend the  
existing iOS feature set using a lower level language like C, C++ or  
Objective C.  Follow the link below for full information on how to  
install this SDK and get started writing your own externals. We’ve  
provided some examples for you and helpful video to walk you through  
the process.


LiveCode iOS externals: 
http://www.runrev.com/developers/documentation/externals-sdk/

Full details of all the new features are given in the release notes  
accompanying this release.


RELEASE NOTES

The release notes for LiveCode 4.6.2 are available here:
http://www.runrev.com/downloads/livecode/4_6_2/LiveCodeNotes-4_6_2.pdf

The release notes for LiveCode 4.6.2 for Android can be found here:
http://www.runrev.com/downloads/livecode/4_6_2/LiveCodeNotes-4_6_2-Android.pdf

And finally the release notes for LiveCode 4.6.2 for iOS can be  
downloaded via this link:

http://www.runrev.com/downloads/livecode/4_6_2/LiveCodeNotes-4_6_2-iOS.pdf


I hope you enjoy all the new features, refinements and fixes in  
LiveCode 4.6.2!


Warm Regards

Heather

Heather Nagey
Customer Services Manager
http://www.runrev.com/
LiveCode – Compile Free Coding: The Faster Path to Better Apps



___
use-livecode mailing list
use-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: force exit of mouseDown?

2011-06-24 Thread Richard Gaskin

Nicolas Cueto wrote:


I've just learnt a new handler, mouseStillDown, and, more significantly,  that 
behavior scripts don't handle mouse handlers as expected.


In what way?

--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

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


Re: Visual effect transition from a card to another with sound on iOS

2011-06-24 Thread Thomas McGrath III
What happens if you reverse the order?
visual effect...
go next
it environ

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jun 24, 2011, at 7:20 AM, Christian Langers wrote:

 Hello,
 
 does anybody know of an elegant solution to have this transition done 
 simultaneously ?
 
 I'm using this :
 
 visual effect push left
 if environment() is not development then iphonePlaySoundOnChannel 
 getSound(load), Transient, now
 go next
 
 In the development environment and in the simulator the transition with 
 visual effect and sound playing behaves as expected but on my device (iPhone 
 GS - iOS 4.3.3) it doesn't.
 
 You hear first the sound and then you get the visual effect...
 
 ??
 
 Thanks,
 
 Christian
 
 ___
 use-livecode mailing list
 use-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


textstyles lost

2011-06-24 Thread Martin Meili

Hi,
how can I avoid getting the textstyles lost when I copy the text from  
a textfield (with its textformattings) over the clipboard into an  
application textdocument (e.g. Word)?

Thanks for any replies
Cheers
Martin


___
use-livecode mailing list
use-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: force exit of mouseDown?

2011-06-24 Thread Nicolas Cueto
 In what way?

mouseStillDown, for example. When part of a script set as a behavior,
mouseStillDown would not work. But that same script with the same
mouseStillDown handler, when actually stored as a button's script,
worked as expected.

One other thing I noticed during development and had thought due to my
uncertain knowledge about the various mouse-related handlers, was that
I couldn't rely on me but had to be more specific. Something like
put the short name of the owner of me into tGroup; if the flag of
button theButton of group tGroup is..., rather than simply if the
flag of me is

Anyway. I doubt I will ever rely on behaviors again. And I don't feel
confident enough with my programming skills to present this to LC as
something like a bug. Cause I have been known to be wrong -- though
not about mouseStillDown working now when it wasn't before.

Cheers.

--
Nicolas Cueto

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


Re: textstyles lost

2011-06-24 Thread Mark Schonewille
Hi Martin,

set the clipboarddata[rtf] to the rtfText of the target

--
Best regards,

Mark Schonewille

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

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

On 24 jun 2011, at 15:45, Martin Meili wrote:

 Hi,
 how can I avoid getting the textstyles lost when I copy the text from a 
 textfield (with its textformattings) over the clipboard into an application 
 textdocument (e.g. Word)?
 Thanks for any replies
 Cheers
 Martin
 


___
use-livecode mailing list
use-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] MobGUI Joins LiveCode Marketplace

2011-06-24 Thread Heather Nagey

Dear list folks,

I'm delighted to welcome MobGUI to the LiveCode Marketplace family.  
This great little plugin makes it easy and fun to add that native look  
and feel to your LiveCode iOS applications. John Craig is of course a  
well known and respected member of this community, and we look forward  
to working with him.


You can learn all about MobGUI here:

http://www.mobgui.com

You can purchase it from Marketplace here:

http://www.runrev.com/store/product/mobgui/

And to celebrate, for one month only, we are bundling this  
indispensible utility with any iOS LiveCode purchase, free. This  
includes updates, platform addons and new iOS purchases.


Warm Regards,

Heather


Heather Nagey
Customer Services Manager
http://www.runrev.com/
LiveCode – Realize fast, compile-free coding


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


Re: Focus question

2011-06-24 Thread Bill Vlahos
Terry,

Good suggestion.

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

On Jun 23, 2011, at 4:54 PM, Terry Judd wrote:

 On 24/06/2011 09:16 AM, Bill Vlahos bvla...@mac.com wrote:
 
 I figured out what the problem is but I can't figure out a workaround.
 
 I call an applescript embedded in a field on the preOpenCard Card script.
   do field blahblah as applescript
 
 Is there a way to kick my app to the front? I even tried to run an 
 AppleScript
 to active the program but that doesn't work either.
 
 Telling Applescript to activate your standalone should work but perhaps you
 need to give the other process some time to complete first, so how about at
 the end of your preOpenCard sript...
 
 send focusMe to me in 2 secs # or some other length of time
 
 on focusMe
put appName into myAppName
put merge(tell application [[myAppName]] to activate) into tScript
do tScript as applescript
 end focusMe
 
 HTH,
 
 Terry...
 
 
 Any ideas?
 
 Bill Vlahos
 
 On Jun 22, 2011, at 7:50 PM, Bill Vlahos wrote:
 
 I retested it and the windowshape property doesn't matter. It must be
 something else. 
 
 Bill
 
 Sent from my iPhone
 
 On Jun 22, 2011, at 6:47 PM, Bill Vlahos bvla...@mac.com wrote:
 
 I set it in the IDE before saving the standalone.
 
 Bill
 
 Sent from my iPhone
 
 On Jun 22, 2011, at 2:41 PM, Mark Schonewille
 m.schonewi...@economy-x-talk.com wrote:
 
 Hi Bill,
 
 Do you set the windowShape property when the stack opens?
 
 --
 Best regards,
 
 Mark Schonewille
 
 Economy-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: http://twitter.com/xtalkprogrammer
 KvK: 50277553
 
 New: Download the Installer Maker Plugin 1.6 for LiveCode here
 http://qery.us/ce
 
 On 22 jun 2011, at 22:10, Bill Vlahos wrote:
 
 I've created a Mac app which uses the Windowshape property. It works fine
 except that it opens either behind other windows or, even if it is the
 frontmost window, still doesn't actually have focus. I have to click
 anywhere on the window and then I can click on the button to get started.
 
 I want it to open in front over everything and be ready for button 
 clicks.
 
 What is wrong?
 
 Bill Vlahos
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-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
 
 
 --
 Dr Terry Judd | Senior Lecturer in Medical Education
 Medical Education Unit
 Melbourne Medical School
 The University of Melbourne
 
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


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

2011-06-24 Thread Bill Vlahos
Sims,

It does do that but I don't want it to float above everything.

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

On Jun 23, 2011, at 9:03 PM, Jim Sims wrote:

 
 On Jun 24, 2011, at 1:16 AM, Bill Vlahos wrote:
 
 Is there a way to kick my app to the front? I even tried to run an 
 AppleScript to active the program but that doesn't work either.
 
 Does systemWindow do what you want?
 
 
 sims
 ___
 use-livecode mailing list
 use-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] Text analysis and author, anyone done it?

2011-06-24 Thread Bob Sneidar
It would take more than logic to determine that. If a program was the thing 
that made that decision I would be very doubtful of it's results. 

Bob


On Jun 24, 2011, at 5:45 AM, Peter Alcibiades wrote:

 No, not quite.  Those test to see does a given text derive from some others. 
 What I need to know is, whether this text, which is likely originally
 authored, was authored by the same person as this other.
 
 Its like, did St Paul write the Epistle to the Hebrews, given that we know
 he wrote the one to the Romans?
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/OT-Text-analysis-and-author-anyone-done-it-tp3621990p3622425.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: force exit of mouseDown?

2011-06-24 Thread Richard Gaskin

Nicolas Cueto wrote:


mouseStillDown, for example. When part of a script set as a behavior,
mouseStillDown would not work. But that same script with the same
mouseStillDown handler, when actually stored as a button's script,
worked as expected.


In a way that's kinda good news, as mouseStillDown is an anomaly among 
mouse messages.  I think you'll find the other mouse messages quite 
reliable in behavior scripts, but mouseStillDown is an oddity as noted 
in the Dictionary:


 Usually, it is easier and more efficient to use the mouseMove
 message to track the movement of the mouse while the button
 is being held down.

 Note:  If there is no mouseStillDown handler in the target
 object's script, no mouseStillDown message is sent, even if
 there is a mouseStillDown handler in an object that's
 further along the message path.

Your behavior script should work if you add this to the target object:

on mouseStillDown
   pass mouseStillDown
end mouseStillDown

Why is mouseStillDown so different from other mouse messages?

Because it's uniquely inefficient, and the mouseMove message was 
provided to provide an alternative that's far more flexible and takes 
fewer system resources for many similar needs.


Most OSes provide a message when the mouse first goes down, but not all 
of them provide a second message sent continuously while the mouse is 
being held down.  So to provide mouseStillDown for us the engine needs 
to continually poll the OS for the state of the mouse button.   It does 
this with a frequency defined in the idleRate, which is far less 
frequent than checking if the mouse is down in a repeat loop, but 
still not optimal.


If the message was always sent into the message path whether or not it's 
needed, anytime the user holds the mouse down it would trigger a lot of 
messaging overhead that's never used.


But what if you need it?

Like the idle message (HyperCard's message-clogging workaround for not 
having timers), all you need to do is include a mouseStillDown handler 
in any target you want it to be sent to, and the engine will then know 
to trigger that seldom-used message.


Seldom-used?  Yes:

Historically, mouseStillDown was most often used for dragging or other 
operations in which things need to be updated while the mouse is moving. 
 In such cases, the developer probably doesn't need to update anything 
until the location of the mouse changes, but mouseStillDown is 
continually being sent anyway, requiring a lot of redundant processing 
for things which have no visible effect.


So the mouseMove message was added, providing a way to update things 
only when the mouse is moved.


MouseMove also works when the mouse is up, which can be useful for 
update mouse position indicators in a drawing program's rulers, for example.


This additional flexibility requires us to use a few other handlers to 
substitute for mouseStillDown, but it well worth the few seconds it 
takes to set up.  You'll need a mouseDown to set a flag so the mouseMove 
can know that the mouse is down without having to poll the OS (you can 
also use this flag for other useful info, as shown below), and you'll 
need mouseUp and mouseRelease messages to clear the flag.


This example is for a splitter control that adjusts the groups on either 
side of it:


local sXOffset

on mouseDown
  -- Provide the info mouseMove will need later:
  put the mouseH - the left of me into sXOffset
end mouseDown

on mouseMove
   -- Is the flag still set?
   if sXOffset is not empty then
 -- If so, handle the splitter drag here:
 set the rect of grp LeftGroup to \
   0,0,the left of me, the height of this cd
 set the rect of grp RightGroup to \
   the right of me, 0, the width of this cd,
   the height of this cd
   end if
end mouseMove

-- Clear the flag when the mouse is released over the control:
on mouseUp
   put empty into sXOffset
end mouseUp

-- Clear the flag when the mouse is release when not over the control:
on mouseRelease
  put empty into sXOffset
end mouseRelease


In addition to handling simple drags like a splitter, drag-and-drop 
operations can be handled using the messages provided for those 
(dragStart, dragMove, dragDrop, dragEnd) far more simply than emulating 
drag-and-drop behaviors with mouseStillDown.


So once we use mouseMove for movement-related things and the 
drag-and-drop messages for those types of actions, the remaining subset 
of cases where mouseStillDown can be useful are relatively few.  And for 
those, you can still use it so long as you provide a handler for it in 
the target object.




One other thing I noticed during development and had thought due to my
uncertain knowledge about the various mouse-related handlers, was that
I couldn't rely on me but had to be more specific. Something like
put the short name of the owner of me into tGroup; if the flag of
button theButton of group tGroup is..., rather than simply if the
flag of me is


More 

Re: force exit of mouseDown?

2011-06-24 Thread J. Landman Gay

On 6/24/11 12:39 PM, Richard Gaskin wrote:


In addition to handling simple drags like a splitter, drag-and-drop
operations can be handled using the messages provided for those
(dragStart, dragMove, dragDrop, dragEnd) far more simply than emulating
drag-and-drop behaviors with mouseStillDown.


Unless you're building for mobile, where the docs say that drag/drop 
isn't implemented yet. :(


The grab command might be useful here instead, though it doesn't provide 
as much control as we often need.


--
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: force exit of mouseDown?

2011-06-24 Thread Bob Sneidar
That would make a good LiveCode article. 

Bob


On Jun 24, 2011, at 10:39 AM, Richard Gaskin wrote:

 Nicolas Cueto wrote:
 
 mouseStillDown, for example. When part of a script set as a behavior,
 mouseStillDown would not work. But that same script with the same
 mouseStillDown handler, when actually stored as a button's script,
 worked as expected.
 
 In a way that's kinda good news, as mouseStillDown is an anomaly among mouse 
 messages.  I think you'll find the other mouse messages quite reliable in 
 behavior scripts, but mouseStillDown is an oddity as noted in the Dictionary:
 
 Usually, it is easier and more efficient to use the mouseMove
 message to track the movement of the mouse while the button
 is being held down.
 
 Note:  If there is no mouseStillDown handler in the target
 object's script, no mouseStillDown message is sent, even if
 there is a mouseStillDown handler in an object that's
 further along the message path.
 
 Your behavior script should work if you add this to the target object:
 
 on mouseStillDown
   pass mouseStillDown
 end mouseStillDown
 
 Why is mouseStillDown so different from other mouse messages?
 
 Because it's uniquely inefficient, and the mouseMove message was provided to 
 provide an alternative that's far more flexible and takes fewer system 
 resources for many similar needs.
 
 Most OSes provide a message when the mouse first goes down, but not all of 
 them provide a second message sent continuously while the mouse is being held 
 down.  So to provide mouseStillDown for us the engine needs to continually 
 poll the OS for the state of the mouse button.   It does this with a 
 frequency defined in the idleRate, which is far less frequent than checking 
 if the mouse is down in a repeat loop, but still not optimal.
 
 If the message was always sent into the message path whether or not it's 
 needed, anytime the user holds the mouse down it would trigger a lot of 
 messaging overhead that's never used.
 
 But what if you need it?
 
 Like the idle message (HyperCard's message-clogging workaround for not having 
 timers), all you need to do is include a mouseStillDown handler in any target 
 you want it to be sent to, and the engine will then know to trigger that 
 seldom-used message.
 
 Seldom-used?  Yes:
 
 Historically, mouseStillDown was most often used for dragging or other 
 operations in which things need to be updated while the mouse is moving.  In 
 such cases, the developer probably doesn't need to update anything until the 
 location of the mouse changes, but mouseStillDown is continually being sent 
 anyway, requiring a lot of redundant processing for things which have no 
 visible effect.
 
 So the mouseMove message was added, providing a way to update things only 
 when the mouse is moved.
 
 MouseMove also works when the mouse is up, which can be useful for update 
 mouse position indicators in a drawing program's rulers, for example.
 
 This additional flexibility requires us to use a few other handlers to 
 substitute for mouseStillDown, but it well worth the few seconds it takes to 
 set up.  You'll need a mouseDown to set a flag so the mouseMove can know that 
 the mouse is down without having to poll the OS (you can also use this flag 
 for other useful info, as shown below), and you'll need mouseUp and 
 mouseRelease messages to clear the flag.
 
 This example is for a splitter control that adjusts the groups on either side 
 of it:
 
 local sXOffset
 
 on mouseDown
  -- Provide the info mouseMove will need later:
  put the mouseH - the left of me into sXOffset
 end mouseDown
 
 on mouseMove
   -- Is the flag still set?
   if sXOffset is not empty then
 -- If so, handle the splitter drag here:
 set the rect of grp LeftGroup to \
   0,0,the left of me, the height of this cd
 set the rect of grp RightGroup to \
   the right of me, 0, the width of this cd,
   the height of this cd
   end if
 end mouseMove
 
 -- Clear the flag when the mouse is released over the control:
 on mouseUp
   put empty into sXOffset
 end mouseUp
 
 -- Clear the flag when the mouse is release when not over the control:
 on mouseRelease
  put empty into sXOffset
 end mouseRelease
 
 
 In addition to handling simple drags like a splitter, drag-and-drop 
 operations can be handled using the messages provided for those (dragStart, 
 dragMove, dragDrop, dragEnd) far more simply than emulating drag-and-drop 
 behaviors with mouseStillDown.
 
 So once we use mouseMove for movement-related things and the drag-and-drop 
 messages for those types of actions, the remaining subset of cases where 
 mouseStillDown can be useful are relatively few.  And for those, you can 
 still use it so long as you provide a handler for it in the target object.
 
 
 One other thing I noticed during development and had thought due to my
 uncertain knowledge about the various mouse-related handlers, was that
 I couldn't rely on me but had to be more 

The Wait command

2011-06-24 Thread Pete
Trying to figure out how to suspend processing until either a condition is
true OR a specific amount of time has elapsed.  Looks like the wait command
allows one or the other but not both.  Any ideas how to do this?
Pete
Molly's Revenge http://www.mollysrevenge.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: The Wait command

2011-06-24 Thread Mark Schonewille
Hi  Pete,

There are so many way to do what you want that the following is bound to look 
silly.

local lTimer,lCondition
on foo theSeconds
  if the seconds - theSeconds = lTimer and lCondition is true then
-- do something here
  else
send foo theSeconds to me in 1 sec
  end if
end foo

or perhaps

local lCondition
on foo theSeconds
  if lCondition is true then
-- do something
  else
send foo theSeconds to me in theSeconds seconds
  end if
end foo

etc etc etc

--
Best regards,

Mark Schonewille

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

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

On 24 jun 2011, at 21:58, Pete wrote:

 Trying to figure out how to suspend processing until either a condition is
 true OR a specific amount of time has elapsed.  Looks like the wait command
 allows one or the other but not both.  Any ideas how to do this?
 Pete
 Molly's Revenge http://www.mollysrevenge.com



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


Re: The Wait command

2011-06-24 Thread John Craig
Try something like;

Put the millisecs + 5000 into tTime
Repeat until the millisecs  tTime or the uFlag of this card = true
Wait for 100 millisecs with messages
End repeat

Sent from my iPhone

On 24 Jun 2011, at 20:58, Pete p...@mollysrevenge.com wrote:

 Trying to figure out how to suspend processing until either a condition is
 true OR a specific amount of time has elapsed.  Looks like the wait command
 allows one or the other but not both.  Any ideas how to do this?
 Pete
 Molly's Revenge http://www.mollysrevenge.com
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: The Wait command

2011-06-24 Thread J. Landman Gay

On 6/24/11 2:58 PM, Pete wrote:

Trying to figure out how to suspend processing until either a condition is
true OR a specific amount of time has elapsed.  Looks like the wait command
allows one or the other but not both.  Any ideas how to do this?


You can use both in a wait command, for example:

  put starting
  put the seconds into tStart
  wait until the shiftkey is down or the seconds - tStart  5
  put stopping

--
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: The Wait command

2011-06-24 Thread Pete
Thanks - sounds like this is trivial.  Wouldn't it be nice though if the
wait command could do wait until condition or time
Pete
Molly's Revenge http://www.mollysrevenge.com




On Fri, Jun 24, 2011 at 1:26 PM, John Craig j...@splash21.com wrote:

 Try something like;

 Put the millisecs + 5000 into tTime
 Repeat until the millisecs  tTime or the uFlag of this card = true
 Wait for 100 millisecs with messages
 End repeat

 Sent from my iPhone

 On 24 Jun 2011, at 20:58, Pete p...@mollysrevenge.com wrote:

  Trying to figure out how to suspend processing until either a condition
 is
  true OR a specific amount of time has elapsed.  Looks like the wait
 command
  allows one or the other but not both.  Any ideas how to do this?
  Pete
  Molly's Revenge http://www.mollysrevenge.com
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode

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


___
use-livecode mailing list
use-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: The Wait command

2011-06-24 Thread John Craig
This works for what I understand the original scenario was.  If you 
click button 1, it waits either until the 10 seconds has elapsed or 
until button 2 is pressed.


:)


Add 2 buttons to a new stack;

1st button script;
on mouseUp
   set the uFlag of this card to false
   put the millisecs + 1 into tTime
   repeat until the millisecs  tTime or the uFlag of this card = true
  wait for 100 millisecs with messages
   end repeat
   answer OK
end mouseUp


2nd button script;
on mouseUp
   set the uFlag of this card to true
end mouseUp



On 24/06/2011 21:52, Bob Sneidar wrote:

See this is the perfect example of why some kind of multiple processing thing 
is needed. If you say

wait untilcondition  then no other processing can take place. Even in the 
repeat loop it doesn't help. If the condition is triggered by some kind of execution 
the even will never happen because you are waiting. I know we hammered this to death 
in another thread, but this would be I think one of the main reasons why it would be 
beneficial.


___
use-livecode mailing list
use-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: The Wait command

2011-06-24 Thread Pete
I didn't get that from the dictionary entry for wait, although I guess
everything after until is just a compound condition.  Never thought of
that, thanks for the idea.

Pete
Molly's Revenge http://www.mollysrevenge.com




On Fri, Jun 24, 2011 at 1:53 PM, J. Landman Gay jac...@hyperactivesw.comwrote:

 On 6/24/11 2:58 PM, Pete wrote:

 Trying to figure out how to suspend processing until either a condition is
 true OR a specific amount of time has elapsed.  Looks like the wait
 command
 allows one or the other but not both.  Any ideas how to do this?


 You can use both in a wait command, for example:

  put starting
  put the seconds into tStart
  wait until the shiftkey is down or the seconds - tStart  5
  put stopping

 --
 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: The Wait command

2011-06-24 Thread Pete
Hi Bob,
This is definitely new territory for me but I think perhaps the with
messages option of the wait command does what you want.  The dictionary
indicates that with messages allows the user to carry on doing other
things in LC while it is waiting for suspended handler to to resume.
Pete
Molly's Revenge http://www.mollysrevenge.com




On Fri, Jun 24, 2011 at 1:52 PM, Bob Sneidar b...@twft.com wrote:

 See this is the perfect example of why some kind of multiple processing
 thing is needed. If you say

 wait until condition then no other processing can take place. Even in the
 repeat loop it doesn't help. If the condition is triggered by some kind of
 execution the even will never happen because you are waiting. I know we
 hammered this to death in another thread, but this would be I think one of
 the main reasons why it would be beneficial.

 If the engine ran in a single thread by default, but you had the option of
 executing another command in another thread, you could do something like

 do someKindOfLongProcess in new thread
 do someOtherProcess in new thread
 wait until someCondition

 I am making this very simplistic, and maybe true multithreading is not the
 answer because of the inability of one process to access another processes
 memory/variables/whatever. But I wonder if LiveCode devs could make some
 kind of method for this that WOULD work?

 Don't want to spawn another lengthy thread on it. I am just thinking out
 loud. Out of curiosity though, I know nothing about multithreading, doesn't
 a thread that spawns another thread have access to anything the spawn does?

 Bob


 On Jun 24, 2011, at 1:26 PM, John Craig wrote:

  Try something like;
 
  Put the millisecs + 5000 into tTime
  Repeat until the millisecs  tTime or the uFlag of this card = true
  Wait for 100 millisecs with messages
  End repeat
 
  Sent from my iPhone
 
  On 24 Jun 2011, at 20:58, Pete p...@mollysrevenge.com wrote:
 
  Trying to figure out how to suspend processing until either a condition
 is
  true OR a specific amount of time has elapsed.  Looks like the wait
 command
  allows one or the other but not both.  Any ideas how to do this?
  Pete
  Molly's Revenge http://www.mollysrevenge.com
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode


 ___
 use-livecode mailing list
 use-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: The Wait command

2011-06-24 Thread J. Landman Gay

On 6/24/11 3:52 PM, Bob Sneidar wrote:

See this is the perfect example of why some kind of multiple
processing thing is needed. If you say

wait untilcondition  then no other processing can take place.


The OP specifically wanted to block all other processes, so in this case 
wait is a good solution.


For the cases where you want to simulate multi-threading, either wait 
with messages, or set up a send in time sequence. Sending is usually 
the better way to do 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


dgColumnSortType

2011-06-24 Thread Pete
What is the difference between datetime and system datetime in the
dgColumnSortType property of a datagrid column?
Pete
Molly's Revenge http://www.mollysrevenge.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: The Wait command

2011-06-24 Thread Ralph DiMola
I am a nu-be to LC.

I needed to do this with a splash card. Display card for 7.5 second or until
the user mouse clicks the image.

Card script:

on openCard
send finishsplash to me in 7.5 seconds
end openCard

on finishsplash
   open card jb_search --(Or whatever job need to be done)
end finishsplash



image script:

on mouseup
   open card jb_search --(or whatever job need to be done)
end mouseup


Ralph 


-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of John Craig
Sent: Friday, June 24, 2011 5:07 PM
To: How to use LiveCode
Subject: Re: The Wait command

This works for what I understand the original scenario was.  If you 
click button 1, it waits either until the 10 seconds has elapsed or 
until button 2 is pressed.

:)


Add 2 buttons to a new stack;

1st button script;
on mouseUp
set the uFlag of this card to false
put the millisecs + 1 into tTime
repeat until the millisecs  tTime or the uFlag of this card = true
   wait for 100 millisecs with messages
end repeat
answer OK
end mouseUp


2nd button script;
on mouseUp
set the uFlag of this card to true
end mouseUp



On 24/06/2011 21:52, Bob Sneidar wrote:
 See this is the perfect example of why some kind of multiple processing
thing is needed. If you say

 wait untilcondition  then no other processing can take place. Even in
the repeat loop it doesn't help. If the condition is triggered by some kind
of execution the even will never happen because you are waiting. I know we
hammered this to death in another thread, but this would be I think one of
the main reasons why it would be beneficial.

___
use-livecode mailing list
use-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: The Wait command

2011-06-24 Thread Ralph DiMola
Woops CRs got mangled...

I am a nu-be to LC.

I needed to do this with a splash card. Display card for 7.5 second or until
the user mouse clicks the image.

Card script:

on openCard
send finishsplash to me in 7.5 seconds

end openCard


on finishsplash
   open card jb_search --(Or whatever job need to be done)

end finishsplash



image script:

on mouseup
   open card jb_search --(or whatever job need to be done)

end mouseup


Ralph 


-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of John Craig
Sent: Friday, June 24, 2011 5:07 PM
To: How to use LiveCode
Subject: Re: The Wait command

This works for what I understand the original scenario was.  If you 
click button 1, it waits either until the 10 seconds has elapsed or 
until button 2 is pressed.

:)


Add 2 buttons to a new stack;

1st button script;
on mouseUp
set the uFlag of this card to false
put the millisecs + 1 into tTime
repeat until the millisecs  tTime or the uFlag of this card = true
   wait for 100 millisecs with messages
end repeat
answer OK
end mouseUp


2nd button script;
on mouseUp
set the uFlag of this card to true
end mouseUp



On 24/06/2011 21:52, Bob Sneidar wrote:
 See this is the perfect example of why some kind of multiple processing
thing is needed. If you say

 wait untilcondition  then no other processing can take place. Even in
the repeat loop it doesn't help. If the condition is triggered by some kind
of execution the even will never happen because you are waiting. I know we
hammered this to death in another thread, but this would be I think one of
the main reasons why it would be beneficial.

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

2011-06-24 Thread Trevor DeVore
On Fri, Jun 24, 2011 at 8:06 PM, Pete p...@mollysrevenge.com wrote:

 What is the difference between datetime and system datetime in the
 dgColumnSortType property of a datagrid column?


The data grid uses the same parameters as the 'sort' command so datetime
behaves the same way. The system datetime sets the useSystemDate property
to true before performing the datetime sort.

-- 
Trevor DeVore
Blue Mango Learning Systems

LiveCode Resources for Developers: http://livecode.bluemangolearning.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


Anyway to find the long id of an image which you know the id for?

2011-06-24 Thread Chipp Walters
You can set the icon of a button to an image ID. But if you want to resize
the button based on the size of the image, you need to find a way to
reference the image. Of course the image could be in the topStack, and this
would be no problem. But if not, the following throws an error.:

set the icon of btn hello to 21234
put the formattedheight of image id 21234 into tH

I suspect one can 'walk' all open stacks, and perhaps that's what I'll end
up doing, but was hoping someone had an easier solution-- or the stack
walking code ;-)

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

2011-06-24 Thread Pete
Got it, thanks.
Pete
Molly's Revenge http://www.mollysrevenge.com




On Fri, Jun 24, 2011 at 6:11 PM, Trevor DeVore li...@mangomultimedia.comwrote:

 On Fri, Jun 24, 2011 at 8:06 PM, Pete p...@mollysrevenge.com wrote:

  What is the difference between datetime and system datetime in the
  dgColumnSortType property of a datagrid column?
 

 The data grid uses the same parameters as the 'sort' command so datetime
 behaves the same way. The system datetime sets the useSystemDate property
 to true before performing the datetime sort.

 --
 Trevor DeVore
 Blue Mango Learning Systems

 LiveCode Resources for Developers: http://livecode.bluemangolearning.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: Anyway to find the long id of an image which you know the id for?

2011-06-24 Thread J. Landman Gay

On 6/24/11 8:58 PM, Chipp Walters wrote:

You can set the icon of a button to an image ID. But if you want to resize
the button based on the size of the image, you need to find a way to
reference the image. Of course the image could be in the topStack, and this
would be no problem. But if not, the following throws an error.:

set the icon of btn hello to 21234
put the formattedheight of image id 21234 into tH

I suspect one can 'walk' all open stacks, and perhaps that's what I'll end
up doing, but was hoping someone had an easier solution-- or the stack
walking code ;-)



Try:

  get the long name of img id 21234

or:

  get the long name of img id (the icon of btn hello)

--
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: Anyway to find the long id of an image which you know the id for?

2011-06-24 Thread Richard Gaskin

J. Landman Gay wrote:


On 6/24/11 8:58 PM, Chipp Walters wrote:

You can set the icon of a button to an image ID. But if you want to resize
the button based on the size of the image, you need to find a way to
reference the image. Of course the image could be in the topStack, and this
would be no problem. But if not, the following throws an error.:

set the icon of btn hello to 21234
put the formattedheight of image id 21234 into tH

I suspect one can 'walk' all open stacks, and perhaps that's what I'll end
up doing, but was hoping someone had an easier solution-- or the stack
walking code ;-)



Try:

   get the long name of img id 21234

or:

   get the long name of img id (the icon of btn hello)


I believe such references only work when the image object referred to is 
on the current card.


I don't know of a way to find the long id of an image except by walking 
through a list of possible containers


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

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


Re: Anyway to find the long id of an image which you know the id for?

2011-06-24 Thread J. Landman Gay

On 6/24/11 9:55 PM, Richard Gaskin wrote:


I believe such references only work when the image object referred to is
on the current card.

I don't know of a way to find the long id of an image except by walking
through a list of possible containers


Oh. Right. I guess the best work-around, if Chipp doesn't want to walk 
all the stacks, is to store the images in a known location.


The docs list the order in which stacks are searched for icons, so a 
walk-through should probably go in that order too.


--
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] Text analysis and author, anyone done it?

2011-06-24 Thread Peter Alcibiades
It can be done statistically. Various methods have been proposed and used. 
One general kind of measure is the probability of another word coming, as a
function of the past n words.  Another is to measure the length of gap
between occurrences of pairs of a given word.  There is technical literature
on it, and I guess LC would permit writing something to do it.  Not that its
the best thing to do it in, that seems to be R, but its what I know.

But it would be nice if someone had already done it, in any language.  Save
a huge lot of work.
Peter

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/OT-Text-analysis-and-author-anyone-done-it-tp3621990p3624077.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: Anyway to find the long id of an image which you know the id for?

2011-06-24 Thread Chipp Walters
Thanks Jacque and Richard. Bummer-- looks like I'll have to write a search
function.

On Fri, Jun 24, 2011 at 10:29 PM, J. Landman Gay
jac...@hyperactivesw.comwrote:

 On 6/24/11 9:55 PM, Richard Gaskin wrote:

  I believe such references only work when the image object referred to is
 on the current card.

 I don't know of a way to find the long id of an image except by walking
 through a list of possible containers


 Oh. Right. I guess the best work-around, if Chipp doesn't want to walk all
 the stacks, is to store the images in a known location.

 The docs list the order in which stacks are searched for icons, so a
 walk-through should probably go in that order too.


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




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


ANN: PowerTools

2011-06-24 Thread Mark Wieder
All-

Finally! I'm pleased to announce the release of PowerTools version
1.0. PowerTools is a drop-in replacement for the standard IDE tools
palette. It works on OSX, Windows, and linux in LiveCode and MetaCard
environments. It's been in beta test for over a year, and I am deeply
appreciative for all the feedback the beta testers have provided over
that time - this thing has only gotten better and better. I think it's
now just about everything I want in a tools palette.

Why bother? The tools palette has grown long in the tooth. The only
change to it over the last ten years has been the addition of the
datagrid. I always wanted to add my own controls to the tools palette
but never could (I think Ken Ray has done something along this line as
well g). And the graphics tools needed an update. For instance, each
graphic and paint tool now remembers its settings - you can have
different colors or patterns or gradients settings for each tool.

PowerTools widgets are mostly DropTools-compatible. Properly formed
DropTools can be used with PowerTools, and properly formed widgets can
be used with DropTools. Ken Ray and I have worked to ensure maximum
compatibility with few differences - the main idea here is to provide
a platform for the exchange of custom controls with other users. In
addition you can organize your widgets into folders, and turning your
custom controls into usable and sharable widgets is very easy.

A trial version has been posted to revOnline. It is fully functional,
but will annoyingly revert back to the standard tools palette at
random intervals and prompt you to purchase a real copy. RevOnline
won't allow me to post a widgets archive, just a stack, so you can
pick up sample widgets at

http://www.ahsoftware.net/files/PowerToolsWidgets.zip

Place both the plugin and the PowerTools Widgets folder in your user
plugins directory and you're good to go.

...and some documentation is starting to appear at

http://mwieder.on-rev.com/WordPress/?cat=7

Did I mention that the introductory price is way too low?
Take a look:
http://www.ahsoftware.net/PowerTools/PowerTools.irev
http://www.ahsoftware.net/PowerTools/register.irev

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