Re: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2

2014-03-19 Thread Mark Schonewille

Jacque,

I don't agree and the solution is simple: just include a statement in 
the docs that the htmlText property is never empty but always returns at 
least one pair of p tags.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 3/19/2014 16:45, J. Landman Gay wrote:

On 3/19/14, 9:35 AM, Mark Schonewille wrote:

In the past 15 years I never had any problems with htmlText always
containing p tags, even if the text of the field was empty.
Therefore, I think it is no bug.


I haven't had any problem with it either, but that doesn't mean it isn't
a bug. Consider this, which is very similar to what my current project
does:

A user enters some styled text into a field. The text is stored as
htmltext in a custom property.

Because the field is a background field, there may be many of these
properties per field, and the correct text is displayed based on the
stack's current status. In my project, a preOpenCard handler looks for
the correct property to determine which text to display.

In some cases the script needs to determine whether the custom property
has content or not in order to take action. Because the text in the
field may not be the text that needs to be checked, the custom property
is checked.

If it contains paragraph tags, it isn't empty and the script fails. (In
my case this doesn't matter; in other cases it could.)

I anticipate you will say don't put anything in the custom property if
you plan to check it -- but if the content is set by the user then we
have no control over that. And I agree -- if there is no content, then
the engine should not put anything into the custom property.

It isn't difficult to script around the behavior but I think it
shouldn't happen in the first place. And it does defy the definition of
empty.



___
use-livecode mailing list
use-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: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2

2014-03-19 Thread Mark Schonewille

Trevor,

When a browser renders p/p it displays nothing.

Correct htmlText starts and ends with p tags. That's the LiveCode 
convention. Anything else is not htmlText. Therefore, if a text is 
empty, to have valid htmlText the propety still needs to return the tags.


Currently, we wil always know for sure whether data is htmlText or not. 
If we remove the tags, there is no way to know if data is htmlText if 
that data happens to be empty.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 3/19/2014 20:08, Trevor DeVore wrote:

On Wed, Mar 19, 2014 at 2:36 PM, Scott Rossi sc...@tactilemedia.com wrote:


Maybe it helps (or hinders) to consider the fact the following renders as
empty in a web browser, even though clearly there is code content present:

html
body
/body
/html



True. But doesn't p/p mean that you have 1 empty paragraph? I think
that the HTML returned by LiveCode (1 empty paragraph) is different than
what is present in the field (nothing).

Since the htmltext is a property of a field, and no an entire document, I'm
inclined to say that the htmltext should return empty and not p/p when
there is not text present.



___
use-livecode mailing list
use-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: LC Commercial Update

2014-03-18 Thread Mark Schonewille
Hi Larry,

I just deleted livecode setup.exe and livecode setup.app and am no longer 
getting these messages. I decided to do this after trying to turn off update 
checks in the preferences without success.

--
Best regards,

Mark Schonewille

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

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

We have time for new software development projects. Contact me for a quote.






On 18 mrt 2014, at 23:42, la...@significantplanet.org wrote:

 I agree with Cal.
 
 It doesn't do any good to update to a new full of bugs IDE and waste time 
 programming. Backing up stacks is not the issue. (why even bother to point 
 that out??  Duh!  Everyone is going to be backing up all the time!!)   It's 
 wasting time coding in the IDE and only after compiling finding out that 
 certain things don't work properly.
 
 
 
 Call me old fashioned and stodgy but I'm still using LC 5.5.5 to do what I
 want to do. No doubt I will upgrade when LC 7.0 comes about, if it meets my
 needs.
 
 But, while I continue to use what I consider to be a fairly stable IDE I don
 t wish to be bothered each time I start up by that annoying message that
 there is a new interim update available.
 
 Finally, the question:
 Is there a switch I can set that will stop that startup message from
 notifying me something I don't want or need to know?
 
 Cal
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


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


[ANN] User Group Meeting in the Netherlands

2014-03-12 Thread Mark Schonewille

Hallo,

Op 22 Maart 2014 organiseert eHUG weer een LiveCode-bijeenkomst. De 
bijeenkomst begint om 11:00h en zal rond 15:00h afgelopen zijn. De 
locatie is Utrecht. De exacte plek moet nog bepaald worden en zal zo 
gauw mogelijk bekend worden gemaakt.


Als hierin geïnteresseerd bent, laat het dan alsjeblieft even weten in 
een persoonlijke e-mail aan mij.


--

22nd March 2014, eHUG will be organising another LiveCode meeting. The 
meeting starts at 11:00h and will finish at approximately 15:00h. The 
location will be Utrecht. The exact venue has yet to be determined and 
will be announced shortly.


If you intend to participate in this event, please send me an e-mail 
off-list.


More information will follow soon.

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

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

2014-03-11 Thread Mark Schonewille

Hi Björnke,

What would you say about

on mouseDoubleUp
   mouseUp
   mouseUp
end mouseDoubleUp

This way, every click is counted as a real click (if this actually works).

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 3/11/2014 16:09, Björnke von Gierke wrote:

Hi

I wanted to disable mousedoubleup for a short time on a specific object, but it 
seems it's not possible to do this whit the doubleclickinterval, as that is not 
available on windows.

The problem is of course that in this stack people will click very fast and the double 
events will then swallow some of the interactions. Is there any other 
workaround to react to the mouse events, but none of the double ones?



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

2014-03-11 Thread Mark Schonewille

Hi Ben,

I think that the chunk names for unicode should be exactly the same as 
for english text, but they should act differently if either the text 
being operated on is unicode text or the useUnicode has been set to true.


Note that other development tools don't have this problem at all. 
Operations on English text work the same way as on unicode text and 
there is no need to even think about the encoding.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 3/11/2014 19:15, Benjamin Beaumont wrote:

Hi All,

We're in the process of adding some new chunk types in LiveCode 7 and we
would appreciate suggestions for a particular chunk name.

The new chunk types are:

naturalword (breaks on unicode word boundaries)
sentence (breaks on unicode sentence boundaries)
paragraph (Same behaviour as current 'line' chunk)

The first chunk is called 'naturalword' because 'word' is already in use.
Renaming the current 'word' chunk to 'token' to free up 'word' is not an
option for backward compatibility. We are also limited by the current
parser which doesn't allow us to use the form:

put natural word 1 of this is a string of words

'naturalword' is the clearest internal suggestion at the moment and we'd
love to get the input from community members if there is an even clearer
option.

Warm regards and thank you for your input.

Ben




___
use-livecode mailing list
use-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: properties vs local variable

2014-03-10 Thread Mark Schonewille

Hi Terry,

Can you use arrays? They aren't necessarily faster, but in this case 
they might be. Although you have a repeat-for loop, you're still 
updating a counter to keep track of your second data list. Using arrays 
just might speed things up, because the engine won't need to count 
things from the beginning in every loop but can instead read the correct 
elements from both arrays directly. I suspect this solution will either 
be slower or just a little fast, but it could be worth a try.


on displayData tRecNum
   --put milliseconds() into tS
   lock screen
   lock messages
   set the uRecNum of me to tRecNum
   put the uCols of me into tCols
   put the uRows of me into tRows
   set the itemDelimiter to tab
   put 1 into tFldNum
   put 1 into tLineNum
   put line tRecNum to tRecNum + tRows - 1 of the uData of me into tData
   put line tRecNum to tRecNum + tRows - 1 of the uSelected of me into 
tSelectedData

   split tData by cr // numeric keys
   split tSelectedData by cr // same numeric keys
   repeat for each line myKey in the keys of tData // use numeric keys
  if tSelectedData[myKey] then
 put 62,117,215  into tBackColor
 put 255,255,255  into tForeColor
  else
 put 0,0,0  into tForeColor
 if myKey mod 2 = 0 then
put 244,246,250 into tBackColor
 else
put 255,255,255 into tBackColor
 end if
  end if
  put 1 into fldNum
  repeat for each item tCellData in item 1 to tCols of tData[myKey]
 put tCellData into fld tFldNum of me
 set the backgroundColor of fld tFldNum of me to tBackColor
 set the foregroundColor of fld tFldNum of me to tForeColor
 add 1 to tFldNum
  end repeat
  // add 1 to tLineNum
   end repeat
   unlock messages
   unlock screen
   --put milliseconds() - ts into cd fld result
end displayData

You might want to check that this script actually does what you want. I 
only made a few quick edits..



--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 3/10/2014 13:15, Terence Heaford wrote:

Mark,

Thanks for your comments.

I am not having a particular problem, just trying to write efficient methods.

I have created my own text table in a group consisting of 6 cols (fields) * 20 
rows (fields) to try and speed up the scrolling when using a DG.

This has worked with a scrolling speed increase of approx. 30% when compared to 
the DG, probably because my table purely uses text and has no need for the 
remaining code that is in the DG.

The most time consuming element is loading all the fields with the data. Here 
is the displayData routine.

Can you see any areas that could me modified to speed it up?

on displayData tRecNum
--put milliseconds() into tS
lock screen
lock messages
set the uRecNum of me to tRecNum
put the uCols of me into tCols
put the uRows of me into tRows
set the itemDelimiter to tab
put 1 into tFldNum
put 1 into tLineNum
put line tRecNum to tRecNum + tRows - 1 of the uData of me into tData
put line tRecNum to tRecNum + tRows - 1 of the uSelected of me into 
tSelectedData
repeat for each line tRecData in tData
   put item 1 to tCols of tRecData into tFldData
   if line tLineNum of tSelectedData = true then
  put 62,117,215  into tBackColor
  put 255,255,255  into tForeColor
   else
  put 0,0,0  into tForeColor
  if tLineNum mod 2 = 0 then
 put 244,246,250 into tBackColor
  else
 put 255,255,255 into tBackColor
  end if
   end if
   repeat for each item tCellData in tFldData
  put tCellData into fld tFldNum of me
  set the backgroundColor of fld tFldNum of me to tBackColor
  set the foregroundColor of fld tFldNum of me to tForeColor
  add 1 to tFldNum
   end repeat
   add 1 to tLineNum
end repeat
unlock messages
unlock screen
   --put milliseconds() - ts into cd fld result
end displayData



All the best

Terry



___
use-livecode mailing list
use-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: properties vs local variable

2014-03-10 Thread Mark Schonewille

Hi Terry,

The split command itself doesn't slow it down, because that happens 
outside the repeat loop. However, arrays appear not to be the fastest 
way to access data and apparently in this case the removal of the 
counter was not enough to compensate for the addition of the arrays.


I see no thText in your original script. Perhaps you need to post more 
code, including the part that retrieves the data from the database all 
the way up to and including the part where it displays the data.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 3/10/2014 16:07, Terence Heaford wrote:

Hi Mark,

Have tried your adjustments to my script and it was a little slower than the 
original.

Could that be because of the split command?

I read the data in from an SQLite file in the return/tab delimited format.

put revDataFromQuery(tab, return, the uDB of this stack, tSQL) into tData

then I pass the data to the group

set thText of group “myTable of cd “myCard of stack “myStack to tData


I wonder if I split the data into an array and pass it directly to the group as 
an array if that would be quicker because there would be no need for the split 
to occur in the displayData routine?


All the best

Terry



___
use-livecode mailing list
use-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: properties vs local variable

2014-03-10 Thread Mark Schonewille

Hi Terry,

Since the arrays don't add any efficiency in this case (as expected), 
perhaps it is a good idea to use a different approach. I understand that 
even fields should always have backColor 62,117,215 and white as the 
foreColor, unless line tLineNum of tSelectedData is not true. If line 
tLineNum of tSelectedData is not true, then you want even end odd fields 
to have different colours. There are a few ways to increase speed here.


First of all, you can make a group with colorized fields. Depending on 
how often line tLineNum of tSelectedData is true or false, you can give 
fields the required colours and only set the foreColor and backColor of 
a field if it has to change. This could increase speed by almost 50%, 
again depending on the values of line tLineNum of tSelectedData.


You can also change the repeat loop, using constants instead of 
variables. If I'm not mistaken, your repeat loop should now look like this:


   repeat for each line tRecData in tData
  put item 1 to tCols of tRecData into tFldData
  put 1 into tFldNum
  if line tLineNum of tSelectedData = true then
 // commenting out the following lines,
 // assuming fields have these colours by default
 // put 62,117,215  into tBackColor
 // put 255,255,255  into tForeColor
 repeat for each item tCellData in tFldData
put tCellData into fld tFldNum of me
// the next two lines should no longer be necessary
// set the backgroundColor of fld tFldNum of me to
// tBackColor
// set the foregroundColor of fld tFldNum of me to
// tForeColor
add 1 to tFldNum
 end repeat
  else
 if tLineNum mod 2 = 0 then
