Re: Array Properties in a Standalone

2017-01-10 Thread J. Landman Gay via use-livecode

On 1/10/17 10:53 PM, Bob Sneidar via use-livecode wrote:

It's been my whole understanding of the use of splash stacks that the
stack used to create a standalone is read only, and therefore cannot
be a stack you set properties of, or make any changes to. I had no
idea it became the mainstack in a standalone.


Right. You can make any changes you want, but you can't save them to disk.


This fairly torpedoes my whole portability concept where I go to a
substack of a mainstack and perform some actions, finally setting
some properties of the mainstack. In retrospect now, I can see why
seasoned livecoders don't go in much for the concept of substacks.
However convenient it is to have a single stack file with all the
substacks included, it appears I can no longer do this.


I don't think any of us avoid substacks, I use them all the time in apps 
for resource storage or as libraries. The trick is not to include any 
substacks that need write permissions as part of your standalone. Save 
the substacks out as independent stacks, and add them to the Copy Files 
pane in standalone settings. Those will become independent mainstacks 
and will be writeable (provided you copy them to a writeable location on 
disk first.)


I don't think you'll need to change your scripts much. You could even 
create a different splash stack, save that as the standalone, and have 
it open your original splash stack which is now its own mainstack, just 
as it is in the IDE.


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

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


Re: Array Properties in a Standalone

2017-01-10 Thread Bob Sneidar via use-livecode
First let me say that the 8.1.2 compile time is orders of magnitude improved! 
WOW what a difference. It was taking me 20 minutes to save as standalone, now 
it's under a minute. AWESOME! Now on to my tests. 

Okay I see what is happening. In the IDE the mainstack of a substack is the 
actual stack file. But when a splash stack is used to create a standalone, THAT 
becomes the mainstack of the standalone! 

This sucks of course, because now I have to go back to every instance where I 
reference the mainstack of this stack and hard code the name of the "actual" 
mainstack where all the properties are stored. And while I am relieved that I 
have finally tracked down a stubborn problem I didn't even know I had, this is 
going to cost me alot of time to rectify. I wish this had been clearer before I 
attempted to start building standalones. 

It's been my whole understanding of the use of splash stacks that the stack 
used to create a standalone is read only, and therefore cannot be a stack you 
set properties of, or make any changes to. I had no idea it became the 
mainstack in a standalone. 

This fairly torpedoes my whole portability concept where I go to a substack of 
a mainstack and perform some actions, finally setting some properties of the 
mainstack. In retrospect now, I can see why seasoned livecoders don't go in 
much for the concept of substacks. However convenient it is to have a single 
stack file with all the substacks included, it appears I can no longer do this. 

I have made extensive use of the mainstack properties as a kind of "application 
global" storage to avoid conflicts between applications open simultaneously, 
with the same "setup stacks" embedded. I can see I am going to have to come up 
with an entirely new way to do this. 

Bob S



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


Re: Array Properties in a Standalone

2017-01-10 Thread Mark Wieder via use-livecode

On 01/10/2017 08:04 PM, Monte Goulding via use-livecode wrote:


I can’t give you any solid leads here but I think the idea that custom property 
sets don’t work in a standalone is a red herring. I’d start by finding the bit 
of code that sets the custom property set and wrap the whole handler in a 
try/catch structure and throw up an answer dialog with any error. Debugging 
standalones isn’t that much fun at the moment (we have a remote debugger in the 
works).


Bob actually already has a copy of PowerDebug, which does let one 
remotely debug standalone applications .


--
 Mark Wieder
 ahsoftw...@gmail.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: Array Properties in a Standalone

2017-01-10 Thread Monte Goulding via use-livecode

> On 11 Jan 2017, at 2:52 pm, Bob Sneidar via use-livecode 
>  wrote:
> 
> In the IDE this works famously. In a compiled application however, the column 
> updateby in every table I insert or update is empty. The only explanation I 
> can come up with for this is that arrays do NOT get stored properly is stacks 
> or substacks. Normal values I can retrieve for sure, because I store the 
> current unique ID's of table records like custid, siteid, deviceid etc. in 
> properties so that I can retrieve  them later when inserting/updating into 
> the SQL database. That works in the IDE AND Standalones.


I can’t give you any solid leads here but I think the idea that custom property 
sets don’t work in a standalone is a red herring. I’d start by finding the bit 
of code that sets the custom property set and wrap the whole handler in a 
try/catch structure and throw up an answer dialog with any error. Debugging 
standalones isn’t that much fun at the moment (we have a remote debugger in the 
works).

