Search found 156 matches

by jiml
Sun Aug 19, 2018 8:37 pm
Forum: Off-Topic
Topic: LiveCode Marketing Suggestions
Replies: 118
Views: 10137

Re: LiveCode Marketing Suggestions

Bogs wrote: Does that mean I get the job? Social Media Management is indeed a job. Even when semi=automated it is typically full-time. Many companies often need an entire social media staff. LC doesn't have those resources. Resources have been focused on continually improving the products more so th...
by jiml
Sun Jul 29, 2018 9:29 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: download a lot of .png files
Replies: 9
Views: 402

Re: download a lot of .png files

Code: Select all

repeat with i = 1 to the number of lines in tFileList
Of course. Duh!

Clearly I type faster than I think.

Thanks,
JimL
by jiml
Fri Jul 27, 2018 8:02 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: download a lot of .png files
Replies: 9
Views: 402

Re: download a lot of .png files

Also if fld "fListImgDL" only contains the filenames of the remote files then this might be slightly faster, as it uses a variable instead of repeatedly reading a field. And it is uses the actual number of file names in that variable instead of the fixed amount 3500: put "https://..." into tDistantF...
by jiml
Fri Jul 27, 2018 7:55 pm
Forum: Creating Games
Topic: Hexagons and stuff
Replies: 51
Views: 1940

Re: Hexagons and stuff

Ooops

delete line

Code: Select all

  put the short name of img x into adad

Unnecessary.

JimL
by jiml
Fri Jul 27, 2018 7:54 pm
Forum: Creating Games
Topic: Hexagons and stuff
Replies: 51
Views: 1940

Re: Hexagons and stuff

Might want to remove any images left over from earlier uses of the DO IT button -- remove earlier tiles if any repeat with x = the number of images down to 1 put the short name of img x into adad if matchtext(the short name of img x, "r[0-9]+c[0-9]+") then delete img x end repeat Place that code bef...
by jiml
Fri Jul 27, 2018 6:33 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: download a lot of .png files
Replies: 9
Views: 402

Re: download a lot of .png files

Jean-Marc put "https://..." into tDistantFolder repeat with i = 1 to 3500 put line i of fld "fListImgDL" into tOneImg put tDistantFolder & "/" & tOneImg into tfileS set the filename of img "MyImage" to tfileS export snapshot from img "MyImage" to file tFileD as PNG wait 1 milliseconds end repeat You...
by jiml
Mon Jun 18, 2018 9:14 pm
Forum: Bug Triage
Topic: Play (audioClip) delay / hang
Replies: 8
Views: 1036

Re: Play (audioClip) delay / hang

You might also try using a player object with alwaysBuffer set to TRUE
by jiml
Mon Jun 18, 2018 9:07 pm
Forum: Bug Triage
Topic: Play (audioClip) delay / hang
Replies: 8
Views: 1036

Re: Play (audioClip) delay / hang

I wonder if it would help to silently play the sound clip prior to the animation starting with the sound volume set to zero.
Perhaps that might pre-load the sound and thus avoid the delay.
Just a thought.
by jiml
Fri Jun 15, 2018 12:28 am
Forum: Talking LiveCode
Topic: Truncating long words
Replies: 9
Views: 694

Re: Truncating long words

truncateToFit(stringToTruncate, nameOfDestinationField) is a function to determine where to truncate a string so that it fits into a destination field with ellipsis as needed. stringToTruncate = Any string or expression that evaluates to a string. nameOfDestinationField = the name of the destinatio...
by jiml
Wed Jun 13, 2018 8:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Generating Variables in a Repeat loop
Replies: 30
Views: 1876

Re: Generating Variables in a Repeat loop

Der-Schredder wrote:
Wed Jun 13, 2018 6:05 am
You are an awesome community,
Leo,

Indeed this is one of the best, most generous and helpful of communities.
Welcome aboard!

Jim Lambert
by jiml
Fri May 11, 2018 9:15 pm
Forum: Creating Games
Topic: Scrolling Backgrounds
Replies: 7
Views: 435

Re: Scrolling Backgrounds

I usually place two images side-by-side in a group whose width is smaller than the combined width of the images. Then I just set the hscroll of the group to simulate moving across the landscape. If the imagery at right edge of the right image matches up with the imagery of the left side of the left ...
by jiml
Tue Jan 09, 2018 5:36 pm
Forum: Off-Topic
Topic: Klaus is close to 8000 posts
Replies: 25
Views: 5425

Re: Klaus is close to 8000 posts

Klaus,

Danke vielmals!

Jim Lambert
by jiml
Sat Jan 06, 2018 6:15 pm
Forum: Rich Media
Topic: Fade up on a video clip
Replies: 5
Views: 653

Re: Fade up on a video clip

Another simpler approach to the fireplace effect. No movie at all. go stack url "http://netrin.on-rev.com/animateimage/fireplace_jim.livecode" fadeIn 3000 - fades in in roughly 3 seconds fadeOut 2000 - fades out in roughly 2 seconds restore - gets rid of the backdrop The fades could be triggered by ...
by jiml
Tue Dec 19, 2017 8:23 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: function returns string with quotes
Replies: 13
Views: 1056

Re: function returns string with quotes

In addition to NAME and NUMBER Livecode objects are also assigned an ID, which is yet another way to reference them.

Jim Lambert
by jiml
Tue Dec 19, 2017 6:42 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Custom URL scheme should be Custom URI scheme?
Replies: 12
Views: 621

Re: Custom URL scheme should be Custom URI scheme?

To bolster what Richard wrote earlier, here is an excerpt from Apple's App Programming Guide for iOS : Inter-App Communication Apps communicate only indirectly with other apps on a device. You can use AirDrop to share files and data with other apps. You can also define a custom URL scheme so that ap...

Go to advanced search