Re: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-23 Thread axwald via use-livecode
Hi,

William Prothero wrote
> [...] A mothership sanctioned powerful external editor [...]

Which one? This is the problem here.
The "target audience" already has its favorite text editor, each another one
;-)

So I think it would only make sense to have "the basics" collected at some
place:
- Lists of keywords, commands, functions, properties, ...
- Regex that work to determine control structures, comments, ...
- already existing solutions (for whatever text editors)

This would be a great help to roll ones own "syntax schemata", IMHO.
And the only one I can imagine that would really be a benefit for all.

Have fun!

axwald @ the forum



-
• Livecode programming until the cat hits the fan •
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Configuring-a-Sublime-Text-project-to-notify-LiveCode-IDE-about-updates-to-script-only-stacks-tp4712463p4712521.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: Reveal in Find on Windows

2017-02-23 Thread Roger Eller via use-livecode
Launch document is good, but the OP wants to simply open a folder, and as
stated in his first post, reveal or select a specific file.  I'll try the
handler on Windows when I get to the office.

~Roger

On Feb 22, 2017 10:45 PM, "Mike Bonner via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> Just remembered, you can bipass the shell call entirely..
>
> launch document sRootFolder -- native lc command.  Just need to do as I
> mentioned and be sure its a folder you're dealing with. (otherwise it will
> launch the apropos app to match the file type)
>
> It will probably work for both platforms. (my mac is down or I'd check
> there)
>
> On Wed, Feb 22, 2017 at 8:41 PM, Mike Bonner  wrote:
>
> > I can't test it on mac, but 2 things. First, if your path is a folder but
> > doesn't have the trailing / you'll end up in the wrong place so you might
> > consider doing a check:
> > if there is a file sRootFolder then delete item -1 of sRootFolder
> >
> > Then for the windows segment use "start":
> >
> > put ("start " & sRootFolder) into tShell  -- also noted there is a typo,
> > you use tRootfolder rather than sRootfolder in your example above
> >
> > I _think_ start is available all the way down to xp, but I can't check to
> > make sure.
> >
> >
> > On Wed, Feb 22, 2017 at 8:06 PM, Sannyasin Brahmanathaswami via
> > use-livecode  wrote:
> >
> >> this is what I have so far…
> >>
> >> command openWorkingFolderInFinder pFolderFile
> >> set the itemdel to "/"
> >> put pFolderFile into sRootFolder
> >> delete item -1 of sRootFolder
> >> switch platform()
> >> case "MacOS"
> >> put ("open " & quote & sRootFolder & quote) into tShell
> >> break
> >> case "Win32"
> >> put ("explorer.exe /n/root," & tRootfolder) into tShell
> >> break
> >> end switch
> >> get shell(tShell)
> >> end openWorkingFolderInFinder
> >>
> >> Can anyone test if this opens a folder on Windows?
> >>
> >> tks
> >>
> >>
> >> On 2/22/17, 4:59 PM, "use-livecode on behalf of Sannyasin
> >> Brahmanathaswami via use-livecode"  runrev.com
> >> on behalf of use-livecode@lists.runrev.com> wrote:
> >>
> >> OK  I studied the doc here:
> >>
> >> https://support.microsoft.com/en-us/help/130510/command-line
> >> -switches-for-windows-explorer
> >>
> >> and actually the use cases are more often to open a folder
> >>
> >> but I don't have windows to test
> >>
> >> does this work to open a folder window on Win32?
> >>
> >> get shell (”explorer.exe /n,/root,c:\windows\system32\m
> >> y-project-folder")
> >>
> >>
> >> BR
> >>
> >>
> >>
> >> On 2/22/17, 1:54 AM, "use-livecode on behalf of Roger Eller via
> >> use-livecode"  >> use-livecode@lists.runrev.com> wrote:
> >>
> >> get shell (”explorer.exe /select,c:\windows\system32\se
> >> lected_file.txt")
> >>
> >> Source:
> >> http://stackoverflow.com/questions/29970897/cmd-file-tasks-
> >> open-directory-and-select-file
> >>
> >> ~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
___
use-livecode mailing list
use-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: Reveal in Find on Windows

2017-02-23 Thread hh via use-livecode
The following works here on Mac/Win/Linux with LC 6/7/8/9.

All my newer stacks have a menu (small square at top left)
to do that for each path item of the current stack path.

##  Opens the folder that contains the file pFolderFile
command openWorkingFolder pFolderFile
   set itemdel to "/"
   put item 1 to -2 of pFolderFile into t
   set itemdel to ","
   if the platform is "linux" then
  try
 launch document t
 get shell("xdg-open " & quote&t"e)
  end try
   else launch document t
end openWorkingFolderInFinder   


___
use-livecode mailing list
use-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: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-23 Thread Trevor DeVore via use-livecode
On Wed, Feb 22, 2017 at 8:01 PM, Sannyasin Brahmanathaswami via
use-livecode  wrote:

> going a bit OT here… I've dabbled withj Atom, Visual Studio and also long
> time ago Sublime… any reason you prefer Sublime?
>
> I still keep dropping out back to BBEdit.. but if I could find a nother
> editor that had comparable tools I would use it. So far, atom and Visual
> Studio keep falling short…
>

BBEdit was my editor of choice for a long time. I tried out Sublime Text 3
while working on some projects based on Rails and Ember at the end of last
year. I’ve fallen in love with it. Here is what I like in no particular
order:

- Projects
 - You can configure folders/files within your project folder (e.g.
build folders) to ignore in searches
 - Define project properties (this helps with the communication between
LiveCode and Sublime Text).
- Multi-column, multi-row pane layouts with tabs in each pane.
- Multiple views into the same file. I like being able to work on two parts
of the same file in two different panes.
- Highly configurable
- Language modules for just about everything under the sun.
- Language modules can include python scripts which is how Sublime Text
sends messages to the stack in LiveCode that is listening on a local port).
- Plugins for things like git and linters. I can commit using keyboard
shortcuts from within Sublime Text. I can also visually see changes to
files that I’ve made since the last commit. The LiveCode linter allows me
to see mistakes in my code.
- Search
 - Searching a project shows results in a tab. I prefer this to a
search window in a separate window.
- Navigation
 - See and filter list of all handlers in current view without leaving
keyboard.
 - See and filter list of all handlers in entire project without
leaving keyboard.
 - Quickly open any file in a project without leaving the keyboard.
 - View and install language modules and plugins without everything
leaving the keyboard.
 - Right-click on any handler that is defined in a project and navigate
to it. This works even if the handler appears within quotes (e.g. send
“MyHandler” to …)

Overall I feel like Sublime Text reduces friction while I’m working. I feel
like I can work much faster.

-- 
Trevor DeVore
Outcome & ScreenSteps
www.outcomeapp.io - www.screensteps.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Reveal in Find on Windows

2017-02-23 Thread Richard Gaskin via use-livecode

Mike Bonner wrote:


Just remembered, you can bipass the shell call entirely..

launch document sRootFolder -- native lc command.  Just need to do as I
mentioned and be sure its a folder you're dealing with. (otherwise it will
launch the apropos app to match the file type)

It will probably work for both platforms. (my mac is down or I'd check
there)


As Richmond might ask, "both"?

There are three major desktop OSes. :)