Cheers

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

Re: Array Properties in a Standalone

2017-01-10 Thread Bob Sneidar via use-livecode
I'll try to explain a bit better. I have a splash stack that serves no other 
purpose than presenting the user with a window with a logo and a message that 
it is loading the application. It then opens the "actual" mainstack of the 
application and hides itself. This mainstack is NOT the one that gets saved as 
a binary file that cannot be edited. That is the Splash Stack (I even call it 
Splash).

So now the MainStack called "Forms Generator", a regular stack file like all of 
it's substacks, does some setup stuff. Of particular note it opens a substack 
of itself called Login. Login accesses a database of valid users, and presents 
the person with a login name and password. If the password matches a decrypted 
saved password, it saves the array of login values (called logindata), loginid, 
username, firstname, last name, accesslevel... you get the idea, as a property 
of the mainstack Forms Generator.

Because of this, I am able to retrieve that array from the mainstack and then 
update every updateby column of every record I insert or update in the database 
with the value logindata ["fisrtname"] && logindata ["last name"], in my case 
"Robert Sneidar". Good so far?

In the IDE this works famously. In a compiled application however, the column 
updateby in every table I insert or update is empty. The only explanation I can 
come up with for this is that arrays do NOT get stored properly is stacks or 
substacks. Normal values I can retrieve for sure, because I store the current 
unique ID's of table records like custid, siteid, deviceid etc. in properties 
so that I can retrieve  them later when inserting/updating into the SQL 
database. That works in the IDE AND Standalones.

But when I retrieve ARRAYS from properties in Standalones, I get squadouche. 
Empty values. If this is an aberration, I can test this by opening a log file 
and saving the printkeys of an array after I retrieve it to see what is in it.

Bob S


On Jan 10, 2017, at 19:33 , Monte Goulding via use-livecode 
> wrote:


On 11 Jan 2017, at 2:24 pm, Bob Sneidar via use-livecode 
> wrote:

Ooookaaay. In the IDE I can set a property of the mainstack (not the Splash 
Stack mind you that I use to "shell" the application) to an array. When I 
retrieve that property and access a key of that array, all is well. HOWEVER... 
when I compile to a standalone, that key is apparently inaccessible.

I’m not sure if I understand your description of the problem but if you are 
trying to save to a stack that is embedded in the executable then that won’t 
work.

Cheers

Monte

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

Re: Array Properties in a Standalone

2017-01-10 Thread Monte Goulding via use-livecode

> On 11 Jan 2017, at 2:24 pm, Bob Sneidar via use-livecode 
>  wrote:
> 
> Ooookaaay. In the IDE I can set a property of the mainstack (not the Splash 
> Stack mind you that I use to "shell" the application) to an array. When I 
> retrieve that property and access a key of that array, all is well. 
> HOWEVER... when I compile to a standalone, that key is apparently 
> inaccessible. 

I’m not sure if I understand your description of the problem but if you are 
trying to save to a stack that is embedded in the executable then that won’t 
work.

Cheers

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

Re: Signing Problems

2017-01-10 Thread William Prothero via use-livecode
I managed to get the OSX version of my app signed using Trevor’s code signing 
stack. Great! But with Appwrapper 3, I got it signed successfully, but then, 
for some reason that I have yet to find, it no longer access my resource files 
correctly. The files were available, I could get a list of files in the 
directory and all seemed ok. Anyway, it worked fine before App Wrappersigned 
it, and the signed version using Trevor’s stack didn’t affect it. So, I just 
gave up on App Wrapper. 

There is a nice app called “DMG Canvas” that I bought, which lets folks 
download the file from my web site.

Best,
Bill

> On Jan 10, 2017, at 7:49 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> And I have heard also expensive, which explains why some vendors do not 
> bother.
> 
> Bob S
> 
> 
> On Jan 9, 2017, at 19:17 , William Prothero via use-livecode 
> > wrote:
> 
> Folks:
> Never mind…. Signing is such a pain.
> 
> ___
> use-livecode mailing list
> use-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

Array Properties in a Standalone

2017-01-10 Thread Bob Sneidar via use-livecode
Ooookaaay. In the IDE I can set a property of the mainstack (not the Splash 
Stack mind you that I use to "shell" the application) to an array. When I 
retrieve that property and access a key of that array, all is well. HOWEVER... 
when I compile to a standalone, that key is apparently inaccessible. 