repeat for each item tCellData in tFldData
   put tCellData into fld tFldNum of me
   set the backgroundColor of fld tFldNum of me to \
  244,246,250
   set the foregroundColor of fld tFldNum of me to black
   add 1 to tFldNum
end repeat
 else
repeat for each item tCellData in tFldData
   put tCellData into fld tFldNum of me
   set the backgroundColor of fld tFldNum of me to white
   set the foregroundColor of fld tFldNum of me to black
   add 1 to tFldNum
end repeat
 end if
  end if
  add 1 to tLineNum
   end repeat

This could be a little faster.

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 3/10/2014 16:30, Terence Heaford wrote:

Mark,

Set thText is just a setProp routine in the group to receive the return/tab 
delimited data.

thText then sets a custom property of the group plus the scrollbar settings 
depending on the number of lines in the data

displayData is the only routine that places data into the fields.


All the best

Terry




___
use-livecode mailing list
use-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: properties vs local variable

2014-03-10 Thread Mark Schonewille

Hi Terry,

Keep us posted. I'm really curious which solution appears to be 
significantly faster.



--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 3/10/2014 21:38, Terence Heaford wrote:

Hi Mark,

Thanks once again. All your comments are valid and there is certainly no need 
to change the field colour unless tSelectedData is not true.

So, I think your method is marginally quicker but is probably held back from 
being even quicker by the extra if then constructs.

I will now explore the htmlText solution to see what that results in. Bit more 
time needed with this one to modify my routine and get my head around it 
because I have not used htmlText before.

All the best

Terry



___
use-livecode mailing list
use-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: Grouped Controls(Objects)

2014-03-08 Thread Mark Schonewille

Hi Terry,

Why don't you simply delete the group and create a new one?

If you want to have a list of controls of a group, card or stack, you 
can use a repeat loop in a getProp handler:


getProp allControls
  repeat with x = 1 to the number of controls of the target
put the long id of control x of the target  cr after myList
  end repeat
  return char 1 to -2 of myList
end allControls

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 3/8/2014 13:14, Terence Heaford wrote:

I have a group to which I add objects.

create field in group  “myGroup”

put the id of the last fld into tID

I then have a property of the group where I store the id called uObjectList

Then at some point I delete all the objects in uObjectList to clear out the 
group.

Is there a simpler way to do this?

Is it possible to get a list of objects contained in a group?


Thanks

Terry



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

2014-03-06 Thread Mark Schonewille

Hi Terence,

There are several ways to do this, e.g.

select line (the number of this cd) of btn My Tab Button

or

set the menuHistory of btn My Tab Button to the number of this cd


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 3/6/2014 22:01, Terence Heaford wrote:

A silly question.

If you go to a cd with a tab button

tab 1 = cd 1
tab 2 = cd 2
tab 3 = cd 3

cd 4 = does not have a tab button

and tab 2 was hilited with cd 2 showing and you then went to cd 4

If you now go to cd 1 from cd 4 (does not have a tab button)

how do you hilite tab 1?

Is there someway to set it via script.

something like

set the selectedTab of btn “my tab button” to 1

Thanks

Terry




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

2014-03-06 Thread Mark Schonewille

Terry,

The menuHistory is the last menu item selected by the user. Hence 
history. Thus far, it isn't a very strange name. This property just 
happens to be modifiable by script.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 3/6/2014 22:32, Terence Heaford wrote:

Thanks Mark,

Found menuHistory just before your post.

A strange property name.

All the best

Terry



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


Re: How to set Set as stack Menu bar?

2014-03-03 Thread Mark Schonewille

Tiemo,

set the editMenus to true|false

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 3/3/2014 11:07, Tiemo Hollmann TB wrote:

Hi,

In the menu builder window you can check the option set as stack menu bar,
so that the menu bar isn't shown in the stack window, but replaces the OS X
menu. Now I would like to set this option by script, so that the menu
switches to the OS X menu only in a standalone and not in the development
environment.

I don't find the property to set. It's not the menubar or defaultmenubar
property.

Any ideas?



Alternate: Where can I see all properties of an object (in this case of the
stack). I know, this has been discussed lately, but I don't find it.



Thanks

Tiemo







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



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


[ANN] Programming LiveCode for the Real Beginner - 3rd print

2014-03-03 Thread Mark Schonewille

Hi everyone,

I'd like to share a few words about my book with you.

The second print of Programming LiveCode for the Real Beginner has 
been sold out now. In approximately 6 weeks we will publish the third 
print of the book. This book will be slightly different from the second 
print. I will probably change a word here and there, correct a few minor 
spelling errors and update one sample script.


The book was published almost a year ago and the main challenge is now 
to keep this book available to the LiveCode community. You can help by 
telling new LiveCode users about Programming LiveCode for the Real 
Beginner. You can send your friends this link http://qery.us/44r or 
simply forward this e-mail to them.


The third print of the book will be a limited edition. If you want to be 
sure to get a copy, you should order it now. You can (still) place an 
order at http://qery.us/44p


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

___
use-livecode mailing list
use-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: Crowd Funding Enhancements

2014-03-01 Thread Mark Schonewille

Mike,

It used to be like that, along time ago. There was a window, called 
Variable Watcher, which was probably inherited from HyperCard. The 
Message Watcher, also inherited from HyperCard, still exists in a 
separate window.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/28/2014 22:35, Mike Kerner wrote:

here's another one:  when debugging, how about putting variables in a
separate window so they aren't competing for scarce vertical space with the
script?


On Mon, Feb 17, 2014 at 11:16 AM, Bob Sneidar
bobsnei...@iotecdigital.comwrote:


GLX2 used to do this if I recall, and so did Remo. I wonder if the code is
still there somewhere?

Bob


On Feb 16, 2014, at 13:38 , Richmond richmondmathew...@gmail.com wrote:


On 16/02/14 23:17, Peter Haworth wrote:

I'd vote for that one.  And while we're talking Script editor changes,

how

about split screen (horizontally) display and perhaps the ability to

move

tabs around.


It would be very useful if one could see two scripts, either

side-by-side or above each other, simultaneously.


Richmond.


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


Re: Why is everybody better than me?

2014-02-27 Thread Mark Schonewille

Hi Mats,

(Almost?) all e-mail clients have an option to quote the message that is 
being answered. If you check this option in the preferences of your 
client, the previous message will be included automatically.


Usually, you can also choose whether the previous message should be 
before (above) or after (below) your own text. Personally, I prefer to 
read quoted messages below the answer, because that doesn't force me to 
scroll down to the new reply in every single e-mail.


If you are using webmail, things may be slightly more complicated. Not 
every webmail system has the same options and they are not always called 
the same. E.g. Yahoo has quoting turned of by default, because they want 
you to use their threading system. There is a way to turned it on, but I 
don't recall how. I never use webmail.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/27/2014 13:36, Mats Wilstrand wrote:

When I get older I would very much like to learn how to post correctly to
this list. You all seem to have no problem getting the message you're
answering included in your answer. I do! I will consider all of you that are
willing to share this secret with me to be kind persons.

Kind regards
Mats



___
use-livecode mailing list
use-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: Support for Mac OSX 10.5

2014-02-25 Thread Mark Schonewille

Ben,

Dozens of my customers are still using Mac OS X 10.4. I'm quite 
surprised that you are asking about 10.5. Perhaps you shouldn't ask this 
list but some neutral source to find out how many people are really 
using older systems.


Keep in mind that for people who focus on the Mac market, no longer 
supporting OSX 10.5 might make them move on to another development 
platform or put them out of business.


Also, I was at a university some time ago, where they had a classroom 
full with eMacs running OS X 10.3. I had to use an old version of 
Revolution and make changes to my scripts for them. No longer supporting 
OSX 10.5 will definitely be a blow in the face for the educational market!


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/25/2014 17:18, Benjamin Beaumont wrote:

Dear List Members,

As many of you will know, we have been overhauling the LiveCode engine for
the last 12 months or so. For those of you who are watching the LiveCode
Github repository, you'll notice that:

- LiveCode 7 (Unicode) is nearing a workable engine.
- LiveCode 6.7 (Cocoa) is nearing a workable engine.

As we approach a DP we have a decision to make in regards to our continuing
support for older platforms, in particular, Mac OSX 10.5. LiveCode 6.7
requires considerable additional development resource to enable us to
continue supporting Mac OSX 10.5. The cocoa port is all but complete for
MacOS 10.6 and above. Our current plan is to put out a DP of LiveCode 6.7
as soon on the final elements are running and then return to round out Mac
OSX 10.5 support in subsequent DPs. LiveCode 7.0 has also required us to
spend considerable amounts of time ensuring compatibility with 10.5 and has
complicated our build process. As the 7.0 project matures, we'll have to
continue investing development resource to ensure that Mac OSX 10.5 is
fully support, above and beyond the resources used to support 10.6 and
above.

So we'd like to consult the community to gauge whether now is the
appropriate time to cease our support for Mac OS X 10.5. It would mean that
LiveCode 6.6 would be the final Mac OSX 10.5 compatible version. We're keen
to get the right balance between investing our development resources in
progress and platform support.

Are there compelling reasons to support MacOS X 10.5 in LiveCode 6.7 and
above? If so, we'd love to hear them.

Also, if we don't drop support at this point, when would it be appropriate
for us to do so?

Below is our list of concerns and also reasons we feel it benefits our team
and the community to drop support at this time.

Concerns
MacOS 10.5 is the final version to support PowerPC. As a result, owners of
PowerPC based Macs would not be able to use LiveCode 6.7 or above. However,
only 3.8% of Mac desktop computers are running MacOS X 10.5 according to
netmarketshare.com:

http://www.netmarketshare.com/report.aspx?qprid=11qpaf=qpcustom=Mac+OS+X+10.5qpcustomb=0

Users of LiveCode would be able to continue supporting their PowerPC
customers by building with LiveCode 6.6, but as a result would have to
start shipping two mac installers.

Pros
Dropping support has the following advantages for the LiveCode team and the
community:

1. We spend less time back porting the 10.6 cocoa implementation to
support 10.5 (10.5's Cocoa APIs are less mature than 10.6's and it isn't
possible to completely eliminate Carbon usage for a 10.5 port). We estimate
it will take 3-4 weeks to get the core engine working on 10.5. This saving
also applies to all future projects.
2. We spend less time getting new developments to build and run under
10.5. For example, the new libraries to support unicode took a considerable
investment of engineering resource to compile for 10.5.
3. We can use newer compilers on Mac that have improved optimisation
features, the result being a faster LiveCode engine.
4. Implementing desktop features for Mac becomes simpler (and as a
result quicker) with the API's being relatively consistent from 10.6-10.9.
This enables us to deliver features faster. The remainder of the stretch
goals for the kickstarter project are 'feature' implementations. Supporting
10.5 requires us to implement the features for more than one API, in many
cases doubling the amount of work we have to do.
5. Building and feature additions become easier for open-source
contributors.

Thanks for reading up to this point. We appreciate your feedback as it will
help us in our decision making process.

Warm regards,

Ben

_

Benjamin

Re: AW: Support for Mac OSX 10.5

2014-02-25 Thread Mark Schonewille

I completely agree with Tiemo's comments. This is a big issues for me.

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/25/2014 17:53, Tiemo Hollmann TB wrote:

Though I can follow the arguments for concentrating the efforts on new and
faster platforms, I actually can't believe that only 3,8% of Mac users would
be affected (if you count notebooks to desktops). I myself have beside my
iMac a MacBook from around 2007 which is not upgradebale on OS X 10.6
anymore and I am sure there are a lot of those machines out there with 10.5,
from my feeling much more than 3,8%. So I would be very unhappy to tell all
my clients out there with these kind of machines, sorry you either can't buy
new software from me nore updates to existing software anymore. And I can't
afford to compile and supply two different versions of my software.

So from my side thumb down

Tiemo




___
use-livecode mailing list
use-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: Support for Mac OSX 10.5

2014-02-25 Thread Mark Schonewille
Exactly, Devin! LiveCode is just getting back on the educational market 
and now they are about to lose it again!



--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/25/2014 18:02, Devin Asay wrote:

A little historical perspective:

Mac OS X 10.4 Tiger was released in April 2005, nearly 9 years ago. RunRev 
only recently announced it is dropping support for Tiger. (In v. 6.6?)

The transition to Intel processors happened in 2006, 8 years ago.

OS X 10.5 was released in October 2007, 6.5 years ago.

