Search found 51 matches

by ace16vitamine
Sat Feb 09, 2019 1:35 am
Forum: Databases
Topic: LC and MariaDB
Replies: 2
Views: 340

Re: LC and MariaDB

Thanks Klaus!

textencode() is working in the case that I encode every SQL insert.
by ace16vitamine
Fri Feb 08, 2019 1:24 pm
Forum: Databases
Topic: LC and MariaDB
Replies: 2
Views: 340

LC and MariaDB

Hi, I have switched my DB from SQLite to MariaDB. The DB and the system is configured with UTF8: MariaDB [(none)]> show variables like 'char%'; +--------------------------+----------------------------+ | Variable_name | Value | +--------------------------+----------------------------+ | character_se...
by ace16vitamine
Sun Feb 03, 2019 8:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Performance and background jobs
Replies: 14
Views: 712

Re: Performance and background jobs

Hey guys, thank you for all your informations. Ive checked my App step by step to identify WHAT is the performance hungry monster. What I found out... My "construct" needs < 1sec, the calculation is not the problem. The SQL Selects are also fast, the bottle neck is: - The Hard Disc (Performance on v...
by ace16vitamine
Thu Jan 31, 2019 10:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Performance and background jobs
Replies: 14
Views: 712

Re: Performance and background jobs

Well, a repeat loop in general takes all CPU power, UNLESS you add a little "wait" statement: Hm... good to know! But I have another idea to get more performance :lol: I have a key... The Order Number. The key is always the same. I can put the SQL Select in another "Transfer" SQLite DB. That means ...
by ace16vitamine
Thu Jan 31, 2019 8:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Performance and background jobs
Replies: 14
Views: 712

Re: Performance and background jobs

Hm, OK, I would probably use some local variables or custom properties and split the long handler into 6 smaller handlers -> v_order1 to v_order6. And use SEND to call them from the previous handler, maybe with a little delay OK, i do this later (in the case that my wife is sleeping... ) :D This wa...
by ace16vitamine
Thu Jan 31, 2019 4:27 pm
Forum: Mac OS
Topic: Add text to the Statusmenue
Replies: 1
Views: 272

Add text to the Statusmenue

Dear all,

is there a documentation available to add icons (or in my case a simple number) to the Mac OS Status Menue (see screenshot). I want to show a simple number like the Akku Icon or like the clock.

Thanks
Stefan
by ace16vitamine
Thu Jan 31, 2019 2:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Performance and background jobs
Replies: 14
Views: 712

Re: Performance and background jobs

Hi Klaus (again), this is some of the biggest block. I am merge some SQL outputs different times to create a laaaaarge variable. I am starting with the Order IDs from t_array["vBestellnummer"] to get a list with all existing Order IDs. Then, in the first section, I am matching each line of s_array["...
by ace16vitamine
Thu Jan 31, 2019 11:45 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Performance and background jobs
Replies: 14
Views: 712

Performance and background jobs

Dear all, I have a simple (and stupid) question. My application is like this one: on open_sock Transfer file bla bla sql_select end open_sock on sql_select select bla bla bla calculate something show_message end sql_select on show_message answer bla bla bla end show_message On "sql_select" I am calc...
by ace16vitamine
Thu Jan 31, 2019 12:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Fill DataGrid (Form) with graphics
Replies: 2
Views: 249

Re: Fill DataGrid (Form) with graphics

Ha Ha Ha... Thank you Klaus! I already found my mistake some minutes before you wrote.

Stefan
by ace16vitamine
Wed Jan 30, 2019 10:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Fill DataGrid (Form) with graphics
Replies: 2
Views: 249

Fill DataGrid (Form) with graphics

Hi, I created a Data Grid with some informations. This informations are loaded with FillInData without any problems. Know I startet to create a graphic (oval dot) in the DataGrid Template. This is also working, I see this in each row. The informations are stored in pDataArray["status"] and I see the...
by ace16vitamine
Thu Jan 03, 2019 3:49 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Merge or join two variables
Replies: 3
Views: 264

Re: Merge or join two variables

@Klaus, magic :-) Thanks!

@Craig, you are absolutely right! Sometimes another way brings perfect results - Thats the reason why this forum is helpful.
by ace16vitamine
Wed Jan 02, 2019 10:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Merge or join two variables
Replies: 3
Views: 264

Merge or join two variables

Hi, I have two variables: 1) order_id_name Content: "AU123 TAB Mustermann CR AU124 TAB Musterfrau" 2) order_id_tracking Content: "AU123 TAB 12345 CR AU124 TAB 6789" How can I merge (or join) both variables to one and identify the right order with the order ID as identifyer? Example: new_variable Con...
by ace16vitamine
Thu Dec 20, 2018 3:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rest API Call for Aftership
Replies: 10
Views: 675

Re: Rest API Call for Aftership

Thanks a lot, Brian! You are right, the array is now working. Now I need to work with a GET query: curl -X GET \ https://api.aftership.com/v4/last_checkpoint/12345 \ -H 'Content-Type: application/json' \ -H 'Postman-Token: 6789' \ -H 'aftership-api-key: 101112' \ -H 'cache-control: no-cache' Before ...
by ace16vitamine
Thu Dec 20, 2018 2:39 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rest API Call for Aftership
Replies: 10
Views: 675

Re: Rest API Call for Aftership

But.... know I have another question :-) The answer is also in JSON Format: {"meta":{"code":201},"data":{"tracking" :{"id":"XYZ" ,"created_at":"2018-12-20T00:38:01+00:00","updated_at":"2018-12-20T00:38:01+00:00","last_updated_at":"2018-12-20T00:38:01+00:00","tracking_number":"ABCD","slug":"dhl-germa...
by ace16vitamine
Wed Dec 19, 2018 11:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rest API Call for Aftership
Replies: 10
Views: 675

Re: Rest API Call for Aftership

put "ABCD" into myData["tracking"]["tracking_number"]
put jsonExport(myData) into tPostData

Thanks it!

Thank you for your support!

Go to advanced search