For those who include the roughly 50 million Linux desktop users in 
their deployments, calling xdg-open with the shell function does the trick:


on mouseUp
   put specialFolderPath("desktop") into tFolder
   get shell("xdg-open ""e& tFolder "e)
end mouseUp

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: Reveal in Find on Windows

2017-02-23 Thread Roger Eller via use-livecode
50 Million!!!  pffft

Well, let's not forget about the Amiga

then.  I know there are still at least 2, because I still have mine.  ;)

~Roger

On Thu, Feb 23, 2017 at 10:52 AM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Mike Bonner wrote:
>
> Just remembered, you can bipass the shell call entirely..
>>
>> launch document sRootFolder -- native lc command.  Just need to do as I
>> mentioned and be sure its a folder you're dealing with. (otherwise it will
>> launch the apropos app to match the file type)
>>
>> It will probably work for both platforms. (my mac is down or I'd check
>> there)
>>
>
> As Richmond might ask, "both"?
>
> There are three major desktop OSes. :)
>
> For those who include the roughly 50 million Linux desktop users in their
> deployments, calling xdg-open with the shell function does the trick:
>
> on mouseUp
>put specialFolderPath("desktop") into tFolder
>get shell("xdg-open ""e& tFolder "e)
> end mouseUp
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  
>  ambassa...@fourthworld.comhttp://www.FourthWorld.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: Reveal in Find on Windows

2017-02-23 Thread hh via use-livecode
> Richard G. wrote:
> There are three major desktop OSes. :)

Yes. And I'm _the only one_ in this thread who posted a handler
that serves all these three ...

http://lists.runrev.com/pipermail/use-livecode/2017-February/234858.html

___
use-livecode mailing list
use-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: Reveal in Find on Windows

2017-02-23 Thread Roger Eller via use-livecode
You get a star for effort.  ;-p

I tried your handler on Mac and Win, (not currently one of the 50 million
Linux users).  It opened the folder but did not select (reveal) the file or
folder.  The start of your command name didn't match the end, but that's
okay.  Community effort, right?

~Roger


On Thu, Feb 23, 2017 at 11:32 AM, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> > Richard G. wrote:
> > There are three major desktop OSes. :)
>
> Yes. And I'm _the only one_ in this thread who posted a handler
> that serves all these three ...
>
> http://lists.runrev.com/pipermail/use-livecode/2017-February/234858.html
>
> ___
> use-livecode mailing list
> use-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


Call a function on another card

2017-02-23 Thread Peter Bogdanoff via use-livecode
Hi,

I’m reading on 
http://lessons.livecode.com/m/4071/l/11787-how-to-call-a-function-or-command-in-another-object

this:
put value("myFunction(hello, world)", group "myGroup" of card "myCard") into 
tResult

I want to use a variable as a parameter instead of “hello, world” as in the 
page example.

These don’t work:
put value(“getPageNumber (tID)", card "MITA" of stack "MITA") into tResult
put value("getPageNumber" & (tID), card "MITA" of stack "MITA") into tResult

What do I do?

Peter Bogdanoff
___
use-livecode mailing list
use-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] Release 9.0.0 DP-5

2017-02-23 Thread panagiotis merakos via use-livecode
Dear list members,

We are pleased to announce the release of LiveCode 9.0.0 DP-5.


Developer Preview Release
=
Warning: this is not a stable release.  Please ensure that you back up your
stacks before testing them.

Getting the Release
===
You can get the release at https://downloads.livecode.com/livecode/ or via
the automatic updater.

Release Contents

LiveCode 9.0.0 DP-5 contains exciting new features, bug fixes, stability
and security improvements.

In total, 21 bugs have been fixed since the last development preview
release (LiveCode 9.0.0 DP-4).

Moreover, 36 additional bugs that have been fixed for 8.1.4 RC-1 (which is
not released yet), are included in LiveCode 9.0.0 DP-5.

LiveCode 9.0.0 DP-5 contains, among others, the following exciting new
features:

- Implementation of NFC tag reading on Android (Community, Indy and
Business):
New functions/commands/messages to read data from NFC tags.

- Implementation of a script library for common MIME functions (Community,
Indy and Business):
A new Multipurpose Internet Mail Extensions (MIME) library has been
implemented to provide support for common data formats such as multipart
email message bodies.

- Implementation of a remote debugger (Business only):
Run a standalone for the local platform from the IDE and debug it whilst it
runs locally
Run a standalone for iOS or Android from the IDE and debug it whilst it
runs on a directly connected Android or iOS device

- Implementation of a script profiler (Business only):
Use the new script profiler to identify the most costly lines of code in a
stack.


The full release notes are available from:

http://downloads.livecode.com/livecode/9_0_0/LiveCodeNotes-9_0_0_dp_5.pdf

Feedback

Please report any bugs encountered on our BugZilla at
http://quality.livecode.com/

We have a forum available for discussing LiveCode Builder at
http://forums.livecode.com/viewforum.php?f=93

Have fun!

The LiveCode Team
--
___
use-livecode mailing list
use-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: Reveal in Find on Windows

2017-02-23 Thread hh via use-livecode
@Roger
I adjusted (uncompletely) the name to the OP's handler name.

Yes, you are right, the handler only opens the enclosing folder
(or any path item of such a folder path).

The purpose of my post was to second the "launch document" solution
for folders and moreover to add the linux variant for the ubuntu-
and debian-flavours (most Raspis run also linux).

I saw the "launch document" method for folders first, as a real
beginner, in an old post of Klaus in the forum.

For revealing/selecting the file one needs, as was partially
explicitly pointed out in other posts before (thanks for that),
specific tools for each platform. Some time ago I tried several hours
to find general variants but I gave up eventually because it is
moreover, within the platform, specific for OS-releases/OS-flavours.