Dropping support for 10.5 won't affect me much, if at all, but I do worry about 
the many primary and secondary schools, public and private, who still depend on 
old hardware. (Richmond, this is your cue.) :)

My recommendation would be for RunRev to commit to maintaining LC 6.6 for at 
least another year, and even after that keeping it available for download for 
PPC/10.5 users.

So I agree with the prevailing sentiment to drop 10.5 support so we can move 
forward with newer technologies, with this caveat.

My .02.

Devin



___
use-livecode mailing list
use-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: Support for Mac OSX 10.5

2014-02-25 Thread Mark Schonewille

Jacque,

Dropping support for 10.5 isn't the same as dropping support for 
PowerPC. AFAIK, PPC support doesn't really exist for quite a while now.


10.5, however, also runs on a number of Mac models with Intel processor 
and LiveCode would no longer be useful on those machines. If I and 
hundres of other LC users want to keep this market, we will have to test 
every release of our software with an old version of LiveCode, to make 
sure that our scripts still work. That's a lot of extra work for everyone.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/25/2014 18:04, J. Landman Gay wrote:

On 2/25/14, 10:18 AM, Benjamin Beaumont wrote:

So we'd like to consult the community to gauge whether now is the
appropriate time to cease our support for Mac OS X 10.5.


I haven't built for PowerPC in ages and no one has ever noticed. I vote
to drop support for OS 10.5.



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


Re: Support for Mac OSX 10.5

2014-02-25 Thread Mark Schonewille

Mike,

When we gave money, we didn't expect that our reward would be the lack 
of support for Mac OS X 10.5.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/25/2014 18:05, Mike Kerner wrote:

This is yet another opportunity for crowd-funding.  Let everybody put their
money where their needs are.  Default:  Wave and move forward.





___
use-livecode mailing list
use-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: Support for Mac OSX 10.5

2014-02-25 Thread Mark Schonewille
No, Andrew. I think this is exactly one of RunRev's problems. Too often, 
they seem to have no attention for how many people are affected by a 
small bug or a strategical change, which seems to be rather unimportant 
at first sight. If you count the total number of hours that people will 
have to spend on testing their scripts, you will understand that this is 
indeed a lot of work compared to the man hours needed to maintain LC for 
OSX 10.5 a little longer.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/25/2014 18:36, Andrew Kluthe wrote:

Currently, I don't target mac so it really my input doesn't matter much.

On Tue, Feb 25, 2014 at 11:27 AM, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:


When we gave money, we didn't expect that our reward would be the lack of
support for Mac OS X 10.5.



That seems rather hyperbolic in light of the situation, in my opinion anyway

That's a lot of extra work for everyone.


Let me fix that for you. That's a lot of work for *you*.

I don't know what the answer here is, but I'm not for anything that will
slow down progress on other goals that are more important to others bottoms
lines as well.



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


[BLOG] What is LiveCode?

2014-02-24 Thread Mark Schonewille

Hi,

I have written a blog post to explain what is LiveCode, with CS teachers 
in mind. If you have any comments, you can add them at the bottom of the 
article.


http://qery.us/44f


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

___
use-livecode mailing list
use-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: fields that continue being editable in edit tool mode

2014-02-22 Thread Mark Schonewille

Richard,

If I set the cantSelect of a field to true, I can click in it and the 
text cursor will start blinking, but I can't type in it (on Windows). Is 
this what you are seeing? If you set the cantSelect of the field to 
false, it should be editable with the pointer tool again.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/22/2014 21:58, Dr. Hawkins wrote:

I had problems with this a while back, and now it's happening again.

I have fields that decide that they're still live in edit mode, and can't
be selected.
When the cursor enters them, it changes to a text tool.

I can't see any properties set differently in the inspectors for these.

Last time, I solved it by deleting and replacing them, but now there are
enough custom properties set, as well as attention to depth order, that it
would be a large amount of work to do so.



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


Re: iOS Folder Copy

2014-02-21 Thread Mark Schonewille

Hi Kay,

You can include the files of the folder in a custom property in a 
savingStandalone handler (or is it mobileSavingStandalone?) and write 
the files to the correct place when your app starts the first time.


You could also include a zip file and unzip it in the desired location 
when the app starts for the first time.


Actually, I don't understand why you would want to do this. Can't you 
just include the images in the standalone package and use those? If need 
be, you can add more files in a different location and just check two 
locations when you need a file.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/21/2014 10:40, Kay C Lan wrote:

I'm including a folder of images with my iOS app. The folder is included in
the 'Copy Files' pane of the Standalone Setting.

I see how to copy a single file from specialFolderPath(engine) to
specialFolderPath(documents) but how do I do a folder?

revCopyFolder is not supported on iOS.


___
use-livecode mailing list
use-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] Installer Maker 1.8.3

2014-02-21 Thread Mark Schonewille

Hi,

A new version of the Installer Maker Plug-in for LiveCode is now 
available. This version, 1.8.3, fixes a few minor problems and enhances 
compatibility with LiveCode 6.6.1.


This update applies to the plug-in for the commercial version of 
LiveCode only and not to the standalone version.


You can download the plug-in at http://qery.us/44d

Contact me off-list if you if you have any comments.

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

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

2014-02-20 Thread Mark Schonewille

Nakia,

What I understand from your e-mail is:
- you need to fill out web forms
- you need to send e-mails

What other _technical_ requirements do you have? Automate paper 
processes and begin a workflow aren't really items that belong in a list 
of technical requirements.


So far, you give me the impression that a simple PHP script will do the job.

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/21/2014 03:24, Nakia Brewer wrote:

Thanks for the replies,

Basically I am now using Perfect Forms to build systems for clients that 
automate paper processes.
Think of Human Resource systems such as Leave Requests etc.

The Majority of what I do is building approval style systems that allow people 
to fill in web forms that they then submit to begin a workflow
(moves onto the next level of approval etc etc)

It needs to have the ability for building reporting as well, Perfect Forms 
offers the ability to build Reports that are linked back into the
Form for reporting purposes. Think Dashboards...

Things I see I need

1. Needs to be we based as clients are not happy installing software (if they 
were I would be using LiveCode Applications)
2. As I am not familiar with any other language than LiveCode it needs to be 
simple to use to set up Logic, Conditions, Equations etc
3. Needs to be able to send HTML style emails when workflows move through 
different stages (with PDF attachments would be great!)
Noting above, needs to be able to send reminder emails based on certain 
conditions
4. Support is a big thing as this is Perfect Forms biggest downfall.


I hope this makes sense?




___
use-livecode mailing list
use-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: revBrowser and modal stack

2014-02-17 Thread Mark Schonewille

Hi Jbv,

One possibility is that the external works but that the page doesn't 
load because the modal dialog is blocking. Not very likely to be the 
case, though.


Another possibility is that the modal dialog disaplays on top of the 
browser window. The browser isn't a real control but a window drawn on 
top of the stack window. Modal dialogs are drawn in a layer in front of 
all other windows of an app, possibly including the browser windows. 
That means that you can't do what you want.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/17/2014 15:08, j...@souslelogo.com wrote:

Hi list,
I am using revBrowser in a pop-up stack.
When I use open stack mystack, revBrowserOpen works fine
and displays the requested webpage.
When I use modal stack mystack, revBrowserOpen doesn't
seem to work, as nothing displays. In both cases an integer is
returned by revBrowserOpen, which means that nothing went
wrong...
I'm on OSX 10.5.8 for the moment, and the problem is the
same with LC 4.5.3 (on which the stack was originally made)
and LC 6.5 .
What am I missing ?

Thanks,
jbv




___
use-livecode mailing list
use-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: revBrowser and modal stack

2014-02-17 Thread Mark Schonewille
Hi jbv,

I don't think so, as the browser window might be rendered incorrectly on top 
of a window that doesn't have a layer in front of itself anymore and because 
the browser window is supposed to move with its parent window. Probably the 
latter makes more sense than the former.

--
Kind regards,

Mark Schonewille
Economy-x-Talk
Http://economy-x-talk.com

Share the clipboard of your computer over a local network with Clipboard Link 
http://clipboardlink.economy-x-talk.com


Op 17 feb. 2014 om 15:29 heeft j...@souslelogo.com het volgende geschreven:

 
 Another possibility is that the modal dialog disaplays on top of the
 browser window. The browser isn't a real control but a window drawn on
 top of the stack window. Modal dialogs are drawn in a layer in front of
 all other windows of an app, possibly including the browser windows.
 That means that you can't do what you want.
 
 Hi Mark,
 Thanks for your reply.
 If I understand you well, since the modal stack occupies only a small part
 of the screen, when moving it I should see the browser window underneath,
 actually on top of the main stack that calls the modal stack...
 Am I wrong on this ?
 
 Best,
 jbv
 
 
 ___
 use-livecode mailing list
 use-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] Still a few books left...

2014-02-15 Thread Mark Schonewille

Hi,

Two people who asked me to reserve a book for them haven't ordered it 
yet. This means that there are still two books abailable. Feel free to 
contact me before purchasing.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 1/4/2014 23:29, Mark Schonewille wrote:

Hi everyone,

I still have a few copies of Programming LiveCode for the Real
Beginner left. I don't know when I will print them again. If you want a
copy, you can order one at http://qery.us/42z . Feel free to contact me
by e-mail if you want to make sure that we still have a copy available
for you.

For more info, read the most recent article on
http://blog.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: Best Practice for Library Stacks

2014-02-13 Thread Mark Schonewille
Hi Ender,

Stacks in use receive messages at stack level, not at card level.

Use a button for each part of your library and use backscripts and frontscripts.

--
Best regards,

Mark Schonewille

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

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

We have time for new software development projects. Contact me for a quote.






On 13 feb 2014, at 12:13, Ender Nafi Elekcioglu wrote:

 Hello,
 
 I have a library stack which consists all my common functions and commands.
 Calculations, text manipulation, getting device info, update procedures, etc.
 
 Stack’s script is close 5000+ line of code.
 
 I wanted to organize it and put related handlers into the script of 
 respective cards.
 
 But it didn’t work, calling a function from my mainstack’s cards throws an 
 error.
 I know that I can dispatch a function but it’s not effective.
 
 Here is an example:
 
 _main stack
 ___card 1
 ___card 2
 ___…
 __library stack
 ___card 1
 ___card 2
 ___…
 
 Script of card 1 of library stack:
 
 function calcSum pX, pY
return pX + pY
 end function
 
 Script of card 2 of main stack:
 
 on answerSum
answer calcSum(3, 5)
 end answerSum
 
 
 Is this possible?
 Can I distribute my handlers onto different cards of the library stack
 and still call them directly?
 
 
 
 Thanks,
 
 ~ Ender




___
use-livecode mailing list
use-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] question about stackoverflow - why was my posting deleted

2014-02-12 Thread Mark Schonewille

Klaus and Matthias,

It is gone ;-)

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/12/2014 13:26, Klaus major-k wrote:

Hi Matthias,

Am 12.02.2014 um 13:06 schrieb Matthias Rebbe 
matthias_livecode_150...@m-r-d.de:


Hi,

on the 6th  i posted a comment to the following question

http://stackoverflow.com/questions/21612867/when-i-try-to-export-my-app-in-live-code-it-comes-up-with-an-error-message

My answer was:
Runrev offers many tutorials. There are also some about mobile development. I 
would suggest you try the following tutorial first
How do i become an iOS developer (this line was a link to tutorial.)
On the 8th my post was deleted. But even after reading the description for why was 
my post deleted. See the help center,
i am not sure why it was deleted.
Was my post not appropriate?
It would be nice if someone could explain. I want to avoid that my future post 
are also deleted.


let's see how long Bens identical answer will stick there (copied from that 
SO page a minute ago):
..
This tutorial shows should help:

http://lessons.runrev.com/s/lessons/m/2571/l/23275-how-do-i-become-an-ios-developer

answered yesterday
Benjamin Beaumont

:-D


Regards,

Matthias
Matthias Rebbe


Best

Klaus



___
use-livecode mailing list
use-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: What is a .ric file?

2014-02-12 Thread Mark Schonewille
OK, then I don't know, Richmond. Perhaps you post a direct link to such 
a file?


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/12/2014 08:07, Richmond wrote:

On 12/02/14 00:43, Mark Schonewille wrote:

Hi Richmond,

I believe I saw some .rlc files on my Mac and I assumed these were
revolution license files.




NOT .rlc but .ric

Richmond.


--
Best regards,

Mark Schonewille

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

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

Buy my new book Programming LiveCode for the Real Beginner
http://qery.us/3fi

LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/11/2014 21:48, Richmond wrote:

Nosing around here:
http://developer.runrev.com/components/revolution/enterprise/

I found a lot of interesting files with the suffix .ric

I would be most grateful if someone could tell me what that signifies,
and how to open
a .ric file in a meaningful way.

Richmond.





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


Re: [OT] Possible chance to spread the word

2014-02-11 Thread Mark Schonewille

Done: http://www.howdoyoucode.com/responses/21c696d8db0c

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/11/2014 11:31, Malte Brill wrote:

One of the social thingies I participate in, had a link that might help us 
spread the word about liveCode.

http://www.howdoyoucode.com/

Maybe it is worth taking that survey.

Cheers,

Malte



___
use-livecode mailing list
use-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: Dollar Sign Variables

2014-02-11 Thread Mark Schonewille

Hi Ray,

Does it help if you uncheck the Show globals checkbox in the Script 
Editor pane of the Preferences window?



--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/11/2014 14:10, Ray wrote:

Does anybody know of a way to stop the script editor from displaying all
the dollar sign variables?  I'll list a few, below, for reference.
Sometimes they don't show up for some reason but most of the time they
not only show up but they're listed at the top, causing a lot of
unnecessary scrolling to get to what I really need to see which is my
own variables.

Thanks,

Ray

$#
$0
$ALLUSERSPROFILE
$APPDATA
$CommanProgramFiles
$CommonProgramW6432

___
use-livecode mailing list
use-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: What is a .ric file?

2014-02-11 Thread Mark Schonewille

Hi Richmond,

I believe I saw some .rlc files on my Mac and I assumed these were 
revolution license files.



--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/11/2014 21:48, Richmond wrote:

Nosing around here:
http://developer.runrev.com/components/revolution/enterprise/

I found a lot of interesting files with the suffix .ric

I would be most grateful if someone could tell me what that signifies,
and how to open
a .ric file in a meaningful way.

Richmond.



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


Re: Movies ?

2014-02-10 Thread Mark Schonewille

Hi Richmond,

I have used the Enhanced QT external to create Snapper Screen Recorder. 
 Additionally, there are severa image2movie utilities. There are also 
command line utilities such as ffmpeg, which can do this.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/10/2014 11:29, Richmond wrote:

It's fantasy time again.

I was musing on export/write to file a sequence of images as,
either, an animated GIF, or a .mov/.avi file.

I could just load the image sequence into Quicktime Pro and
press button A: but that would not work in, say, a stack/standalone that
would generate a film for an end-user automatically.

Clever people might be able to automate Quicktime from inside LC,
but that presupposes the end-user has Quicktime Pro on their machine.

Richmond.



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


Alternative Answer Dialog

2014-02-08 Thread Mark Schonewille

Hi,

For a project, I needed an answer dialog that allows the user to click 
just once and then hide the message forever. This answer dialog is now 
available in the private section of my website. You can download it 
after making a donation.


More info: http://qery.us/440

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

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


[OT] The last few copies of Programming LivCode for the Real Beginner

2014-02-07 Thread Mark Schonewille

Hello,

We have 5 copies of Programming LiveCode for the Real Beginner left. I 
don't know when I will print them again. If you want a copy, you can 
order one at http://qery.us/42z . Feel free to contact me by e-mail if 
you want to make sure that we still have a copy available for you.


At http://qery.us/43y you can read everything everybody needs to know 
about the book.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

___
use-livecode mailing list
use-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] The last few copies of Programming LivCode for the Real Beginner

2014-02-07 Thread Mark Schonewille

Hi Mr. Stuart,

I'll make sure that you get a copy.

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/7/2014 17:01, Mark Stuart wrote:

Mr. Schonewille,
Please save me one as I just ordered your book.

Mark Stuart




___
use-livecode mailing list
use-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: Stupid simple version control using dropbox

2014-02-07 Thread Mark Schonewille

Hi Geoff,

I completely agree. I have a 16GB account and keep a backup of my active 
project folder on Dropbox and, which has saved me a few times.


Anyone else reading this: if you want to register for Dropbox quickly, 
you can follow this link http://qery.us/u6


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/7/2014 15:50, Geoff Canyon wrote:

Not sure if this has been posted before, but just in case: If you store
your stack files in the dropbox folder on your computer, dropbox does a
really good job of saving a copy of each separate file whenever the file is
saved. You can look at a list of the saved versions and get/restore any of
them.

It's not git, but as a file-level resource it's a 1000x better than
nothing. I borked up some code last night (never try to solve a problem at
3am that stumped you at 9pm) so I'm really happy that I can just revert to
the 9pm version and forget whatever it is I did later on.



___
use-livecode mailing list
use-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] Installer Maker 1.8.2 update

2014-02-06 Thread Mark Schonewille

Hi (again),

A new version of Installer Maker has been released. This update, 1.8.2, 
is now made available not only as a Plugin for LiveCode but also as a 
standalone application for users of Xojo, HyperStudio, Prezy, SuperCard 
and other cross-platform RAD tools.


Installer Maker 1.8.2 allows for saving all settings in a profile. This 
profile can later be read from disk and re-used for your project again. 
This way, you don't need to re-enter all settings and options every time 
you make your installer. You do need to import your new files. Note that 
this is a new feature, which we expect to improve in the near future. We 
appreciate your feedback.


Additionally, it is no longer possible to accidentally associate the 
.exe file extension with your executable. We have received 2 reports of 
users trying to associate the .exe file extension. Although it should be 
obvious that the .exe file extension whould not be associated with any 
software, we have decided to disallow the .exe file extension from now on.


The plug-in can only be used with LiveCode 4.5 - 5.x and the commercial 
version of LiveCode 6 and later. The standalone version of Installer 
Maker can be used with (almost) any development software package.


Once in a while, we receive a feature request, bug report or other 
comments. If you decide to send an e-mail about Installer Maker, please 
include extensive descriptions of the features you request or the bugs 
you encounter with pictures and other relevant files.


The standalone version of Installer Maker can be downloaded here:
http://www3.economy-x-talk.com/file.php?node=installer-maker

The plug-in version of Installer Maker for LiveCode can be downloaded here:
http://www3.economy-x-talk.com/file.php?node=installer-maker-for-lc

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/


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

2014-02-05 Thread Mark Schonewille

Hi Mike,

Into item 29 gives you a string of 29 chars, after 29 makes a string of 
30 chars, into item 30 gives a string of 30 chars.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/5/2014 04:14, Mike Kerner wrote:

blink, blink, pregnant pause/
That's clever.  It would be item 29, but that hardly matters.  What's even
more interesting about that is that
put space into word 29 of mySpaces
  will give me a string that's 1 character long.




___
use-livecode mailing list
use-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] Installer Maker 1.8.2

2014-02-05 Thread Mark Schonewille

Hello,

A new version of the Installer Maker Plug-in for LiveCode has been 
released. This version contains a new feature requested by many.


Installer Maker 1.8.2 allows for saving all settings in a profile. This 
profile can later be read from disk and re-used for your project again. 
This way, you don't need to re-enter all settings and options every time 
you make your installer. You do need to import your new files. 
Additionally, it is no longer possible to accidentally associate the 
.exe file extension with your executable.


Today, we're releasing the plug-in version only. The standalone version 
of Installer Maker for LiveCode will be available within a few days. The 
plug-in can only be used with LiveCode 4.5 - 5.x and the commercial 
version of LiveCode 6 and later.


Once in a while, we receive a feature request, bug report or other 
comments. If you decide to send an e-mail about Installer Maker, please 
include extensive descriptions of the features you request or the bugs 
you encounter with pictures and other relevant files.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

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

2014-02-04 Thread Mark Schonewille

Mike,

set the itemDel to space
put space into item 30 of mySpaces

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/5/2014 03:28, Mike Kerner wrote:

There isn't a repeating string function/keyword/construct, right?

put 30 spaces into a or
put space * 30 into a



___
use-livecode mailing list
use-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: I find this very odd

2014-02-02 Thread Mark Schonewille

Hi Bill,

It looks like you put the array into myDatagridArray  in one handler and 
try to read this variable in another handler. Another possibility is 
that you made a small spelling error in the variable name. It is also 
possible that you are check the value of the variable in the script 
editor while using the somewhat unreliable debugger. Instead of using 
the debugger here, you could add the line


put the keys of myDatagridArray

and a line

answer (myDatagridArray is an array)

in convenient places to check the content of the variable.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/3/2014 02:27, proth...@earthednet.org wrote:

Folks:

I am using LiveCode 6.5.1 and I find the following behavior very odd.

I am working with datagrids and have the dgData of a datagrid, which is a 
normal array.

put the dgData of group DataGrid 3 into myDatagridArray

Then I do:
put myDatagridArray into newArray

What's then in newArray is myDataGridArray, just the text name of the array.

This seems an odd behavior to me. Can't one just set one array to another array?
Bill

William Prothero
http://es.earthednet.org




___
use-livecode mailing list
use-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: 6.5.2 Doesn't Remember Script Editor Location

2014-01-31 Thread Mark Schonewille

Hi Ray,

When the script editor opens, the message seem to be locked. I tried to 
trigger the preOpenStack message when the script editor opens in 
MetaCard and that works perfectly. Apparently, the creator of the 
LiveCode script editor doesn't want us to intercept messages while 
editing a script in LiveCode.


However, you can use the editScript message. Unfortunately, this 
message is sent to the control whose script is being edited and not to 
the script editor. (I write unfortunately in quotes, because it is 
still expected behaviour and necessary for the script editor to work).


In the editScript message, you can loop through all stacks that contain 
revScriptEditor in their short name and check that they are on screen. 
Here's an example:


constant lPreferredRect =-1157,-111,-180,644
local lScriptEditorIsOpen

on checkScriptEditorLocs
   if lScriptEditorIsOpen is not true then
  if there is a stack revNewScriptEditor 1 then
 set the rect of stack revNewScriptEditor 1 to lPreferredRect
 put true into lScriptEditorIsOpen
  end if
   end if
   repeat for each line myStack in the windows
  if myStack contains revNewScriptEditor then
 put false into myVis
 repeat for each line myRect in the screenRects
if there is a stack myStack then
   if the topleft of stack myStack is within myRect or \
  the topRight of stack myStack is within myRect or \
  the bottomLeft of stack myStack is within myRect \
  or the bottomRight of stack myStack is within \
myRect then
  put true into myVis
  exit repeat
   end if
end if
 end repeat
 if myVis is false and there is a stack myStack then
set the loc of window myStack to the screenLoc
 end if
  end if
   end repeat
end checkScriptEditorLocs

on editScript
   put (revNewScriptEditor is in the openStacks) into \
  lScriptEditorIsOpen
   send checkScriptEditorLocs to me in 0 milliseconds
   pass editScript
end editScript

Make sure that this script is in a front script.

The funny thing is that while testing the script editor, I seem to have 
broken it. Its default behaviour now is to open on my primary screen. 
Therefore, I have added a little feature, which opens it on my secondary 
screen, if no script editor is open yet. For me, this is useful, because 
I edit all scripts in one window. Change the constant at the top of the 
script to set the location where you want your script editor to open. 
Let me know if you encounter any problems when trying this script.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 1/30/2014 18:25, Ray wrote:

Let me know how it goes Mark.  I'd like to get a little more feedback
before writing a bug report.

On 1/30/2014 12:18 PM, Mark Schonewille wrote:

Ray, I'll try it myself, later tonight.


--
Best regards,

Mark Schonewille

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

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

Buy my new book Programming LiveCode for the Real Beginner
http://qery.us/3fi

LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 1/30/2014 16:26, Ray wrote:

I'm not having any luck with inserting the following script into front:

on preOpenStack
put the ticks
end preOpenStack

With this inserted I get a message box opened with the ticks when I open
another stack from the desktop, but no ticks when I shift-control-S to
open the stack script (the script editor window).  Evidently a script
inserted into the front doesn't get triggered when opening the script
editor.  Neither does the 'start using stack' method.

Am I doing this right?

Ray



___
use-livecode mailing list
use-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: 6.5.2 Doesn't Remember Script Editor Location

2014-01-31 Thread Mark Schonewille

Hi Ray,

Hence the send ... to me in 0 milliseconds

Btw I'm still testing, because it doesn't seem to work sometimes.

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 1/31/2014 23:17, Ray wrote:

Mark,

That's a very interesting message you're working with here; the
'editScript' message.  I wasn't aware of that one.

It seems like that would be the logical place to trap for something like
this but in a simple script such as this one inserted into the front...

on editScript
put the openStacks
pass editScript
end editScript

I'm only getting the following stacks listed in the message box:

revTools
Test
revMenubar

Notice the absence of the revNewScriptEditor 1 stack.  This means,
while trapping for the editScript message seems like it might work, it
unfortunately doesn't work (at least I can't get to work) since the
script editor window is, at the point editScript is trapped, not yet in
existence.

I've also tried your handlers, below, and not had any better luck with
them, I believe for the same reason that the script editor window isn't
yet open when the editScript message is trapped.

Thanks anyway, though.  If you have any other suggestions I'd love to
try them.

Ray




___
use-livecode mailing list
use-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: 6.5.2 Doesn't Remember Script Editor Location

2014-01-31 Thread Mark Schonewille

Hi,

The editScript message is sometimes triggered and sometimes not. Replace 
editScript with revEditScript and select revEditScript as (one of) the 
message(s) that is sent to your plug-in. This should work. Note that 
revEditScript only works if your front script is part of a plug-in.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 1/31/2014 23:24, Mark Schonewille wrote:

Hi Ray,

Hence the send ... to me in 0 milliseconds

Btw I'm still testing, because it doesn't seem to work sometimes.

--
Best regards,

Mark Schonewille

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

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

Buy my new book Programming LiveCode for the Real Beginner
http://qery.us/3fi

LiveCode on Facebook:
https://www.facebook.com/groups/runrev/




___
use-livecode mailing list
use-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: 6.5.2 Doesn't Remember Script Editor Location

2014-01-31 Thread Mark Schonewille

Hi Ray,

You're doing it wrong. Have a look at the send command in my script. It 
is quite obvious.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 2/1/2014 00:16, Ray wrote:

So here's what I'm trying:
Make a stack called Test Front Script with the following script in
its one and only card:
  on revEditScript
   answer the openStacks
  end revEditScript
Put the Test Front Script stack in the Plugins folder
Launch LC and make a New Mainstack
Choose Development/Plugins/Plugin Settings
Choose the Test Front Script, select RevEditScript in the list and
close Plugin Settings
Click on Development again, drag to Plugins and choose Test Front
Script which opens it

The revEditScript message is now trapped when I open the stack script,
but just as before, the only stacks listed as the openStacks are:
Test
revTools
Untitled 1
revMenuBar

Evidently the revNewScriptEditor 1 is still not yet in existence and
thus can not be located anywhere.  That is, if I leave the script editor
window open and open another script I get revNewScriptEditor 1 listed
in the openStacks, but by now it's too late.  The window already opened
partially off the screen.

Am I doing this right?

Thanks,

Ray




___
use-livecode mailing list
use-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: 6.5.2 Doesn't Remember Script Editor Location

2014-01-30 Thread Mark Schonewille

Hi Ray,

I can't really confirm this for the current version of LC, but in the 
past, the script editor used to open at the bottom of the screen, with 
the title bar barely visible. Every time when I opened the script 
editor, I had to move it upwards. Probably, deleting the preferences 
stack solved the issue temporarily, until a re-install or an update fixed.


If you want to write a backscript, you can create a plug-in that opens 
automatically. I have created a simple plug-in which disables a few IDE 
features and checks that all windows are on one of my screens. When I 
connect a different monitor or travel with my laptop without secondary 
screen, the plug-in makes sure that all windows are visible on one of 
the screens. The plug-in also kills the dreaded altKey message sent by 
the dictionary.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 1/29/2014 20:39, Ray wrote:

Actually I don't know of any version for quite some time now which HAS
re-opened the script editor window where I last closed it.  I work with
two monitors and I like to have the script editor window open on the
second one.

In previous versions I've edited the Revolution UI Back Script.  I'd
have to do a Save As on the RevLibrary file, quit and replace the old
RevLibrary with the new one (in the ToolSet folder).

With 6.5.2 I can no longer do this as Livecode won't open at all after
replacing the RevLibrary file, even with an ever so slightly modified
copy of it.

It seems like a lot of work-around to get the script editor window to
re-open where I closed it.  Shouldn't there be a simple preference
somewhere?  Or shouldn't this just automatically happen?




___
use-livecode mailing list
use-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: 6.5.2 Doesn't Remember Script Editor Location

2014-01-30 Thread Mark Schonewille

Ray,

What Björnke says. However, I would use a frontscript to catch the 
preOpenStack messages, check that that target is card 1 of a script 
editor and then set the loc and rect of the script editor if necessary.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 1/30/2014 14:46, Björnke von Gierke wrote:


On 30.01.2014, at 14:08, Ray r...@linkit.com wrote:


  Could you please point me to a lesson/steps or something which would help me 
write a backscript in a plugin and have it open automatically?



Well the first stop would obviously be to read the backscript entry of the dictionary. I have a similar setup 
as mark, only my stack allows the editing of label fields when in browse mode. There's several ways to 
include code in the message path, for example I use start using stack instead of 
backscript or frontscript.

A so called plugin is simply a stack that resides in the plugin folder within the user extension folder of 
the IDE. To see where your IDE has stored that folder, go to the Preferences, and select FIles  Memory 
(it's at the bottom). Also check out the development menu: development - plugins - plugin settings

Also see this lessons:
http://lessons.runrev.com/s/lessons/m/4071/l/21341-how-to-install-a-3rd-party-plugin-in-the-livecode-ide

As a test, you can make a stack that reports the location of the mouse when you 
click in browse mode, to do that just make a new stack with this code in its 
stack script (also make sure to rename the card accordingly):

on openstack
   if the target = card  quote  my own plugin  quote then
 start using this stack
   end if
   pass openstack
end openstack

on mouseUp
   put the mouseLoc  return  the screenMouseLoc
   pass mouseUp
end mouseUp




___
use-livecode mailing list
use-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: 6.5.2 Doesn't Remember Script Editor Location

2014-01-30 Thread Mark Schonewille

Ray, I'll try it myself, later tonight.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 1/30/2014 16:26, Ray wrote:

I'm not having any luck with inserting the following script into front:

on preOpenStack
put the ticks
end preOpenStack

With this inserted I get a message box opened with the ticks when I open
another stack from the desktop, but no ticks when I shift-control-S to
open the stack script (the script editor window).  Evidently a script
inserted into the front doesn't get triggered when opening the script
editor.  Neither does the 'start using stack' method.

Am I doing this right?

Ray




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

2014-01-29 Thread Mark Schonewille

Hi Matthias,

Whether or not I am a list member is not important. Whenever I need the 
latest version of LC, I follow the link to the downloads and download 
whatever appears to be the latest version.


I'm not going to check the list for all announcements, while I just want 
to help out a new potential LiveCode user by quickly installing the 
latest version for him or her. I'll just grab the latest version from 
the server and that's it. If this version looks official but appears to 
be unstable, it will put off this potential new user and RunRev will 
have one potential customer less.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/29/2014 10:37, Matthias Rebbe wrote:


For listmembers: Yes, we should know and wait for an announcement
Non listmembers: No, how should they know these versions are not final.

At http://livecode.com/download/ there is link near the bottom labeled View all 
Livecode Downloads

Clicking on that link opens a folder with subfolders labeled according 
available version numbers. And in folder 6.5.2 there are Installers for the 
community and the commercial version. Some have an additional rc in their 
names. But there are also installers without any rc  or dp in their names.

So one would assume these are final versions.

Either RR should label theses versions correctly, if they really are not final 
or RR should avoid placing them wrong labled in a public download folder.

Just imagine a new customer without access to the mailinglist where the announcements are posted, 
downloads such a buggy wrong labled version.
How should she/he know what is final and what not?


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: 652 release

2014-01-29 Thread Mark Schonewille

Roger,

The new release notes contain a small list of bug fixes compared to RC1, 
if I understand the notes correctly. There are bug fixes for 6.5.2-rc-1 
and 6.5.2. I think 6.5.2 follows 6.5.2-rc-1.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 1/29/2014 14:03, Roger Eller wrote:

But what about the active an unresolved new bugs that have been reported
for 6.5.2 RC1?
  On Jan 29, 2014 6:24 AM, Benjamin Beaumont b...@runrev.com wrote:


Hi Richmond.

As you rightly point out, LiveCode 6.5.2 GM1 has been build and is on our
download server. It has passed the first phase of internal testing and is
currently being run against our automated test suit. Once it has passed all
these tests it will be announce and activated through the auto update
process.

Warm regards,

Ben



On 29 January 2014 10:39, Mark Schonewille 
m.schonewi...@economy-x-talk.com

wrote:



Hi Matthias,

Whether or not I am a list member is not important. Whenever I need the
latest version of LC, I follow the link to the downloads and download
whatever appears to be the latest version.

I'm not going to check the list for all announcements, while I just want
to help out a new potential LiveCode user by quickly installing the

latest

version for him or her. I'll just grab the latest version from the server
and that's it. If this version looks official but appears to be unstable,
it will put off this potential new user and RunRev will have one

potential

customer less.


--
Best regards,

Mark Schonewille

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

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other

colour

spaces. http://www.color-converter.com

Buy my new book Programming LiveCode for the Real Beginner
http://qery.us/3fi

Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/


On 1/29/2014 10:37, Matthias Rebbe wrote:



For listmembers: Yes, we should know and wait for an announcement
Non listmembers: No, how should they know these versions are not final.

At http://livecode.com/download/ there is link near the bottom labeled
View all Livecode Downloads

Clicking on that link opens a folder with subfolders labeled according
available version numbers. And in folder 6.5.2 there are Installers for

the

community and the commercial version. Some have an additional rc in

their

names. But there are also installers without any rc  or dp in their

names.


So one would assume these are final versions.

Either RR should label theses versions correctly, if they really are not
final or RR should avoid placing them wrong labled in a public download
folder.

Just imagine a new customer without access to the mailinglist where the
announcements are posted, downloads such a buggy wrong labled

version.

How should she/he know what is final and what not?


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





--
_

Benjamin Beaumont . RunRev Ltd

LiveCode Product Manager
mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW
email : b...@runrev.com
company : +44(0) 845 219 89 23
fax : +44(0) 845 458 8487
web : www.runrev.com

LiveCode - Programming made simple
___
use-livecode mailing list
use-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: 652 release

2014-01-29 Thread Mark Schonewille

Very nice, Ben. It looks much more professional than before.

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 1/29/2014 18:01, Benjamin Beaumont wrote:

Hi All,

We've restructured the 'all downloads' section of the website to make it
easier to find the release you want and ensure that untested releases are
not made available before the are ready.

http://downloads.livecode.com/livecode/

Warm regards,

Ben



___
use-livecode mailing list
use-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: Help I can't stop being Hack.

2014-01-28 Thread Mark Schonewille

Hi Kathy,

First of all, recently you (or your account) posted some links, which I 
didn't click on because they were highly suspicious.


I wonder if we are actually having a conversation with you or with 
someone who hacked your e-mail account, because your description of the 
tools palette being hacked doesn't make much sense. Who would do this 
and why?


Just in case it is you, could you please put a screen shot on your web 
server or in your Dropbox to show the problem?


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/28/2014 07:34, Kathy Jaqua wrote:




Hi Geoff Canyon,

I removed every copy of revNewScriptEditor  at least  8 months
ago.  These palettes are still popping up all the time.  I have colored these.
How--if there is absolutely no other palettes on any of my desktop--do a 
variety of palettes pop up?
And they are very colorful, so to speak:)
Thanks,

Kathy Graves Jaqua



___
use-livecode mailing list
use-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: Help I can't stop being Hack.

2014-01-28 Thread Mark Schonewille

Richard,

Nice that you were talking on the phone to Kathy. Everything else I 
already said.


Kathy, could you upload a screen shot of the hacked palette?

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/28/2014 15:22, Richard Gaskin wrote:

Mark Schonewille wrote:




I can confirm that Kathy's having some issues with her system that
appear to be related to hacking.  I got a phone message from her
yesterday describing some of that.

But if her system was compromised, given the earlier email with the spam
links, we can have no assurance at this time that her email account has
not also been compromised.

The details in her most recent email here suggest that one was indeed
from her, but given the potential for some nefarious outsider to be
reading this list looking for tips on hacking LiveCode, I'll not explore
this here and will instead just wait to hear back from her via phone today.

Hopefully we'll have this resolved soon.

--
  Richard Gaskin



___
use-livecode mailing list
use-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] What if there's no way to upload a file to a server?¨

2014-01-28 Thread Mark Schonewille

Hi,

More than once, the question has been asked how to upload files to a 
server from a mobile device. An important problem is that sockets aren't 
supported by default and a bug on Android preventing pictures from being 
saved to an album or attached to an e-mail. You might use Dropbox or a 
similar service, but requiring your customers to use an additional 
service doesn't give a very professional impression.