The property is an array of login values, like first name, last name, loginid 
etc. I SUSPECT, vaguely remembering past conversations about storing arrays as 
properties in a standalone, that I may need to arrayEncode them before I do! Is 
that correct?? If so, that can explain a multitude of issues I have been 
having. 

I ask here because if that is not the issue, I can save myself a ton of wasted 
time refactoring for a non-issue. 

Bob S



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


Array Properties in a Standalone

2017-01-10 Thread Bob Sneidar via use-livecode
Ooookaaay. In the IDE I can set a property of the mainstack (not the Splash 
Stack mind you that I use to "shell" the application) to an array. When I 
retrieve that property and access a key of that array, all is well. HOWEVER... 
when I compile to a standalone, that key is apparently inaccessible. 

The property is an array of login values, like first name, last name, loginid 
etc. I SUSPECT, vaguely remembering past conversations about storing arrays as 
properties in a standalone, that I may need to arrayEncode them before I do! Is 
that correct?? If so, that can explain a multitude of issues I have been 
having. 

I ask here because if that is not the issue, I can save myself a ton of wasted 
time refactoring for a non-issue. 

Bob S



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


Re: Documentation on Dispatch

2017-01-10 Thread Bob Sneidar via use-livecode
I use this ALL the time. sqlYoga uses special arrays for Record Objects, and 
the elements of one of these arrays can *only* be modified using the 
sqlrecord_set command. Because of this, I need to pass these record objects by 
reference to update them correctly. Very handy.

Bob S


On Jan 10, 2017, at 15:54 , Bleiler, Timothy via use-livecode 
> wrote:

Another feature of “dispatch” that is undocumented is that it can be used with 
call by reference variables. The variables passed as call by reference can also 
be arrays, which can come in handy sometimes.

Example:

___
use-livecode mailing list
use-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: Documentation on Dispatch

2017-01-10 Thread Bleiler, Timothy via use-livecode
Since Livecode version 7.0 it’s also possible to pass an array element by 
reference and that also works with “Dispatch”.

Example:

on mouseUp
   Put "27" into tTemp["tKey"]
   Dispatch "AdjustSetting" with tTemp["tKey"]
   # Now tTemp["tKey"] = 62
   put tTemp["tKey"]
end mouseUp

on AdjustSetting @pSetting
   Add 35 to pSetting
end AdjustSetting
___
use-livecode mailing list
use-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: Documentation on Dispatch

2017-01-10 Thread Bleiler, Timothy via use-livecode
Another feature of “dispatch” that is undocumented is that it can be used with 
call by reference variables. The variables passed as call by reference can also 
be arrays, which can come in handy sometimes.

Example:

on mouseUp
   Put "27" into tTemp
   Dispatch  "AdjustSetting" with tTemp
   # now tTemp = 62
   put tTemp 
end mouseUp

on AdjustSetting @pSetting
   Add 35 to pSetting
end AdjustSetting
___
use-livecode mailing list
use-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: Documentation on Dispatch

2017-01-10 Thread Richard Gaskin via use-livecode

Monte Goulding wrote:

> Try this:
>
> on mouseUp
>  dispatch function "foo" to me with 1,2
>  put the result
> end mouseUp
>
> function foo p1, p2
>  return p1 + p2
> end foo

Yep, it works.

So it's not so much wrapping it per se, just calling it directly by 
adding the "function" specifier to "dispatch".


Interesting.  Thanks.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

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


Re: Documentation on Dispatch

2017-01-10 Thread Monte Goulding via use-livecode
Try this:

on mouseUp
 dispatch function "foo" to me with 1,2
 put the result
end mouseUp

function foo p1, p2
 return p1 + p2
end foo

___
use-livecode mailing list
use-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: Documentation on Dispatch

2017-01-10 Thread Richard Gaskin via use-livecode

Ali Lloyd wrote:

> The `dispatch function` form of the dispatch command indeed does not
> appear to be documented.

What does that syntax look like?

This works:

on mouseUp
  dispatch "foo" to me with 1,2
  put the result
end mouseUp

on foo p1, p2
  return p1 + p2
end foo


...but this does not:

on mouseUp
  dispatch "foo" to me with 1,2
  put the result
end mouseUp

function foo p1, p2
  return p1 + p2
end foo


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

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


Re: Documentation on Dispatch

2017-01-10 Thread Ali Lloyd via use-livecode
The `dispatch function` form of the dispatch command indeed does not appear
to be documented.