___
use-livecode mailing list
use-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: Call a function on another card

2017-02-23 Thread Mike Bonner via use-livecode
Will this work for you?
dispatch function "myFunction" to card "myCard"

put the result into tResult

Parameters can also be passed using the "with" extension. Unlike the
"call", "send" and "value" handlers, the parameters are sent directly to
the target handler, rather than being extracted from the string used to
call the handler. This negates the need to surround our parameters in
quotes and also allows us to pass arrays

On Thu, Feb 23, 2017 at 1:32 PM, Peter Bogdanoff via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi,
>
> I’m reading on
> http://lessons.livecode.com/m/4071/l/11787-how-to-call-a-
> function-or-command-in-another-object
>
> this:
> put value("myFunction(hello, world)", group "myGroup" of card "myCard")
> into tResult
>
> I want to use a variable as a parameter instead of “hello, world” as in
> the page example.
>
> These don’t work:
> put value(“getPageNumber (tID)", card "MITA" of stack "MITA") into tResult
> put value("getPageNumber" & (tID), card "MITA" of stack "MITA") into
> tResult
>
> What do I do?
>
> Peter Bogdanoff
> ___
> use-livecode mailing list
> use-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: Call a function on another card

2017-02-23 Thread Peter Bogdanoff via use-livecode
Yes, thank you, that works. I used:

dispatch function "getPageNumber" to card "MITA" of stack "MITA" with tID

What came back was in “the result”

“it” contained “handled”

pb

On Feb 23, 2017, at 12:54 PM, Mike Bonner via use-livecode 
 wrote:

> Will this work for you?
> dispatch function "myFunction" to card "myCard"
> 
> put the result into tResult
> 
> Parameters can also be passed using the "with" extension. Unlike the
> "call", "send" and "value" handlers, the parameters are sent directly to
> the target handler, rather than being extracted from the string used to
> call the handler. This negates the need to surround our parameters in
> quotes and also allows us to pass arrays
> 
> On Thu, Feb 23, 2017 at 1:32 PM, Peter Bogdanoff via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Hi,
>> 
>> I’m reading on
>> http://lessons.livecode.com/m/4071/l/11787-how-to-call-a-
>> function-or-command-in-another-object
>> 
>> this:
>> put value("myFunction(hello, world)", group "myGroup" of card "myCard")
>> into tResult
>> 
>> I want to use a variable as a parameter instead of “hello, world” as in
>> the page example.
>> 
>> These don’t work:
>> put value(“getPageNumber (tID)", card "MITA" of stack "MITA") into tResult
>> put value("getPageNumber" & (tID), card "MITA" of stack "MITA") into
>> tResult
>> 
>> What do I do?
>> 
>> Peter Bogdanoff
>> ___
>> use-livecode mailing list
>> use-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: [ANN] Release 9.0.0 DP-5

2017-02-23 Thread Sannyasin Brahmanathaswami via use-livecode
I'm behind here in the overview:

Why even continue in 8.*   ?  

What issues are there with 9.* that would make it advisable not to try it for 
production?

BR


On 2/23/17, 10:41 AM, "use-livecode on behalf of panagiotis merakos via 
use-livecode"  wrote:

Dear list members,

We are pleased to announce the release of LiveCode 9.0.0 DP-5.


Developer Preview Release
=
Warning: this is not a stable release.  Please ensure that you back up your
stacks before testing them.

Getting the Release
===
You can get the release at https://downloads.livecode.com/livecode/ or via
the automatic updater.

Release Contents

LiveCode 9.0.0 DP-5 contains exciting new features, bug fixes, stability
and security improvements.

In total, 21 bugs have been fixed since the last development preview
release (LiveCode 9.0.0 DP-4).

Moreover, 36 additional bugs that have been fixed for 8.1.4 RC-1 (which is
not released yet), are included in LiveCode 9.0.0 DP-5.

LiveCode 9.0.0 DP-5 contains, among others, the following exciting new
features:

- Implementation of NFC tag reading on Android (Community, Indy and
Business):
New functions/commands/messages to read data from NFC tags.

- Implementation of a script library for common MIME functions (Community,
Indy and Business):
A new Multipurpose Internet Mail Extensions (MIME) library has been
implemented to provide support for common data formats such as multipart
email message bodies.

- Implementation of a remote debugger (Business only):
Run a standalone for the local platform from the IDE and debug it whilst it
runs locally
Run a standalone for iOS or Android from the IDE and debug it whilst it
runs on a directly connected Android or iOS device

- Implementation of a script profiler (Business only):
Use the new script profiler to identify the most costly lines of code in a
stack.


The full release notes are available from:

http://downloads.livecode.com/livecode/9_0_0/LiveCodeNotes-9_0_0_dp_5.pdf

Feedback

Please report any bugs encountered on our BugZilla at
http://quality.livecode.com/

We have a forum available for discussing LiveCode Builder at
http://forums.livecode.com/viewforum.php?f=93

Have fun!

The LiveCode Team
--
___
use-livecode mailing list
use-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: [ANN] Release 9.0.0 DP-5

2017-02-23 Thread Bob Sneidar via use-livecode
First of all this is a Developer Preview. Note the, "This is not a stable 
release" disclaimer. Consider also that some may be unwilling to move to 
version 9 until such a time as they feel confident that most of the issues have 
been shaken out of it. I am one of these. 

Do you suggest that all development and improvement for version 8 and that we 
all wait for certain bugs to be addressed in the next major release? That would 
be unfortunate. Already since the earlier versions of 8, there have been marked 
improvements and bug fixes, such as much faster search times and an order of 
magnitude faster Build times. 

So long as version 8 is supported, I think we can expect (and be thankful) that 
the LC dev team is constantly improving. And also, I suspect that any new 
features introduced and bugs squashed in 8 are also being rolled into 9. It's 
not an either or proposition. 

Bob S


> On Feb 23, 2017, at 13:35 , Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> I'm behind here in the overview:
> 
> Why even continue in 8.*   ?  
> 
> What issues are there with 9.* that would make it advisable not to try it for 
> production?
> 
> BR


___
use-livecode mailing list
use-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: Call a function on another card

2017-02-23 Thread Bob Sneidar via use-livecode
When I encounter situations like these, I begin to ask myself why the handler 
is in a card script. If it needs to be accessible from other cards, it should 
probably be moved to the stack script, or put into a button and inserted into 
front or back. I have 3 buttons I use for this effect: Utilities, Validations 
and Database Functions. Utilities and Database functions I insert into back. 
The validations I insert into front in case I want to intercept things like 
openField or selectionChanged and do things before passing them on. 

Bob S


> On Feb 23, 2017, at 13:21 , Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Yes, thank you, that works. I used:
> 
> dispatch function "getPageNumber" to card "MITA" of stack "MITA" with tID
> 
> What came back was in “the result”
> 
> “it” contained “handled”
> 
> pb
> 
> On Feb 23, 2017, at 12:54 PM, Mike Bonner via use-livecode 
>  wrote:
> 
>> Will this work for you?
>> dispatch function "myFunction" to card "myCard"
>> 
>> put the result into tResult
>> 
>> Parameters can also be passed using the "with" extension. Unlike the
>> "call", "send" and "value" handlers, the parameters are sent directly to
>> the target handler, rather than being extracted from the string used to
>> call the handler. This negates the need to surround our parameters in
>> quotes and also allows us to pass arrays
>> 
>> On Thu, Feb 23, 2017 at 1:32 PM, Peter Bogdanoff via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Hi,
>>> 
>>> I’m reading on
>>> http://lessons.livecode.com/m/4071/l/11787-how-to-call-a-
>>> function-or-command-in-another-object
>>> 
>>> this:
>>> put value("myFunction(hello, world)", group "myGroup" of card "myCard")
>>> into tResult
>>> 
>>> I want to use a variable as a parameter instead of “hello, world” as in
>>> the page example.
>>> 
>>> These don’t work:
>>> put value(“getPageNumber (tID)", card "MITA" of stack "MITA") into tResult
>>> put value("getPageNumber" & (tID), card "MITA" of stack "MITA") into
>>> tResult
>>> 
>>> What do I do?
>>> 
>>> Peter Bogdanoff
>>> ___
>>> use-livecode mailing list
>>> use-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: Call a function on another card

2017-02-23 Thread Paul Hibbert via use-livecode
> On Feb 23, 2017, at 12:32 PM, Peter Bogdanoff via use-livecode 
> mailto:use-livecode@lists.runrev.com>> wrote:
> 
> put value("myFunction(hello, world)", group "myGroup" of card "myCard") into 
> tResult
> 
> I want to use a variable as a parameter instead of “hello, world” as in the 
> page example.

You could try:

put value(“myFunction(“ & myVar & ")", group "myGroup" of card "myCard") into 
tResult

Paul



___
use-livecode mailing list
use-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] conference - tickets sent

2017-02-23 Thread Mark Schonewille via use-livecode
The tickets for the eHUG International Mini Conference on LiveCode have 
been sent. Everyone who ordered a ticket until yesterday should have 
received it by now. Obviously, if you didn't, you should contact me 
right-away.


If you regret not having bought a ticket, you can still do so until we 
disable this feature of the website. However, you might want to send me 
an e-mail or call first.


--
Kind regards,

Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch

Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.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: Reveal in Find on Windows

2017-02-23 Thread Sannyasin Brahmanathaswami via use-livecode
HH wrote:
Yes, you are right, the handler only opens the enclosing folder
(or any path item of such a folder path).

Actually that's my main use case…

But now we have all options… thanks to all.

nice to find that I can use launch for both Windows and Mac

But has to have a slash on the end for Windows?

@Mike, right that was a typo sRootFolder is what it should be.  (script local 
for future use in another session)

BR

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

Re: [ANN] Release 9.0.0 DP-5

2017-02-23 Thread Mike Kerner via use-livecode
Another question:  Does the mobile have to be tethered to the desktop?  If
I build a standalone, how are we going to communicate?

Did you guys also see that we will have a regular message box context with
the app?  That's just one less thing I have to include with my stack (and
then use the mobile keyboard to accomplish...)

On Thu, Feb 23, 2017 at 5:13 PM, Mike Kerner 
wrote:

> I'm drooling.  I once told Kevin that about half of the lines of code in
> my mobile apps wind up being debugging code (granted the end up being
> commented out, eventually, but I digress).  The biggest issue on mobile has
> always been debugging.  I even have a debugging library that I have added
> to all my mobiles to help me figure out what is going on when something
> doesn't work.  The silent fails dog me even now.  This...this is going to
> make the debugging task a lot easier.
>
> On Thu, Feb 23, 2017 at 4:59 PM, Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> First of all this is a Developer Preview. Note the, "This is not a stable
>> release" disclaimer. Consider also that some may be unwilling to move to
>> version 9 until such a time as they feel confident that most of the issues
>> have been shaken out of it. I am one of these.
>>
>> Do you suggest that all development and improvement for version 8 and
>> that we all wait for certain bugs to be addressed in the next major
>> release? That would be unfortunate. Already since the earlier versions of
>> 8, there have been marked improvements and bug fixes, such as much faster
>> search times and an order of magnitude faster Build times.
>>
>> So long as version 8 is supported, I think we can expect (and be
>> thankful) that the LC dev team is constantly improving. And also, I suspect
>> that any new features introduced and bugs squashed in 8 are also being
>> rolled into 9. It's not an either or proposition.
>>
>> Bob S
>>
>>
>> > On Feb 23, 2017, at 13:35 , Sannyasin Brahmanathaswami via use-livecode
>>  wrote:
>> >
>> > I'm behind here in the overview:
>> >
>> > Why even continue in 8.*   ?
>> >
>> > What issues are there with 9.* that would make it advisable not to try
>> it for production?
>> >
>> > BR
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] Release 9.0.0 DP-5

2017-02-23 Thread Mike Kerner via use-livecode
I'm drooling.  I once told Kevin that about half of the lines of code in my
mobile apps wind up being debugging code (granted the end up being
commented out, eventually, but I digress).  The biggest issue on mobile has
always been debugging.  I even have a debugging library that I have added
to all my mobiles to help me figure out what is going on when something
doesn't work.  The silent fails dog me even now.  This...this is going to
make the debugging task a lot easier.

On Thu, Feb 23, 2017 at 4:59 PM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> First of all this is a Developer Preview. Note the, "This is not a stable
> release" disclaimer. Consider also that some may be unwilling to move to
> version 9 until such a time as they feel confident that most of the issues
> have been shaken out of it. I am one of these.
>
> Do you suggest that all development and improvement for version 8 and that
> we all wait for certain bugs to be addressed in the next major release?
> That would be unfortunate. Already since the earlier versions of 8, there
> have been marked improvements and bug fixes, such as much faster search
> times and an order of magnitude faster Build times.
>
> So long as version 8 is supported, I think we can expect (and be thankful)
> that the LC dev team is constantly improving. And also, I suspect that any
> new features introduced and bugs squashed in 8 are also being rolled into
> 9. It's not an either or proposition.
>
> Bob S
>
>
> > On Feb 23, 2017, at 13:35 , Sannyasin Brahmanathaswami via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > I'm behind here in the overview:
> >
> > Why even continue in 8.*   ?
> >
> > What issues are there with 9.* that would make it advisable not to try
> it for production?
> >
> > BR
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-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: Call a function on another card

2017-02-23 Thread Peter Bogdanoff via use-livecode
Bob,

This is a good question. In my case, each card script has script local 
variables that are used only for that card.

In this unusual case (I’m creating a text search method) I need to access the 
contents of those variables from another stack.

I indeed would like to move common handlers to a stack or library script, but 
these handlers use many local variables relevant to the individual cards. I 
have not yet thought of a simple way to use common handlers without a LOT of 
passing of local variable data.

Instead of local variables, I suppose I could set custom properties in the 
library stack for each bit of data. But it seems awkward to me to have in the 
library script:

put the FieldTextArray of stack “MLib” into tVar # Stored in a custom property
return tVar [“HTML”] 
then in the card script:
set the htmlText of field “Text” to it 

instead of simply (in the card script):
set the htmlText of field “Text” to sFieldTextData [“HTML”]  # Card local 
variable

And then, custom properties would have to be emptied after each session.

Peter


On Feb 23, 2017, at 2:03 PM, Bob Sneidar via use-livecode 
 wrote:

> When I encounter situations like these, I begin to ask myself why the handler 
> is in a card script. If it needs to be accessible from other cards, it should 
> probably be moved to the stack script, or put into a button and inserted into 
> front or back. I have 3 buttons I use for this effect: Utilities, Validations 
> and Database Functions. Utilities and Database functions I insert into back. 
> The validations I insert into front in case I want to intercept things like 
> openField or selectionChanged and do things before passing them on. 
> 
> Bob S
> 
> 
>> On Feb 23, 2017, at 13:21 , Peter Bogdanoff via use-livecode 
>>  wrote:
>> 
>> Yes, thank you, that works. I used:
>> 
>> dispatch function "getPageNumber" to card "MITA" of stack "MITA" with tID
>> 
>> What came back was in “the result”
>> 
>> “it” contained “handled”
>> 
>> pb
>> 
>> On Feb 23, 2017, at 12:54 PM, Mike Bonner via use-livecode 
>>  wrote:
>> 
>>> Will this work for you?
>>> dispatch function "myFunction" to card "myCard"
>>> 
>>> put the result into tResult
>>> 
>>> Parameters can also be passed using the "with" extension. Unlike the
>>> "call", "send" and "value" handlers, the parameters are sent directly to
>>> the target handler, rather than being extracted from the string used to
>>> call the handler. This negates the need to surround our parameters in
>>> quotes and also allows us to pass arrays
>>> 
>>> On Thu, Feb 23, 2017 at 1:32 PM, Peter Bogdanoff via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
 Hi,
 
 I’m reading on
 http://lessons.livecode.com/m/4071/l/11787-how-to-call-a-
 function-or-command-in-another-object
 
 this:
 put value("myFunction(hello, world)", group "myGroup" of card "myCard")
 into tResult
 
 I want to use a variable as a parameter instead of “hello, world” as in
 the page example.
 
 These don’t work:
 put value(“getPageNumber (tID)", card "MITA" of stack "MITA") into tResult
 put value("getPageNumber" & (tID), card "MITA" of stack "MITA") into
 tResult
 
 What do I do?
 
 Peter Bogdanoff
 ___
 use-livecode mailing list
 use-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


___
use-livecode mailing list
use-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: Call a function on another card

2017-02-23 Thread Bob Sneidar via use-livecode
I may be mistaken, but I think that script locals are accessible to a behavior 
script. If so, you could keep the script local variables in the card, and the 
handlers in a library or backscript. I will set up a test for that. 

Bob S


> On Feb 23, 2017, at 14:51 , Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Bob,
> 
> This is a good question. In my case, each card script has script local 
> variables that are used only for that card.
> 
> In this unusual case (I’m creating a text search method) I need to access the 
> contents of those variables from another stack.
> 
> I indeed would like to move common handlers to a stack or library script, but 
> these handlers use many local variables relevant to the individual cards. I 
> have not yet thought of a simple way to use common handlers without a LOT of 
> passing of local variable data.


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


Re: [ANN] Release 9.0.0 DP-5

2017-02-23 Thread Jim Lambert via use-livecode
LC Team,

Congratulations and many thanks for this feature-packed release.
Brilliant!

Jim Lambert

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


Re: [ANN] Release 9.0.0 DP-5

2017-02-23 Thread Richard Gaskin via use-livecode

Sannyasin Brahmanathaswami wrote:

> Why even continue in 8.*   ?
>
> What issues are there with 9.* that would make it advisable not to
> try it for production?

For deployment it's usually best to use the most recent Stable build.

But for development it's usually best to use the most recent build of 
any designation so you know the current state of the engine as it 
pertains to your work.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: Call a function on another card

2017-02-23 Thread Bob Sneidar via use-livecode
I did a quick little test. The card's script local variables are not accessible 
from the behavior script. 

At this point you might consider using card properties instead. This is what I 
have been doing. This way each card can have it's own "variables" in the form 
of properties. Then you can have a function in each card script that returns 
the value stored in the property:

function cardProp pPropName
   return the pPropName of me
end cardProp

Booyah. I use this myself. The nice thing about using properties is that if 
there is no such property there will not be any error thrown. 

Bob S


> On Feb 23, 2017, at 14:56 , Bob Sneidar via use-livecode 
>  wrote:
> 
> I may be mistaken, but I think that script locals are accessible to a 
> behavior script. If so, you could keep the script local variables in the 
> card, and the handlers in a library or backscript. I will set up a test for 
> that. 
> 
> Bob S
> 
> 
>> On Feb 23, 2017, at 14:51 , Peter Bogdanoff via use-livecode 
>>  wrote:
>> 
>> Bob,
>> 
>> This is a good question. In my case, each card script has script local 
>> variables that are used only for that card.
>> 
>> In this unusual case (I’m creating a text search method) I need to access 
>> the contents of those variables from another stack.
>> 
>> I indeed would like to move common handlers to a stack or library script, 
>> but these handlers use many local variables relevant to the individual 
>> cards. I have not yet thought of a simple way to use common handlers without 
>> a LOT of passing of local variable data.
> 
> 
> ___
> use-livecode mailing list
> use-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: [ANN] Release 9.0.0 DP-5

2017-02-23 Thread Monte Goulding via use-livecode

> On 24 Feb 2017, at 9:42 am, Mike Kerner via use-livecode 
>  wrote:
> 
> Another question:  Does the mobile have to be tethered to the desktop?  If
> I build a standalone, how are we going to communicate?

They communicate via sockets so no it doesn’t need to be tethered.

Cheers

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

Re: [ANN] Release 9.0.0 DP-5

2017-02-23 Thread Bob Sneidar via use-livecode
Probably a typo, but shouldn't the backslash be INSIDE the quotes in the 
example for Specifying local host and port when opening a socket? 

Bob S



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


Standalone Builder Issues (again)

2017-02-23 Thread Bob Sneidar via use-livecode
Hi all. 

I am getting the impression that the standalone builder goes to each card in 
each stack when building an application. The reason I think this is because I 
have an openStack handler in the card script of the mainstack which opens a 
login stack as modal. When building standalones now in 8.1.3, the Login stack 
opens and the build process stops (because it's a modal stack). I can work 
around this by shift-ctrl-cmd right-clicking the card and switching the stack 
to topLevel, but that begs the question: Why is the standalone builder running 
my scripts?? Or do I misunderstand something? 

Bob S



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


Re: [ANN] conference - tickets sent

2017-02-23 Thread Dirk prive via use-livecode
Ik zie niet direct mijn ticket?
Groeten,
Dirk Cleenwerck


On Feb 23, 2017 23:39, "Mark Schonewille via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> The tickets for the eHUG International Mini Conference on LiveCode have
> been sent. Everyone who ordered a ticket until yesterday should have
> received it by now. Obviously, if you didn't, you should contact me
> right-away.
>
> If you regret not having bought a ticket, you can still do so until we
> disable this feature of the website. However, you might want to send me an
> e-mail or call first.
>
> --
> Kind regards,
>
> Mark Schonewille
> http://economy-x-talk.com
> https://www.facebook.com/marksch
>
> Buy the most extensive book on the
> LiveCode language:
> http://livecodebeginner.economy-x-talk.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


back to slow compile with 8.1.3?

2017-02-23 Thread Dr. Hawkins via use-livecode
I mentioned a bit ago that with the RC sequences of 8.1.3, I had to go to
7.1 to combine my stacks, but then they compiled quickly with 8.1.3.

Now, I'm at 8 minutes and counting with the released 8.1.3 . . .
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Call a function on another card

2017-02-23 Thread Peter Bogdanoff via use-livecode
Thanks Bob, I’ll look at this more closely.

One benefit of using custom properties rather than local variables is that I’ve 
seen that local variables are sometimes emptied on some script errors when 
working on a script. Then I have to quit and reload the stack.

Peter


On Feb 23, 2017, at 3:17 PM, Bob Sneidar via use-livecode 
 wrote:

> I did a quick little test. The card's script local variables are not 
> accessible from the behavior script. 
> 
> At this point you might consider using card properties instead. This is what 
> I have been doing. This way each card can have it's own "variables" in the 
> form of properties. Then you can have a function in each card script that 
> returns the value stored in the property:
> 
> function cardProp pPropName
>   return the pPropName of me
> end cardProp
> 
> Booyah. I use this myself. The nice thing about using properties is that if 
> there is no such property there will not be any error thrown. 
> 
> Bob S
> 
> 
>> On Feb 23, 2017, at 14:56 , Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> I may be mistaken, but I think that script locals are accessible to a 
>> behavior script. If so, you could keep the script local variables in the 
>> card, and the handlers in a library or backscript. I will set up a test for 
>> that. 
>> 
>> Bob S
>> 
>> 
>>> On Feb 23, 2017, at 14:51 , Peter Bogdanoff via use-livecode 
>>>  wrote:
>>> 
>>> Bob,
>>> 
>>> This is a good question. In my case, each card script has script local 
>>> variables that are used only for that card.
>>> 
>>> In this unusual case (I’m creating a text search method) I need to access 
>>> the contents of those variables from another stack.
>>> 
>>> I indeed would like to move common handlers to a stack or library script, 
>>> but these handlers use many local variables relevant to the individual 
>>> cards. I have not yet thought of a simple way to use common handlers 
>>> without a LOT of passing of local variable data.
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-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: [ANN] conference - tickets sent

2017-02-23 Thread Mark Schonewille via use-livecode

Beste Dirk,

Ik zal je off-list nog even een mailtje sturen.

Kind regards,

Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch

Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com

Op 24-Feb-17 om 01:17 schreef Dirk prive via use-livecode:

Ik zie niet direct mijn ticket?
Groeten,
Dirk Cleenwerck


On Feb 23, 2017 23:39, "Mark Schonewille via use-livecode" <
use-livecode@lists.runrev.com> wrote:


The tickets for the eHUG International Mini Conference on LiveCode have
been sent. Everyone who ordered a ticket until yesterday should have
received it by now. Obviously, if you didn't, you should contact me
right-away.

If you regret not having bought a ticket, you can still do so until we
disable this feature of the website. However, you might want to send me an
e-mail or call first.

--
Kind regards,

Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch

Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.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


SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-23 Thread Tom Glod via use-livecode
Hi everyone,

Read this article today. I use SHA1 in my software, so

https://www.recode.net/2017/2/23/14715570/google-researchers-crack-internet-security-tool-sha1-encryption

What do you all think? Should I bother reporting this? or is it fair to say
they know about it?  What are the chances that there will be extra effort
placed on adding another sha digest function? sha256?

THanks

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


Re: [ANN] Release 9.0.0 DP-5

2017-02-23 Thread Sannyasin Brahmanathaswami via use-livecode
@ Bob (who wrote)

   " Do you suggest that all development and improvement for version 8 and that 
we all wait for certain bugs to be addressed in the next major release? That 
would be unfortunate. Already since the earlier versions of 8, there have been 
marked improvements and bug fixes, such as much faster search times and an 
order of magnitude faster Build times."

Not at all. But for those of us who are

a) making a major move to script only (stacks, libs, behaviors) 
b) struggling with de-bugging on mobile

9 DP5 has us, as Mike says "drooling"

@Richard who wrote: 

"for deployment -- most recent stable…"
"for dev -- most recent build, know current state of engine as pertains to your 
work."

How logical!  thanks… assuming there is no change in file format and stacks are 
backward compatible, that makes good sense.

I have backups everywhere, so I'm off with 9DP5

Congrats to the team at HQ

BR

___
use-livecode mailing list
use-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: Call a function on another card

2017-02-23 Thread Richard Gaskin via use-livecode

Bob Sneidar wrote:

> I did a quick little test. The card's script local variables are not
> accessible from the behavior script.

True, but you may not need to:  each object subscribed to a behavior 
script maintains its own set of script-local variables.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: [ANN] Release 9.0.0 DP-5

2017-02-23 Thread Richard Gaskin via use-livecode

Sannyasin Brahmanathaswami wrote:

> @Richard who wrote:
>
> "for deployment -- most recent stable…"
> "for dev -- most recent build, know current state of engine as
> pertains to your work."
>
> How logical!  thanks… assuming there is no change in file format and
> stacks are backward compatible, that makes good sense.

v8.1 and v9 share the same format.

But even when there is a format change, the team's done a good job of 
providing save-as going back at least a decade's worth of older formats.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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

deploy?

2017-02-23 Thread Richard Gaskin via use-livecode

The v9dp5 Release Notes include:

  Script-only deploy (9.0.0-dp-5)
  It is now possible to use script-only stacks in the mainstack
  and auxiliary stack parameters to the deploy command.

Sounds cool. What's the "deploy" command?  It's not in the Dictionary.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: deploy?

2017-02-23 Thread Monte Goulding via use-livecode
It’s an IDE only internal command for creating standalone engines.

> On 24 Feb 2017, at 12:51 pm, Richard Gaskin via use-livecode 
>  wrote:
> 
> The v9dp5 Release Notes include:
> 
>  Script-only deploy (9.0.0-dp-5)
>  It is now possible to use script-only stacks in the mainstack
>  and auxiliary stack parameters to the deploy command.
> 
> Sounds cool. What's the "deploy" command?  It's not in the Dictionary.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.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: deploy?

2017-02-23 Thread Richard Gaskin via use-livecode

Monte Goulding wrote:

>> On 24 Feb 2017, at 12:51 pm, Richard Gaskin wrote:
>>
>> What's the "deploy" command?  It's not in the Dictionary.
>
> It’s an IDE only internal command for creating standalone engines.

Sounds useful for automating build systems.  At least part of it is 
documented in the latest Release Notes - where can I find the rest of 
the docs on that?


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: deploy?

2017-02-23 Thread Monte Goulding via use-livecode

> On 24 Feb 2017, at 1:19 pm, Richard Gaskin via use-livecode 
>  wrote:
> 
> Sounds useful for automating build systems.  At least part of it is 
> documented in the latest Release Notes - where can I find the rest of the 
> docs on that?

It isn’t part of the engine I know much about nor am I sure if/where the 
documentation might be. You would probably be better working with standalone 
builder scripts to automate building anyway.

Have a look at the standalone builder tests for command line building 
https://github.com/livecode/livecode-ide/tree/develop/tests/standalonebuilder 

___
use-livecode mailing list
use-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: Script locals in library stack script

2017-02-23 Thread J. Landman Gay via use-livecode

On 2/10/17 2:22 PM, J. Landman Gay via use-livecode wrote:

I have set the LC preference to preserve variables. In the past I have
rarely seen a script local lose its value, and never if there has been
no script compile. I don't know exactly when it started but I was in
8.1.3 rc 1 when I noticed it.


In case anyone has been losing sleep over this, it was indeed me. Two 
weeks later while revising my scripts I found the culprit line, 
sandwiched between two large blocks of commented-out code, lurking with 
its head down and its eyes closed. But there was a snicker on its face.


I hit it over the head, put it in a gunny sack, and threw it in the 
river. Our river is frozen right now so I hope it hurt.


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


Remote debugger

2017-02-23 Thread J. Landman Gay via use-livecode
I jumped all over this right away. I set a breakpoint in a test stack, 
tethered my phone to the Mac, and clicked the Test button.


My button script:

on mouseUp
  get "Testing"
  put it into fld 1 -- breakpoint set here
end mouseUP

The app launched on my phone and the script stopped executing at the 
right place (nothing went into fld 1) but I wasn't asked if I wanted to 
start a debugging session and the IDE didn't go into debug mode.


Is there something else I need to do to in the stack to activate remote 
debugging?


Samsung S4, Android 5.0.1

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

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


Re: Remote debugger

2017-02-23 Thread panagiotis merakos via use-livecode
Hi Jacque,

Make sure you add the remote debugger inclusion in Inclusions pane. This
should not be necessary in the IDE, but currently you maybe have to do it.

Best,
Panos

On 24 Feb 2017 05:45, "J. Landman Gay via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> I jumped all over this right away. I set a breakpoint in a test stack,
> tethered my phone to the Mac, and clicked the Test button.
>
> My button script:
>
> on mouseUp
>   get "Testing"
>   put it into fld 1 -- breakpoint set here
> end mouseUP
>
> The app launched on my phone and the script stopped executing at the right
> place (nothing went into fld 1) but I wasn't asked if I wanted to start a
> debugging session and the IDE didn't go into debug mode.
>
> Is there something else I need to do to in the stack to activate remote
> debugging?
>
> Samsung S4, Android 5.0.1
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] Release 9.0.0 DP-5