I have created a very simple LiveCode+PHP library, which uploads small 
files to a server. It might also work with bigger files, but I haven't 
tested this yet. This library works on any Android/iOS device and also 
works on desktop machines with any operating system.


There is no documentation yet and the current version is quite crude. No 
security has been implemented yet. If you're curious, you might want to 
have a look. If you need an off-the-shelve solution, then maybe not yet.


The library can be downloaded at http://qery.us/43p after making a 
donation (or if you made a donation less than 1 year ago). Currently, 
our server doesn't send e-mails automatically and you may have to wait 
up to 24 hours to get access to the private downloads.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

___
use-livecode mailing list
use-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: SCAN commands with live code

2014-01-24 Thread Mark Schonewille

Hi Serge,

$0 is a special variable containing the app path and $1 contains the 
document path.


If that doesn't work, let me know.

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/24/2014 22:03, Serge Brami wrote:

Thanks a lot  for your help
  just one more thing What do you mean by using the $1 parameter ?
S BRAMI



___
use-livecode mailing list
use-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: SCAN commands with live code

2014-01-24 Thread Mark Schonewille

Hi Fraser,

I didn't mention all that on purpose, because when an app tells the 
operating system to open a file in an app, you should just get $0 and 
$1. Everything else only makes it unnecessarily complicated, 
particularly if this appears not to work with Serge's scanning software.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/24/2014 22:22, Fraser Gordon wrote:


On 24/01/2014 21:16, Mark Schonewille wrote:

$0 is a special variable containing the app path and $1 contains the
document path.


There are in fact a whole host of these special variables: $0, $1, $2,
... . As Mark said, the first of these is the path to the app. The later
ones are the arguments to the app, e.g.:

your.app --foo bar --baz

would give you:

$0 = your.app
$1 = --foo
$2 = bar
$3 = --baz

To find out how many arguments you have, there is the special variable $#

Regards,
Fraser

___
use-livecode mailing list
use-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: RELEASE LiveCode 6.5.2 RC1

2014-01-23 Thread Mark Schonewille
Hi,

Nice to see a few dozen bugs fixed, but I am worried to see no mention of the 
inability to export, save or e-mail pictures on Android.

--
Best regards,

Mark Schonewille

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

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

We have time for new software development projects. Contact me for a quote.






On 22 jan 2014, at 19:28, Benjamin Beaumont wrote:

 Dear List Members,
 
 We are pleased to announce the release of LiveCode 6.5.2-rc-1.
 
 This a maintenance release containing bug fixes only.
 
 *Warning, there still may be bugs in this pre-release. It is always good
 practice to back up your stacks before testing.*
 
 *Release Contents*
 33 bug fixes:
 11695 - Dashes of length 0 not drawn
 11684 - prepare image file crashes LiveCode when file does not exist
 11678 - arrow constant returning 29 instead of 1
 11677 - Slider with a width  3 x height loses its thumb
 11675 - Application freezes when importing certain PBM image files



___
use-livecode mailing list
use-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: SCAN commands with live code

2014-01-23 Thread Mark Schonewille

Hi Serge,

You can try to approach the problem from the other end. Most scanning 
apps have an option to perform a task automatically, which basically 
means that the file is opened with an app of your choice. If you select 
a LiveCode standalone as automatic task, you can process your image(s) 
automatically with LiveCode. Use the $1 parameter to grasp the document 
path.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/23/2014 15:11, Serge Brami 2 wrote:

Hello
Does anyone know something about externals or stack devellopement making 
possible to use a  Scanner   from livecode ??
it would need adding this functionnality to my  own  livecode app (for 
personnal use , not commercial)

Thanks



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

2014-01-22 Thread Mark Schonewille
Hi Al,

Are you saying that the exported PNG is of the correct size, e.g. 5x5 pixels? I 
have to try that again.

--
Best regards,

Mark Schonewille

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

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

We have time for new software development projects. Contact me for a quote.






On 22 jan 2014, at 03:10, Alejandro Tejada wrote:

 Hi Mark,
 
 Interesting, because in LiveCode 6.5.1, importing a snapshot
 from the same stack as small as 5x5 pixels is possible 
 (maybe smaller, but I do not test this) and the image is inserted
 oversized, not at 5x5 pixels, inside the stack.
 
 Al


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


Martin Koob

2014-01-22 Thread Mark Schonewille
Martin,

Please contact me from an e-mail address that is unrelated to Apple.

(Apple's servers currently don't accept e-mails from Economy-x-Talk and we 
don't know where the problem is).

--
Best regards,

Mark Schonewille

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

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

We have time for new software development projects. Contact me for a quote.







___
use-livecode mailing list
use-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: where has Runrevs page with programming offers gone?

2014-01-21 Thread Mark Schonewille
Note that being listed as a consultant used to be free. When RunRev started 
asking €200 for it, only a handful consultants decided to be listed. I didn't.

--
Best regards,

Mark Schonewille

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

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

We have time for new software development projects. Contact me for a quote.






On 21 jan 2014, at 10:38, Neil Roger wrote:

 Hi Tiemo,
 
 I think this is what you are looking for-
 
 http://livecode.com/about/consultants/
 
 Kind Regards,
 
 Neil Roger
 -- 
 RunRev Support Team ~ http://www.runrev.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: where has Runrevs page with programming offers gone?

2014-01-21 Thread Mark Schonewille

Hi Stephen,

It used to be like that, but not anymore.

I wonder if there is an interest in a list of consultants, completely 
free? I could quickly put a simple website on an appropriate domain.


Anyone interested can e-mail me off-list.

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/21/2014 19:13, stephen barncard wrote:


That's not good. You guys are some of the most active consultants… and
money does not qualify someone.  I always thought it was a 'favored
nations' list picked by Runrev, or Heather.




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

2014-01-21 Thread Mark Schonewille

Hi Ray,

This function doesn't involve moving the mouse cursor.

function screenlocColor
   put the screenloc into myLoc
   add 31 to item 1 of myLoc
   add 31 to item 2 of myLoc
   put (the screenLoc),myLoc into myRect
   export snapshot from rectangle myRect to myPixels as PNG
   set the text of the templateImage to myPixels
   put char 1 to 4 of the imageData of the templateImage into myPixel
   return charToNum(char 2 of myPixel), \
 charToNum(char 3 of myPixel),charToNum(char 4 of myPixel)
   reset the templateImage
end screenlocColor

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/21/2014 18:28, Ray wrote:

Anybody know of a function which returns the color of the screen at a
given location?  Simply pass it a point and get the color of that pixel,
kind of like a combination of the mouseColor function and the
controlAtScreenLoc function.  I'd be happy if it only worked for points
on Livecode stacks.  I've tried 'click at loc [myPoint] and then getting
the mouseColor but it doesn't work.



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


Re: ColorAtScreenLoc Function

2014-01-21 Thread Mark Schonewille

Hi Ray,

Now I'm thinking, why did I write a function for the screenLoc only? So, 
here's a general solution.


// usage: pointColor(100,200) or
// pointColor(100,200) or e.g.
// pointColor(the screenLoc)
function pointColor thePoint
   if the paramCount is 2 then
  put param(1),param(2) into thePoint
   end if
   put thePoint into myLoc
   add 31 to item 1 of myLoc
   add 31 to item 2 of myLoc
   put thePoint,myLoc into myRect
   export snapshot from rectangle myRect to myPixels as PNG
   set the text of the templateImage to myPixels
   put char 1 to 4 of the imageData of the templateImage into myPixel
   reset the templateImage
   return charToNum(char 2 of myPixel), \
 charToNum(char 3 of myPixel),charToNum(char 4 of myPixel)
end pointColor

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/21/2014 20:04, Ray wrote:

Mark - I believe this is everything I need.  Thanks!  I especially like
you usage of the templateImage which keeps everything easy to work with
and no cleanup needed.

Ray



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

2014-01-21 Thread Mark Schonewille

Hi Ray,

I wanted to keep the amount of data to be dealt with as small as 
possible. The smaller the amount of data, the faster the function, I'd 
assume. Unfortunately, it seems impossible to export snapshots smaller 
than 32x32 pixels. Adding 31 pixels to the height and width of the first 
pixel makes a square of 32x32 pixels and that works.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/21/2014 22:00, Ray wrote:

Mark I'm having fun with this code.  Just one question; why add 31
pixels as opposed to another number of pixels?




___
use-livecode mailing list
use-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: 6.5.1 imagedata problem

2014-01-18 Thread Mark Schonewille

Hi Kenji,

You can do this as a workaround:

set the text of img 1 to url myURL
put the imageData of img 1

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/18/2014 13:06, Kenji Kojima wrote:

Hi,

I cannot get the imagedata of internet linked image on version 6.5.1.

The script is:

set the filename of image 1 to http://kenjikojima.com/livecode/dog/dog1.jpg;
put the imageData of image 1

It put “1” and the image changed to gray.

I can get the imagedata on another  version.

Thanks,
--
Kenji Kojima / 小島健治
http://www.kenjikojima.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 points of graphic

2014-01-17 Thread Mark Schonewille

Hi jbv,

I don't think there is an easy way to get the points of a regular 
polygon. If you are going to do calculations, you might as well 
calculate the points for the shape you want and use these for an 
(irregular) polygon.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/17/2014 15:00, j...@souslelogo.com wrote:

Hi list,

Is there a way to get the points of a Regular Polygon
graphic, or do I have to compute it myself using the
loc, width, height and number of sides of the graphic ?

Thanks,
jbv



___
use-livecode mailing list
use-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: Any work around for no SFTP in LC?

2014-01-17 Thread Mark Schonewille

Hi Jim,

Using a command line utility is probably easier than figuring out how to 
interact with a GUI app. A GUI app like WinSCP has command line options, 
but then you might as well use CURL for example.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/17/2014 18:55, Jim Schaubeck wrote:

Thanks Mark (nice book btw...finished it last week!)

I'm looking at working with third party apps to get the job done...appreciate 
the response!





___
use-livecode mailing list
use-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: Any work around for no SFTP in LC?

2014-01-16 Thread Mark Schonewille

Hi Jim,

You could use CURL or PuTTy SFTP or ask someone to make an external. 
You'd need an external for Windows only. Mac OS X and (most versions of) 
Linux have CURL installed by default.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/16/2014 15:20, Jim Schaubeck wrote:

I need to support SFTP for a project I'm working on and it seems that even 
after all of the legitimate requests for it from the LC community (even over 
the years) there is no response from RunRev on this.  Unfortunately, I can not 
wait for RunRev to respond...I have to keep going.

I've looked at trying to rig solutions together to get done what I need to 
get done but it would be safer, cleaner and faster if Livecode supported SFTP.

Since it doesn't, can folks please share what they have done with SFTP and 
Livecode.

I specifically want to:
1) Check an SFTP server for certain file types
2) Copy them to a much larger storage area
3) Delete them from the original source once they have been moved to the larger 
storage area
4) There are many other things I'll be doing with these files but I know LC can 
do all of those things which is why I'm trying to do as much with LC as 
possible and not willing to integrate multiple peices of software just for 
SFTP...but if I have to I will

I know there are scripted versions of SFTP clients on the market and I suppose 
that could be an option but LC is the preferred method as I've spent a long 
time working with it.



___
use-livecode mailing list
use-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: What is going on with irev based websites?

2014-01-15 Thread Mark Schonewille

Hi Richmond,

It is not down.

http://andregarzia.on-rev.com/richmond/

works, but other links on your website are broken. Perhaps André knows 
what's going on.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/15/2014 17:18, Richmond wrote:

Try this one: http://andregarzia.on-rev.com/richmond/home.html

Down?

Hosed

Richmond.



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


Re: Saving Stack Changes

2014-01-15 Thread Mark Schonewille

Hi Peter,

The substacks are part of the same file as the mainstack. Every time 
when you save a (sub)stack, the entire file is saved to disk, including 
the mainstack and all substacks of that mainstack.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/15/2014 21:26, Peter Bogdanoff wrote:

Hi,

A general question:

I have a stack containing some substacks. I make changes in 2 of the substacks. 
I save. Is the current substack saved only, or are all of the other changed 
substacks saved as well?

Peter Bogdanoff
UCLA



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

2014-01-14 Thread Mark Schonewille

Hi Pete,

Somehow, your server doesn't return data to client on the socket that 
the client expects.


The extra number might be a socket identifier. By using the socket, you 
can distinguish connections with different clients: 
127.0.0.1:10100|213213 and 127.0.0.1:10100|567657 are two different sockets.