On Tue, Jan 10, 2017 at 9:10 PM Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Sannyasin Brahmanathaswami wrote:
>
>  > Sometimes you want to do a "remote" call to a function and get data
>  > back. At first this appear no possible
>  >
>  > send | dispatch | do | call
>  >
>  > BUT: FYI you can wrap a function in Dispatch and the value is
>  > returned in the result.
>  >
>  > this is not documented.
>
> What exactly do you mean by "wrap a function in Dispatch"?
>
> --
>   Richard Gaskin
>   Fourth World Systems
>   Software Design and Development for the Desktop, Mobile, and the Web
>   
>   ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Documentation on Dispatch

2017-01-10 Thread Bob Sneidar via use-livecode
A perhaps better way is to put all your functions that you want to call 
"remotely" in a button or a script only stack and when you first open your 
stack insert  the script of  into front or back. One thing to keep 
in mind however is scoping. 
"this" for example refers to the object which called the command or function, 
and NOT the object  the front or back script is in. 

Bob S


> On Jan 10, 2017, at 12:49 , Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> for the documentarians among us.
> 
> Sometimes you want to do a "remote" call to a function and get data back. At 
> first this appear no possible
> 
> send | dispatch | do | call
> 
> BUT: FYI you can wrap a function in Dispatch and the value is returned in the 
> result.
> 
> this is not documented.
> 
> 
> 
> ___
> use-livecode mailing list
> use-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: Documentation on Dispatch

2017-01-10 Thread Richard Gaskin via use-livecode

Sannyasin Brahmanathaswami wrote:

> Sometimes you want to do a "remote" call to a function and get data
> back. At first this appear no possible
>
> send | dispatch | do | call
>
> BUT: FYI you can wrap a function in Dispatch and the value is
> returned in the result.
>
> this is not documented.

What exactly do you mean by "wrap a function in Dispatch"?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

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


Documentation on Dispatch

2017-01-10 Thread Sannyasin Brahmanathaswami via use-livecode
for the documentarians among us.

Sometimes you want to do a "remote" call to a function and get data back. At 
first this appear no possible

send | dispatch | do | call

BUT: FYI you can wrap a function in Dispatch and the value is returned in the 
result.

this is not documented.



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

2017-01-10 Thread hh via use-livecode
Update to LC-Magick #5: Circular (Polar) Image Distortion
http://forums.livecode.com/viewtopic.php?p=14#p14

Bernd solved the antialiasing-border-problem with a brilliant technique
(using a fillGradient). Needs some more time but it's worth. Thanks BerndN!

> Added today #5: Circular (Polar) Image Distortion.
> 
> The distortion output is, not only in LC, somehow "jagged" at the border. I 
> tried
> to "soften" border using graphic effects. Bernd (bn) already showed me a 
> nearly
> perfect method for #4 (will be updated soon), sadly this can't handle 
> transparency.
> To everybody who's interested in image distortion methods:
> Is there a general improvement for my method/settings in #5 (see the script 
> of btn
> "Effects")?
> 
> > *** LC-Magick Collection ***
> > 
> > LC-Magick #1 - Blur and Pixelate (Scott R.)
> > http://tactilemedia.com/blog/2016/03/26/update-blur-effect-plus-pixelize-bonus/
> > 
> > LC-Magick #2 - Pointillize and Hatching
> > http://forums.livecode.com/viewtopic.php?p=141051#p141051
> > 
> > LC-Magick #3 - Image Multiplexing
> > http://forums.livecode.com/viewtopic.php?p=141272#p141272
> > 
> > LC-Magick #4 - Perspective Image Distortion
> > http://forums.livecode.com/viewtopic.php?p=148647#p148647
> > 
> > LC-Magick #5 - Circular (Polar) Image Distortion
> > http://forums.livecode.com/viewtopic.php?p=14#p14 <-- corrected 
> > from last
> > 
> > Most of it based on ideas presented on imageMagick's documentation
> > http://www.imagemagick.org/Usage/


___
use-livecode mailing list
use-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: save stack as filename failing most of the time

2017-01-10 Thread Paul Hibbert via use-livecode
I tried, but it works fine for me every time in LC8.1.2 (Build 14013) (I no 
longer have RC3 installed), on MacOS Sierra 10.12.2.

This is the test script I used:

on mouseUp

put"/Users/paulhibbert/Documents/001 Test 
Folder/paultest.xx.to.Compile.livecode" into tFileName

replace "xx" with char -4 to -1 of the seconds in tFileName

save stack "paultest" as tFileName

if the result is empty then

answer "Success!"

else

answer "Save Failed!" && the result