2017-02-23 Thread Richmond Mathewson via use-livecode
I wish I could understand the way different "levels" come out 
concurrently. Are we to assume

that all the new things in 8.1.3 are also bound into 9.0.0 DP-5?

Richmond.

On 2/23/17 10:41 pm, panagiotis merakos via use-livecode wrote:

Dear list members,

We are pleased to announce the release of LiveCode 9.0.0 DP-5.


Developer Preview Release
=
Warning: this is not a stable release.  Please ensure that you back up your
stacks before testing them.

Getting the Release
===
You can get the release at https://downloads.livecode.com/livecode/ or via
the automatic updater.

Release Contents

LiveCode 9.0.0 DP-5 contains exciting new features, bug fixes, stability
and security improvements.

In total, 21 bugs have been fixed since the last development preview
release (LiveCode 9.0.0 DP-4).

Moreover, 36 additional bugs that have been fixed for 8.1.4 RC-1 (which is
not released yet), are included in LiveCode 9.0.0 DP-5.

LiveCode 9.0.0 DP-5 contains, among others, the following exciting new
features:

- Implementation of NFC tag reading on Android (Community, Indy and
Business):
New functions/commands/messages to read data from NFC tags.

- Implementation of a script library for common MIME functions (Community,
Indy and Business):
A new Multipurpose Internet Mail Extensions (MIME) library has been
implemented to provide support for common data formats such as multipart
email message bodies.