If the client connects to a server and the new socket opened on the 
server side is 127.0.0.1:10100|567657 but you read from socket 
127.0.0.1:10100 with a callback message, a message will never be 
received on that socket and eventually the socketTimeout message will be 
triggered.


If this doesn´t solve it, can you post your script to show the problem?

If you want a complete example using sockets, you can read the telnet 
example on my blog at http://qery.us/43g and if you happen to have my 
book, you can also read about sockets there in chapter 18 ;-)


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/14/2014 18:22, Peter Haworth wrote:

Diving into yet another new are of Livecode for me - sockets.

My server issues an accept statement for port 10100.  My client opens
socket 10100.  WHen the client connects to the server, the port number I
get is not 10100, but some other number which changes on each connection.
  When sending messages between the client and server, which of these
numbers should I use?

My server uses read from socket with a callback message specified.  I have
a socketTimeout message handler which fires every time the
socketTimeoutInterval expires.  I thought the read from socket with
message command was blocking and everything would stop until a message is
received.  If that's the case, it seems odd that these timeouts should
occur?

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



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


Re: mcEncrypt

2014-01-12 Thread Mark Schonewille

Thanks Jacque. Now the question remains, was this documented somewhere?

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/12/2014 04:14, J. Landman Gay wrote:



MCEncrypt is available in the commercial version, I just tested it. It
may have been removed from the community edition but I'm not sure as I
don't use that.

Passwords are now returned as plain text, a change that was made because
mobile platforms required it, but it breaks all legacy code. Kevin said
he'd look into that but I don't know what happened.



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

2014-01-12 Thread Mark Schonewille

Hi Richmond,

In the dictionary of LC 6.5, mcEncrypt is still mentioned as a good way 
to check whether a password, obtained with the ask password command, is 
correct. This is stated in the entry for ask password.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/12/2014 19:41, Richmond wrote:

I just had a look at the docmentation in 6.5.1 Community and it says
this of mcEncrypt:

Reserved for internal use.

AND it says much the same thing in LC 3.5 and 4.5 (i.e. commercial
versions).

If it is 'reserved' I don't quite understand how it can be leveraged by
us peons, externally.

Typing 'mcEncrypt' into the Metacard Dictionary () ends up with the
same thing.

NOW: 'mcEncrypt' is, either, available for all (at which point the
Hitchhiker's Guide to The Galaxy is at it again),
or it is reserved for Kevin Miller and Co.

What is 100% true is that the Hitchhiker's Guide to The Galaxy does not
tell one how to use the thing.

Richmond.



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


mcEncrypt

2014-01-11 Thread Mark Schonewille

Hi,

According to the Dictionary, one has to use mcEncrypt to check if a user 
entered the correct password in the ask password dialog window. 
Unfortunately, the mcEncrypt function has been removed from the engine. 
Also, ask password no longer returns an encrypted string.


Is there any documentation about mcEncrypt being removed? I checked the 
release notes, but I see no mention of changes in mcEncrypt nor in the 
ask password command.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

___
use-livecode mailing list
use-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] Installer Maker 1.8.1

2014-01-11 Thread Mark Schonewille

Hello,

Recently, a small number of people reported to me that they couldn't 
create an installer with the plug-in version of Installer Maker and 
LiveCode 6.0 and later. This problem should now be solved. You can 
download a new version of Installer Maker at http://qery.us/43c


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

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

2014-01-11 Thread Mark Schonewille

Hi Fraser,

Thanks for the reply, but that's a different password. I'm asking about 
the ask password command, which shows a dialog window.


I looked a little further into this. I think it was announced somewhere, 
that mcEncrypt would be removed and that the ask password command would 
change, but I can't find it. Probably, it is just a documentation issue.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/12/2014 01:40, Fraser Gordon wrote:

Hi Mark,

I believe that the password property returns empty if there isn't a
password or true if there is - the password itself is never returned for
security reasons (imagine a useful plugin with a password-harvesting
trojan...). Engine-wise, there is a key property that is very similar
but I don't know if it is exposed to scripts - it should return true if
unlocked (i.e no password or correct password has been entered) and
false otherwise.

Regards,
Fraser



___
use-livecode mailing list
use-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: First MetaCard Demo running in Android

2014-01-10 Thread Mark Schonewille

Hi Alejandro,

I can't install the APK on my tablet, because I get a warning that it 
will replace another application, but I don't know which one. Probably, 
you didn't change the standalone settings and it would replace one of my 
own apps that I'm currently testing.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 1/9/2014 04:14, Alejandro Tejada wrote:

Hi All,

Some time ago, I made this APK for Android and I want to ask you
to install and run on your Android tablet and share your results:

https://dl.dropboxusercontent.com/u/3834621/Demo.apk

This was the first MetaCard's demo.

You can download the stack in LiveCode format from:
https://dl.dropboxusercontent.com/u/3834621/demoMC27.livecode

If your OS or LiveCode version have problems playing sounds
download this version:
https://dl.dropboxusercontent.com/u/3834621/demoMC27_no_sounds.livecode

This is an old stack, so play it isolated...


Thanks in advance!

Al





___
use-livecode mailing list
use-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] Programming LiveCode for the Real Beginner - Status Update

2013-10-13 Thread Mark Schonewille

Hi everyone,

Soon, we will be shipping books again. I think I should inform you about 
the current status of Programming LiveCode for the Real Beginner.


We have only 50 books left and we expect to sell out before the end of 
the year. If you are thinking about ordering a book as a Christmas or 
New Year's present, it is recommended to place your order before 1st 
November. Books ordered before that date are most likely to arrive in 
time for the winter holidays.


Orders placed after 1st December may be put on a waiting list. If we 
sell our remaining stock as quickly as we expect, there will be a delay 
of 6 to 8 weeks for books ordered in December and January.


We have created a questionnaire http://qery.us/40b to help us take 
important business decisions. We are interested to know why, or why not, 
you decided to purchase the book. We'd be very grateful if you filled 
out the questionnaire.


If you have any questions about your order or the delivery, please use 
the contact form on the website http://qery.us/40e to contact us. We 
also have a QA website http://qery.us/40f where you can ask questions 
about the content of the book.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

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

2013-10-08 Thread Mark Schonewille

Hi Terry,

Which part is slow? The opening of the dialog, preparation of the print 
job, sending the data to the printer, printing itself, or your walk down 
the hall to pick up the paper?


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 10/8/2013 15:50, Terence Heaford wrote:

Hi,

Can someone advise why

answer page setup as sheet
open printing with dialog as sheet
if the result is Cancel then exit mouseUp
print cd barChart from 0,0 to tRight,tBottom + 150
close printing


is slow when compared to

answer page setup
open printing with dialog
if the result is Cancel then exit mouseUp
print cd barChart from 0,0 to tRight,tBottom + 150
close printing

Thanks

Terry



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

2013-10-08 Thread Mark Schonewille

Hi Terence,

On my even older MacBook, I need to wait about .5 second for each dialog 
to appear as sheet. If I print one single card, it is opened in Preview 
almost instantly. I'm using Mac OS X 10.6.8 today. Which version of OSX 
do you use?


I do notice that sheets slightly slower than normal dialogs. I don't 
know if this has to do with Carbon/Cocoa. How much of a delay do you 
observe?


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 10/8/2013 16:06, Terence Heaford wrote:

Hi Mark,

When using as sheet it takes an age between the page setup being dismissed 
and the
printing dialog showing.

and then if I open PDF in preview to save paper it takes an age for the preview 
to display.

If I remove as sheet it all happens without any delay at all.

I am thinking that the printing is in Carbon,  whether I use as sheet or not?

I believe the print dialogs are Carbon and not Cocoa?

Could it be there is a delay converting the Carbon dialogs to sheets?

Don't really know just guessing.

My laptops getting a bit long in the tooth 15 2.4 Ghz Macbook Pro Late 2008 
unibody
but as the without sheet is OK I don't think it's that.

Any ideas?

Would prefer sheets if possible as the rest of the project uses sheets also.


Thanks

Terry




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

2013-10-08 Thread Mark Schonewille

Hi Bill,

Before returning the value, the engine interpretes all items of your 
string. 10-5 returns 5, obviously.


What exactly is it that you are trying to do?

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 10/8/2013 23:55, proth...@earthednet.org wrote:

Folks:
The documentation says that you can add points. If I do:
put 10,10 - 5,5
I get 10,5,5

This is pretty useless.
Bill

William Prothero
http://es.earthednet.org



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

2013-10-08 Thread Mark Schonewille

Hi Terence,

I did a test in Lion and I observe exactly the same problem. It takes up 
to 5 seconds to see the page setup dialog, up to 10 seconds to get to 
the printing dialog and another 6 seconds before LiveCode starts 
preparing the print job. I don't have this problem in Snow Leopard.


I presume it is a LiveCode bug and I can imagine that this is 
frustrating if you need to print a lot.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 10/8/2013 17:58, Terence Heaford wrote:


Out of interest I get this in the console log not every time I print but most.

It may or may not be relevant.

08/10/2013 16:56:46.685 com.apple.hiservices-xpcservice[3784]: Bug: 12F45: 
liblaunch.dylib + 24032 [2F71CAF8-6524-329E-AC56-C506658B4C0C]: 0x10


Thanks

Terry



___
use-livecode mailing list
use-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: go stack URL question

2013-10-04 Thread Mark Schonewille

Hi JBV,

If you have the commercial version of LC, you can protect your stack 
with a password. In some cases, that might be sufficient and avoid the 
need for additional encryption.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/


On 10/4/2013 08:58, j...@souslelogo.com wrote:

Thanks Mark.

I don't know why but I thought that may be there was some built-in
encrypt option in the go stack URL command...

jbv



___
use-livecode mailing list
use-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: go stack URL question

2013-10-02 Thread Mark Schonewille

Hi JBV,

Sure, you can encrypt the stack and decrypt it when your standalone 
downloads the stack. You might want to avoid decrypting and opening very 
large remote files.


This code is a bit verbose. You could write a separate function to check 
the result to make the code a little shorter.


Your standalone only needs the decStack handler. Note that anyone who 
manages to access your code can see the key and may download and decrypt 
your file and have a look at it with a copy of LiveCode. Keeping keys 
and passwords in programming code is never save.


// encrypt stack and save to hard disk
// upload your hard disk manually with an
// ftp application
on encStack
  answer file Select stack...
  if it is not empty then
put url (binfile:  it) into myStack
put the result into rslt
if rslt is not empty then
  beep
  answer error rslt
else
  set the itemDel to .
  put item 1 to -2 of it  enc.gz into myName
  ask file Save as... with myName
  if it is not empty then
put it into myPath
put encKey() into myKey
encrypt myStack using blowfish with myKey
put the result into rslt
if rslt is not empty then
  beep
  answer error rslt
else
  put compress(myStack) into url (binfile:  myPath)
  put the result into rslt
  if rslt is not empty then
beep
answer error rslt
  else
set the clipboardData[text] to myKey
beep
answer The key has been copied to the clipboard. Use this 
key in the decStack handler with OK

  end if
end if
  end if
end if
  end if
end encStack

// function used by encStack
// to create a key
function encKey
  repeat until length(myKey) is 128
put numToChar(random(255)) after myKey
if last char of myKey is in (return  linefeed) then
  delete last char of myKey
end if
  end repeat
  return myKey
end encKey

// use this handler in your standalone
// to decrypt and open your stack
on decStack
  put ReplaceThisWithYourKey into myKey
  put http://www.mydomain.com/data/mystack.enc.gz; into myUrl
  put url myUrl into myStack
  put the result into rslt
  if rslt is not empty then
beep
answer error rslt
  else
put decompress(myStack) into myStack
put the result into rslt
if rslt is not empty then
  beep
  answer error rslt
else
  decrypt myStack using blowfish with myKey
  put the result into rslt
  if rslt is not empty then
beep
answer error rslt
  else
go stack myStack
put the result into rslt
if rslt is not empty then
  beep
  answer error rslt
end if
  end if
end if
  end if
end decStack

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 10/2/2013 11:26, j...@souslelogo.com wrote:

Hi list,

Let's say you have a standalone that you distribute to your clients,
and that standalone consists only in a splashscreen with login/pwd
fields.
Depending on the login/pwd entered a
go stack URL http://www.mydomain.com/data/mystack.rev; is then
executed.
Is there a way to somehow encrypt the stack on the remote server so
that its content can't be viewed with some sniffer, but have the stack
executing on the client pc without having to do anything ?

Thanks
jbv



___
use-livecode mailing list
use-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: go stack URL question