end if

end mouseUp


Initially I tried with the same file name, just overwriting each time, that 
never failed, so I added the last four digits of the seconds to make a more 
unique name, but that never failed either. I also tried this from within the 
test stack, and then with a separate stack to issue the save command, they both 
worked fine too.

If there’s anything else you can think that is worth trying, just ask.

Paul

> On 10 Jan 2017, at 07:45, Dr. Hawkins via use-livecode 
>  wrote:
> 
> livecode has been unable to reproduce the bug.  Could someone who was able
> to make a stack to manifest this please upload?
> 
> *Comment # 1  on bug
> 19042  from Panos
> Merakos *
> 
> Hi Richard,
> 
> Thank you for the report. I have tried to reproduce this bug with no success. 
> I
> have created a stack called "panos.livecode" with a button with the following
> script:
> 
> on mouseUp
>  save this stack as "/Users/panos/Desktop/panos.to_compile.livecode"
> end mouseUp
> 
> Clicking the button creates a new "panos.to_compile.livecode" stack on Desktop
> folder.
> 
> Can you please attach a sample stack that demonstrates the problem for you?
> 
> Best regards,
> Panos
> ___
> use-livecode mailing list
> use-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: Signing Problems

2017-01-10 Thread Bob Sneidar via use-livecode
And I have heard also expensive, which explains why some vendors do not bother.

Bob S


On Jan 9, 2017, at 19:17 , William Prothero via use-livecode 
> wrote:

Folks:
Never mind…. Signing is such a pain.

___
use-livecode mailing list
use-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: save stack as filename failing most of the time

2017-01-10 Thread Dr. Hawkins via use-livecode
livecode has been unable to reproduce the bug.  Could someone who was able
to make a stack to manifest this please upload?

*Comment # 1  on bug
19042  from Panos
Merakos *

Hi Richard,

Thank you for the report. I have tried to reproduce this bug with no success. I
have created a stack called "panos.livecode" with a button with the following
script:

on mouseUp
  save this stack as "/Users/panos/Desktop/panos.to_compile.livecode"
end mouseUp

Clicking the button creates a new "panos.to_compile.livecode" stack on Desktop
folder.

Can you please attach a sample stack that demonstrates the problem for you?

Best regards,
Panos
___
use-livecode mailing list
use-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: mobile sound: set start point?

2017-01-10 Thread Klaus major-k via use-livecode
Hi Ben,

> Am 10.01.2017 um 11:44 schrieb Ben Rubinstein via use-livecode 
> :
> 
> With a player object, we can get/set the 'currentTime' property to play a 
> portion of a sound file.
> Is there any way to do the same on mobile (specifically, iOS), or are we 
> limited to always playing from the start of a clip?

there are gazillions of options you can set with "mobilecontrolset" and one of 
them is:
...
mobilecontrolset , "currenttime", 
...
:-)

> TIA,
> 
> Ben

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


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


AW: Signing Problems

2017-01-10 Thread Tiemo Hollmann TB via use-livecode
Hi Bill,

I have also experienced signings without error, which actually failed. After 
signing you should always verify the signing via terminal with:
spctl -a -t exec -vv 
so you don't need to make the way with your server.
Tiemo



-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
William Prothero via use-livecode
Gesendet: Dienstag, 10. Januar 2017 04:18
An: Use-livecode Use-livecode 
Cc: William Prothero 
Betreff: Re: Signing Problems

Folks:
Never mind…. Signing is such a pain. I think I’ve got it, though. Careful 
reading of the instructions always seems to win the day, in the end.
Bill

> On Jan 9, 2017, at 1:53 PM, William Prothero via use-livecode 
>  wrote:
> 
> Anybody:
> I’m trying to sign an App with AppWrapper 3, and it indicates that the app is 
> being signed successfully, but when I load it to my server, then download it, 
> I get the security alert.
> 
> I’m on OSX 10.11.6 and tried with Livecode versions 8.1.2 and 9.0.0 (dp4). 
> I’m wondering if these version will sign ok.
> 
> Any hints or info would be very helpful.
> 
> Thanks,
> Bill
> 
> 
> 
> William A. Prothero
> http://earthlearningsolution.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


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

mobile sound: set start point?

2017-01-10 Thread Ben Rubinstein via use-livecode
With a player object, we can get/set the 'currentTime' property to play a 
portion of a sound file.


Is there any way to do the same on mobile (specifically, iOS), or are we 
limited to always playing from the start of a clip?


TIA,

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