- Implementation of a remote debugger (Business only):
Run a standalone for the local platform from the IDE and debug it whilst it
runs locally
Run a standalone for iOS or Android from the IDE and debug it whilst it
runs on a directly connected Android or iOS device

- Implementation of a script profiler (Business only):
Use the new script profiler to identify the most costly lines of code in a
stack.


The full release notes are available from:

http://downloads.livecode.com/livecode/9_0_0/LiveCodeNotes-9_0_0_dp_5.pdf

Feedback

Please report any bugs encountered on our BugZilla at
http://quality.livecode.com/

We have a forum available for discussing LiveCode Builder at
http://forums.livecode.com/viewforum.php?f=93

Have fun!

The LiveCode Team
--
___
use-livecode mailing list
use-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: Remote debugger

2017-02-23 Thread J. Landman Gay via use-livecode

Hi Panos,

I did it both ways, with the remote debugger included and without, but 
got the same results. It stops the app at the point where it should 
activate and nothing else happens.



On 2/24/17 12:21 AM, panagiotis merakos via use-livecode wrote:

Hi Jacque,

Make sure you add the remote debugger inclusion in Inclusions pane. This
should not be necessary in the IDE, but currently you maybe have to do it.

Best,
Panos

On 24 Feb 2017 05:45, "J. Landman Gay via use-livecode" <
use-livecode@lists.runrev.com> wrote:


I jumped all over this right away. I set a breakpoint in a test stack,
tethered my phone to the Mac, and clicked the Test button.

My button script:

on mouseUp
  get "Testing"
  put it into fld 1 -- breakpoint set here
end mouseUP

The app launched on my phone and the script stopped executing at the right
place (nothing went into fld 1) but I wasn't asked if I wanted to start a
debugging session and the IDE didn't go into debug mode.

Is there something else I need to do to in the stack to activate remote
debugging?

Samsung S4, Android 5.0.1

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

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


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




--
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: Remote debugger

2017-02-23 Thread J. Landman Gay via use-livecode
How do the sockets communicate? My phone is on wifi, my Mac is ethernet. 
They both go through the same router though.


On 2/24/17 12:21 AM, panagiotis merakos via use-livecode wrote:

Hi Jacque,

Make sure you add the remote debugger inclusion in Inclusions pane. This
should not be necessary in the IDE, but currently you maybe have to do it.

Best,
Panos

On 24 Feb 2017 05:45, "J. Landman Gay via use-livecode" <
use-livecode@lists.runrev.com> wrote:


I jumped all over this right away. I set a breakpoint in a test stack,
tethered my phone to the Mac, and clicked the Test button.

My button script:

on mouseUp
  get "Testing"
  put it into fld 1 -- breakpoint set here