2013-10-02 Thread Mark Schonewille

Hi Alejandro,

That's right, you shouldn't do this on iOS because you'd be downloading 
executable code.


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 10/2/2013 23:00, Alejandro Tejada wrote:

Hi Mark,

Could you do this in an iPad?
I am sure that this will work fine in Android.

But, if I remember well, Apple does not allows
that an application download and execute code...

Al




___
use-livecode mailing list
use-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: My Codebook Pro v12 free

2013-09-28 Thread Mark Schonewille
Vaughn,

I just saw your message. Maybe it would help if you knew that I have no clue 
what the code book is and what you're offering or asking. If you make a simple 
website with pictures and two sentences to explain it all, you might have more 
success.

--
Kind regards,

Mark Schonewille
Economy-x-Talk
Http://economy-x-talk.com

Share the clipboard of your computer over a local network with Clipboard Link 
http://clipboardlink.economy-x-talk.com


Op 28 sep. 2013 om 04:33 heeft Vaughn Clement vclem...@gmail.com het volgende 
geschreven:

 Hi
 
 I find myself answering because there was little interest in the CodeBook
 v12 app with 2 comments and no responses on the nibble? So a good idea does
 not get enough attention to make it worth the cost to publish the codebook
 app.
 
 
 
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/My-Codebook-Pro-v12-free-tp4669769p4670398.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: OT: The Win UAC puts a shield on my program icon

2013-09-24 Thread Mark Schonewille
Hi Tiemo,

The shield will go away if you sign your app. I'm pretty sure someone wrote a 
tutorial about this, specifically for Revolution, but I don't have it at hand. 
Hopefully someone who reads this has.

--
Best regards,

Mark Schonewille

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

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

We have time for new software development projects. Contact me for a quote.






On 24 sep 2013, at 09:01, Tiemo Hollmann TB wrote:

 Hello,
 
 At a customer of mine on win 7 the UAC has put a shield symbol on top of the
 program icon and prompts the UAC security window at every start of my
 program. It's not the setup of my program, it's the program itself and the
 exe name doesn't include any word like setup or install.
 
 At the system control the UAC is set to the standard level, there is only
 one user on this machine belonging to the admin group and my program is the
 only one on this machine with this behavior but at no other customer, nor on
 my test machines. I already googled quite a time without finding an answer,
 perhaps somebody here has any experience with this what causes this
 behavior?
 
 Tiemo
 
 
 
 
 
 
 
 ___
 use-livecode mailing list
 use-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


[OT] More books...

2013-09-24 Thread Mark Schonewille

Hi,

This Thursday, we'll bring more copies of Programming LiveCode for the 
Real Beginner to DHL to ship. If you want quick delivery, make sure to 
order no later then Wednesday and keep an eye on your e-mail box. See my 
signature for links.


If you have any questions about the book, ask in the QA section at
http://livecodebeginner.economy-x-talk.com/qa/

You can also find the FAQ at
http://livecodebeginner.economy-x-talk.com/qa/?qa=tag/faq

--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

___
use-livecode mailing list
use-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: Valentina DB Error 0x82000

2013-09-21 Thread Mark Schonewille
Hi Ruslan,

There is no Vserver folder on my computer. What should be the correct path to 
this folder?

--
Kind regards,

Mark Schonewille
Economy-x-Talk
Http://economy-x-talk.com

Share the clipboard of your computer over a local network with Clipboard Link 
http://clipboardlink.economy-x-talk.com


Op 21 sep. 2013 om 08:17 heeft Ruslan Zasukhin 
ruslan_zasuk...@valentina-db.com het volgende geschreven:

 On 9/20/13 9:21 PM, Mark Schonewille m.schonewi...@economy-x-talk.com
 wrote:
 
 Hi Mark,
 
 Thanks for the answer. I followed the instructions that came with the
 license and put the license files into the license folder at C:\Program
 Files\Paradigma Software\VServer x64\licenses. Are you saying that this
 is wrong? Where should I find or create the Vserver folder?
 
 This is correct folder.
 
 I just type VServer in hope you understand where your Vserver is
 installed.
 
 
 I do find some logs at C:\Program Files\Paradigma Software\VServer
 x64\vlogs\. Those tell me that a valid license wasn't found.
 
 And this is strange then.
 
 In Log file is mentioned named of THAT licsene file, which you have dropped?
 
 When you have got this license file?
 May be it is older of 1 year?
 
 If this was free license, just get newer from our store.
 If that was paid and expired, then you may need upgrade.
 
 
 I got the same reply from you in the support incident. I propose we keep
 this discussion on the mailing list in case it is useful to someone else.
 
 There is no error message. All I get returned is ERROR 0x82000 and I
 looked in the XML file to see what it might mean.
 
 If LICENSE file is not valid, then vserver just NOT starts.
 
 You can check Activity Monitor and see that there is no such running
 application/service.
 
 So of course your app cannot connect.
 
 
 
 BTW Vserver seemed to work earlier. I am really confused, now that it
 has stopped working.
 
 Where do I find documentation about error codes, the difference between
 the server and the external, and differences between the open-source (or
 should I write free) and commercial editions of Valentina? All de
 documentation I can find is very old and is still speaking of Revolution
 instead of LiveCode.
 
 
 You can simply start Valentina Studio, and do SQL query
 
 SHOW VERRORS
 
 You will see list of errors with numbers and messages valid for YOUR VERSION
 of db engine or vserver
 
 
 -- 
 Best regards,
 
 Ruslan Zasukhin
 VP Engineering and New Technology
 Paradigma Software, Inc
 
 Valentina - Joining Worlds of Information
 http://www.paradigmasoft.com
 
 [I feel the need: the need for speed]
 
 
 
 ___
 use-livecode mailing list
 use-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: Valentina DB Error 0x82000

2013-09-21 Thread Mark Schonewille
Thanks for your reply, Ruslan. The e-mail containing my Valentina license says:

Please find attached your license file. You need to drop it into the licenses
folder of your Valentina Server. Also, remove DEMO license file from
this folder if it present there.

Are you saying that this is wrong? Do the license files have to be copied to

C:\Program Files\Paradigma Software\VServer x64

instead of

C:\Program Files\Paradigma Software\VServer x64\licenses

? I'm going to try this now...

--
Best regards,

Mark Schonewille

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

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

We have time for new software development projects. Contact me for a quote.






On 21 sep 2013, at 13:45, Ruslan Zasukhin wrote:

 On 9/21/13 10:20 AM, Mark Schonewille m.schonewi...@economy-x-talk.com
 wrote:
 
 
 There is no Vserver folder on my computer. What should be the correct path to
 this folder?
 
 Mark,
 
 We talk about folder where is install Vserver.exe
 
 You have correctly give full path
C:\Program Files\Paradigma Software\VServer x64
 
 This is path for Windows.
 
 You need resolve issue with your license file.
 
 
 
 Op 21 sep. 2013 om 08:17 heeft Ruslan Zasukhin
 ruslan_zasuk...@valentina-db.com het volgende geschreven:
 
 On 9/20/13 9:21 PM, Mark Schonewille m.schonewi...@economy-x-talk.com
 wrote:
 
 Hi Mark,
 
 Thanks for the answer. I followed the instructions that came with the
 license and put the license files into the license folder at C:\Program
 Files\Paradigma Software\VServer x64\licenses. Are you saying that this
 is wrong? Where should I find or create the Vserver folder?
 
 This is correct folder.
 
 I just type VServer in hope you understand where your Vserver is
 installed.
 
 -- 
 Best regards,
 
 Ruslan Zasukhin
 VP Engineering and New Technology
 Paradigma Software, Inc
 
 Valentina - Joining Worlds of Information
 http://www.paradigmasoft.com
 
 [I feel the need: the need for speed]
 
 
 
 ___
 use-livecode mailing list
 use-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: Valentina DB Error 0x82000

2013-09-21 Thread Mark Schonewille
Hi Ruslan,

I tried it, but it doesn't work. I use a pristine install of VServer and try to 
run the sample stacks included with V4Rev but I still get ERROR 0x82000. I 
haven't changed anything, so I'd assume that the port and other settings are 
correct.

--
Best regards,

Mark Schonewille

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

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

We have time for new software development projects. Contact me for a quote.






On 21 sep 2013, at 13:59, Mark Schonewille wrote:

 Thanks for your reply, Ruslan. The e-mail containing my Valentina license 
 says:
 
 Please find attached your license file. You need to drop it into the 
 licenses
 folder of your Valentina Server. Also, remove DEMO license file from
 this folder if it present there.
 
 Are you saying that this is wrong? Do the license files have to be copied to
 
 C:\Program Files\Paradigma Software\VServer x64
 
 instead of
 
 C:\Program Files\Paradigma Software\VServer x64\licenses
 
 ? I'm going to try this now...
 
 --
 Best regards,
 
 Mark Schonewille
 
 Economy-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: http://twitter.com/xtalkprogrammer
 KvK: 50277553
 
 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour 
 spaces. http://www.color-converter.com
 
 We have time for new software development projects. Contact me for a quote.
 
 
 
 
 
 
 On 21 sep 2013, at 13:45, Ruslan Zasukhin wrote:
 
 On 9/21/13 10:20 AM, Mark Schonewille m.schonewi...@economy-x-talk.com
 wrote:
 
 
 There is no Vserver folder on my computer. What should be the correct path 
 to
 this folder?
 
 Mark,
 
 We talk about folder where is install Vserver.exe
 
 You have correctly give full path
   C:\Program Files\Paradigma Software\VServer x64
 
 This is path for Windows.
 
 You need resolve issue with your license file.
 
 
 
 Op 21 sep. 2013 om 08:17 heeft Ruslan Zasukhin
 ruslan_zasuk...@valentina-db.com het volgende geschreven:
 
 On 9/20/13 9:21 PM, Mark Schonewille m.schonewi...@economy-x-talk.com
 wrote:
 
 Hi Mark,
 
 Thanks for the answer. I followed the instructions that came with the
 license and put the license files into the license folder at C:\Program
 Files\Paradigma Software\VServer x64\licenses. Are you saying that this
 is wrong? Where should I find or create the Vserver folder?
 
 This is correct folder.
 
 I just type VServer in hope you understand where your Vserver is
 installed.



___
use-livecode mailing list
use-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: Valentina DB Error 0x82000

2013-09-21 Thread Mark Schonewille
Hi Bill,

I did that and I think that the instructions that come with the license files 
are wrong. Today, i will try to set it up on another computer. It worked once, 
maybe it will work again.

--
Best regards,

Mark Schonewille

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

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

We have time for new software development projects. Contact me for a quote.






On 21 sep 2013, at 13:55, william humphrey wrote:

 The http://www.valentina-db.com/en/store  valentina store now makes it a
 little easier to get a license file when you download a copy of vServer (5)
 -- the free version.  Just click on the $0.00 and add the file to cart.
 
 I would like to add here that I hate license files. And in fact you can
 get vStudio from the Apple App store and that runs wonderfully without a
 license file. Perhaps sometime in the future Ruslan will put vServer in the
 App store and we will have a version that doesn't require that license file.
 


___
use-livecode mailing list
use-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: Valentina DB Error 0x82000

2013-09-21 Thread Mark Schonewille

Hi Ruslan,

I decided to restart my computer and it works (for now). I have my 
license file in C:\Program Files\Paradigma Software\VServer x64 and not 
in C:\Program Files\Paradigma Software\VServer x64\licenses. Does it 
make a difference?


--
Best regards,

Mark Schonewille

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

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


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 9/21/2013 13:45, Ruslan Zasukhin wrote:

On 9/21/13 10:20 AM, Mark Schonewille m.schonewi...@economy-x-talk.com
wrote:



There is no Vserver folder on my computer. What should be the correct path to
this folder?


Mark,

We talk about folder where is install Vserver.exe

You have correctly give full path
 C:\Program Files\Paradigma Software\VServer x64

This is path for Windows.

You need resolve issue with your license file.




Op 21 sep. 2013 om 08:17 heeft Ruslan Zasukhin
ruslan_zasuk...@valentina-db.com het volgende geschreven:


On 9/20/13 9:21 PM, Mark Schonewille m.schonewi...@economy-x-talk.com
wrote:

Hi Mark,


Thanks for the answer. I followed the instructions that came with the
license and put the license files into the license folder at C:\Program
Files\Paradigma Software\VServer x64\licenses. Are you saying that this
is wrong? Where should I find or create the Vserver folder?


This is correct folder.

I just type VServer in hope you understand where your Vserver is
installed.




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


<    1   2   3   4   5   6   7   8   9   10   >