Search found 607 matches

by Simon Knight
Wed Sep 23, 2020 1:49 pm
Forum: Using Plugins for Customizing the LiveCode IDE
Topic: Plugin "User Tools Palette" on Sample Stacks
Replies: 6
Views: 2243

Re: Plugin "User Tools Palette" on Sample Stacks

Sorry I missed these posts but I've been in an email blackhole for seven days - a DDOS attack o my email host

* Forthworld. please feel free to move the post.

* richmond62. - just so that I'm clear is your slowness comment about revOnline rather than my app?

best wishes

Simon
by Simon Knight
Mon Sep 07, 2020 10:48 am
Forum: Bug Triage
Topic: Datagrid blessing or nightmare
Replies: 24
Views: 6809

Re: Datagrid blessing or nightmare

I'm sure if bumping old threads is poor form but here goes. I have just tried the new DG2 for the first time having previously used DG1 on odd occasions. My issues with version 1 is their complexity seems to defeat LC at times especially when you start using your own behavior button code to customis...
by Simon Knight
Sun Sep 06, 2020 3:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling a datagrid - Form
Replies: 10
Views: 1494

Re: Scrolling a datagrid - Form

Bump!

Thank you dogbert! Just spent a wee while wondering why the scroll bar did very little. Quit and restart and all is well.

TVM

Skids
by Simon Knight
Fri Sep 04, 2020 10:30 pm
Forum: Talking LiveCode
Topic: Oh no another speed test : read thumbnail from raw
Replies: 18
Views: 915

Re: Oh no another speed test : read thumbnail from raw

Hi Kelly, You are welcome to a copy of my app but its not cataloging but file renaming : I use a cheap App NeoFinder as my cataloging software but because I have been bitten multiple times by having to change catalog software I decided to uses a file naming convention that means I can always fall ba...
by Simon Knight
Fri Sep 04, 2020 10:17 am
Forum: Talking LiveCode
Topic: Oh no another speed test : read thumbnail from raw
Replies: 18
Views: 915

Re: Oh no another speed test : read thumbnail from raw

Paul, It all sounds interesting although you lost me with the different printing methods. As a boy my father use to take me around the news paper where he worked back when it was linotype machines and hot metal. I remember that when the presses were running they could be felt throughout the building...
by Simon Knight
Thu Sep 03, 2020 8:01 am
Forum: Talking LiveCode
Topic: Oh no another speed test : read thumbnail from raw
Replies: 18
Views: 915

Re: Oh no another speed test : read thumbnail from raw

Well if you want some raw files to play with I have over a hundred thousand of them and you are welcome to some to play with. This exercise in optimisation now means I'm planning to update my file renaming app to list all the images with thumbnails which will be good. The bad side is that I will pro...
by Simon Knight
Wed Sep 02, 2020 2:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Edit mode action control
Replies: 6
Views: 384

Re: Edit mode action control

Hi,

Yes I think that should work. I probably would not use the "it" variable because Livecode is free to write to it and I like to keep a close check on my variables.

best wishes

Simon
by Simon Knight
Wed Sep 02, 2020 8:43 am
Forum: Talking LiveCode
Topic: Oh no another speed test : read thumbnail from raw
Replies: 18
Views: 915

Re: Oh no another speed test : read thumbnail from raw

Hi Bernd and Paul, Thanks for your posts. Both of your methods are very quick, probably because they let the Disk File System do the heavy lifting. Bernd : Searching for the End of Jpeg Data bytes first is a very elegant solution but I worry that the two bytes, 0xFFD8 , may not unique within a raw f...
by Simon Knight
Tue Sep 01, 2020 5:36 pm
Forum: Talking LiveCode
Topic: Oh no another speed test : read thumbnail from raw
Replies: 18
Views: 915

Re: Oh no another speed test : read thumbnail from raw

Hi Bernd,

Your code blows mine out of the water! With my test images on an SD card and your code reads in 4ms. Which is 20 times faster than mine or 80 times faster than my original code. So I think you win!

best wishes

Simon
by Simon Knight
Tue Sep 01, 2020 8:49 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Edit mode action control
Replies: 6
Views: 384

Re: Edit mode action control

So from script you need to ensure that the custom property is set to a text value. e.g. put "group id 1010 of card id 1005 of stack" & quote & "Data Grid Templates 1598941616835" & quote into tString Note the use of the constant "quote" to place a double quote character into the variable tString See...
by Simon Knight
Tue Sep 01, 2020 8:23 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Edit mode action control
Replies: 6
Views: 384

Re: Edit mode action control

Hi again, So I was on the correct track : The code above will post an ID to a group in the datagrid templates. e.g. group id 1010 of card id 1005 of stack "Data Grid Templates 1598941616835" Copy this text (your version not mine!) and then open up the inspector on your datagrid. Next display the cus...
by Simon Knight
Tue Sep 01, 2020 7:08 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Edit mode action control
Replies: 6
Views: 384

Re: Edit mode action control

Re your first question:

try

Code: Select all

   get the  dgProp["edit mode action control"] of group "myDataGrid" 
   put it into field "results"
   put it into tMyVar
store it in your variable (tMyVar) for use in the future.

Oops I have just noticed that it returns a group that does not work.
by Simon Knight
Tue Sep 01, 2020 6:50 am
Forum: Talking LiveCode
Topic: Oh no another speed test : read thumbnail from raw
Replies: 18
Views: 915

Re: Oh no another speed test : read thumbnail from raw

Here is an updated stack that uses a handler posted by Jan Schenkel here https://forums.livecode.com/viewtopic.php?t=5397

I believe that the stack will now work across all desktop operating systems but there is no error checking or user protection in the stack.

S
by Simon Knight
Tue Sep 01, 2020 6:30 am
Forum: Talking LiveCode
Topic: Oh no another speed test : read thumbnail from raw
Replies: 18
Views: 915

Re: Oh no another speed test : read thumbnail from raw

Ooops, I have just remembered that the stack uses a shell command to determine the size of the selected file. So I suspect that this command is OS specific : From the mouse up handlers in buttons 2 and 3: put "stat -f%z " & tFileName into tCommand put shell (tCommand) into tBytesInFile The first but...

Go to advanced search