end mouseUP

The app launched on my phone and the script stopped executing at the right
place (nothing went into fld 1) but I wasn't asked if I wanted to start a
debugging session and the IDE didn't go into debug mode.

Is there something else I need to do to in the stack to activate remote
debugging?

Samsung S4, Android 5.0.1

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

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


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




--
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: Remote debugger

2017-02-23 Thread panagiotis merakos via use-livecode
Hmm I guess you have checked Script Debug mode, is that correct? Maybe it
is worth typing in the msg box "put true into grevdevelopment" and test
again. This will catch any silent failure in the IDE, if any.

On 24 Feb 2017 06:31, "J. Landman Gay via use-livecode" <
use-livecode@lists.runrev.com> wrote:

Hi Panos,

I did it both ways, with the remote debugger included and without, but got
the same results. It stops the app at the point where it should activate
and nothing else happens.



On 2/24/17 12:21 AM, panagiotis merakos via use-livecode wrote:

> Hi Jacque,
>
> Make sure you add the remote debugger inclusion in Inclusions pane. This
> should not be necessary in the IDE, but currently you maybe have to do it.
>
> Best,
> Panos
>
> On 24 Feb 2017 05:45, "J. Landman Gay via use-livecode" <
> use-livecode@lists.runrev.com> wrote:
>
> I jumped all over this right away. I set a breakpoint in a test stack,
>> tethered my phone to the Mac, and clicked the Test button.
>>
>> My button script:
>>
>> on mouseUp
>>   get "Testing"
>>   put it into fld 1 -- breakpoint set here
>> end mouseUP
>>
>> The app launched on my phone and the script stopped executing at the right
>> place (nothing went into fld 1) but I wasn't asked if I wanted to start a
>> debugging session and the IDE didn't go into debug mode.
>>
>> Is there something else I need to do to in the stack to activate remote
>> debugging?
>>
>> Samsung S4, Android 5.0.1
>>
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software   | http://www.hyperactivesw.com
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>

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

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


