Search found 66 matches

by mimu
Tue May 29, 2018 11:40 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: OSX app started from commandline
Replies: 2
Views: 2807

OSX app started from commandline

Hello, dear livecoders i need some help. At the end i’am trying to write a small app which will be started from the osx command line with a phone number as parameter, asking an internal web service for details about this number. After compiling my app as a standalone for osx it works like expected i...
by mimu
Tue Nov 07, 2017 9:22 pm
Forum: Version Control
Topic: Question to get started with Levure framework
Replies: 11
Views: 14357

Re: Question to get started with Levure framework

Hello Trevor, your code works perfect! Thank you so much I made a silly mistake (typo in first of the behaviorsdatagridbuttonbehavior.livecodescript) :mrgreen: and at some point i was wondering why no debugging added to the behavior was working I made one small edit at the end of the _Initialize han...
by mimu
Tue Nov 07, 2017 6:23 pm
Forum: Version Control
Topic: Question to get started with Levure framework
Replies: 11
Views: 14357

Re: Question to get started with Levure framework

I just replaced the behaviorsdatagridbuttonbehavior again with the last version from your gist.

But the the mobile controller is not recreated.
by mimu
Tue Nov 07, 2017 5:49 pm
Forum: Version Control
Topic: Question to get started with Levure framework
Replies: 11
Views: 14357

Re: Question to get started with Levure framework

Trevor, thank you so much for your help.

I replaced /Tools/Toolset/palettes/revdatagridlibrary/behaviorsdatagridbuttonbehavior.livecodescript in the LC Programm bundle with the one from your gist.

Is it necessary to recreate the data grid from scratch ?
If not still no luck
by mimu
Tue Nov 07, 2017 3:59 pm
Forum: Version Control
Topic: Question to get started with Levure framework
Replies: 11
Views: 14357

Re: Question to get started with Levure framework

No its not my code, its handled by the data grid itself.

I looked into the code in the datagrid stack and there is code which handles it.

I'am on LC9DP10
by mimu
Tue Nov 07, 2017 10:39 am
Forum: Version Control
Topic: Question to get started with Levure framework
Replies: 11
Views: 14357

Re: Question to get started with Levure framework

Hello Trevor, thank you very much for your quick reply. Concerning my datagrid problem, i've put the suggested error handler into app.livecodescript script but i don't get an error. My next step was to add a button script : if the environment is "mobile" then put mobileControls() into tControlList a...
by mimu
Mon Nov 06, 2017 4:35 pm
Forum: Version Control
Topic: Question to get started with Levure framework
Replies: 11
Views: 14357

Question to get started with Levure framework

1 after calling levurePackageApplication "ios simulator" in the message box the app windows are closed and the app starts in the simulator. To make changes to my app i try clicking „Open Application“ in the LevureApplication window again , but nothing happens. After a restart of live code „Open Appl...
by mimu
Sun Nov 05, 2017 8:04 pm
Forum: Talking LiveCode
Topic: jsonToArray Problem Bug?
Replies: 0
Views: 1977

jsonToArray Problem Bug?

if you have json data like this i a variable:

{„Artikelliste":{"Artikel":{"MandArtikelNr":"01*KB1-DM-Z1","BestellNr":11E60002,}}}

put jsonToArray(tdata) into tDataA

Does not work

The Problem is : 11E60002

A json validator says its ok and valid
by mimu
Tue Aug 29, 2017 11:03 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How can I make a PUT request to an API framework
Replies: 12
Views: 8408

Re: How can I make a PUT request to an API framework

Perhaps this helps: command buildHeaderPut put "Content-Type: application/json" & cr \ & "Accept: application/json" & cr \ & "X-HTTP-Method-Override: PUT" & cr into tHeaders put "Authorization: Basic " after tHeaders put base64encode(""& ":" & sAccessToken) into tH replace cr with "" in tH put th af...
by mimu
Fri Jun 23, 2017 1:38 pm
Forum: Internet
Topic: Check if web service available
Replies: 0
Views: 2299

Check if web service available

What would be the best way to check if a web server is available or not ? I tried to send a simple get request to a static resource on the server before each rest call, but if the server is not available i have to wait for the long standard timeout. How to change the timeout to for example to 0.5 se...
by mimu
Thu Oct 27, 2016 8:06 pm
Forum: Multimedia
Topic: (de)skew / shear images
Replies: 4
Views: 4996

Re: (de)skew / shear images

Thank you very much for your answer.

My goal is, to deskew an image of a letter or article, to send it to an internal web service of mine wich offers an ocr engine.

Any ideas?
by mimu
Sat Oct 22, 2016 9:47 am
Forum: Multimedia
Topic: (de)skew / shear images
Replies: 4
Views: 4996

(de)skew / shear images

Is it possible to do a image transformation using live code as described in this article on stack overflow ? http://stackoverflow.com/questions/9470493/transforming-a-rectangle-image-into-a-quadrilateral-using-a-catransform3d My first idea was to use affine transform of mergext av, but it seems to b...
by mimu
Tue Oct 18, 2016 9:07 pm
Forum: MergEXT
Topic: mergDeploy: where to find it?
Replies: 3
Views: 6996

Re: mergDeploy: where to find it?

Hi Monte,

any news about the integration?
by mimu
Fri Oct 07, 2016 3:24 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Answer Dialog with variable buttons
Replies: 3
Views: 3230

Answer Dialog with variable buttons

May idea is to build a variable string in tdialog to get an answer dialog with 1 , 2 ,3,4 or 5 buttons how do i escape the string correctly to get 3 buttons in this example? on mouseUp put "button1" into t1 put "button2" into t2 put "button3" into t3 put t1 && "or" && t2 "or" && t3 into tdialog answ...

Go to advanced search