Re: Remote debugger

2017-02-23 Thread J. Landman Gay via use-livecode
Debug mode is on (it always is, but I just checked again.) I set 
gRevDevelopment to true, but no change. It acts like the phone script 
stops at the breakpoint but the IDE doesn't know anything happened.



On 2/24/17 12:39 AM, panagiotis merakos via use-livecode wrote:

Hmm I guess you have checked Script Debug mode, is that correct? Maybe it
is worth typing in the msg box "put true into grevdevelopment" and test
again. This will catch any silent failure in the IDE, if any.

On 24 Feb 2017 06:31, "J. Landman Gay via use-livecode" <
use-livecode@lists.runrev.com> wrote:

Hi Panos,

I did it both ways, with the remote debugger included and without, but got
the same results. It stops the app at the point where it should activate
and nothing else happens.



On 2/24/17 12:21 AM, panagiotis merakos via use-livecode wrote:


Hi Jacque,

Make sure you add the remote debugger inclusion in Inclusions pane. This
should not be necessary in the IDE, but currently you maybe have to do it.

Best,
Panos

On 24 Feb 2017 05:45, "J. Landman Gay via use-livecode" <
use-livecode@lists.runrev.com> wrote:

I jumped all over this right away. I set a breakpoint in a test stack,

tethered my phone to the Mac, and clicked the Test button.

My button script:

on mouseUp
  get "Testing"
  put it into fld 1 -- breakpoint set here
end mouseUP

The app launched on my phone and the script stopped executing at the right
place (nothing went into fld 1) but I wasn't asked if I wanted to start a
debugging session and the IDE didn't go into debug mode.

Is there something else I need to do to in the stack to activate remote
debugging?

Samsung S4, Android 5.0.1

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

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

___

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







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