Search found 413 matches

by bwmilby
Sat Jul 21, 2018 11:21 pm
Forum: Games
Topic: Hexagons and stuff
Replies: 51
Views: 52664

Re: Hexagons and stuff

Probably something along the lines of creating a square mask image that only shows the hex tile area and then screen shot that area. Then as you move across the image you will capture the tiles you need and can set the margins as transparent. Just need to do the math to position the captures correct...
by bwmilby
Sat Jul 21, 2018 10:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to sort out this
Replies: 50
Views: 26785

Re: How to sort out this

I'm not sure that produces the desired result. This does though: on mouseUp local tList, tKey, tKeys, tStart set the itemDel to "@" put the millisecs into tStart repeat with i=1 to 10000 put the text of field "Source" into tList -- look at each line in the original data repeat for each line tLine in...
by bwmilby
Thu Jul 19, 2018 11:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to sort out this
Replies: 50
Views: 26785

Re: How to sort out this

Okay... I didn't realize there would be more than one key duplicated. Here is revised code. You have to do 2 passes. The first looks for the duplicates, the second removes them. ########CODE to copy and paste with your mouse####### on mouseUp 20 local tList, tKey, tKeys, tDupes 20 set the itemDel to...
by bwmilby
Sun Jul 15, 2018 1:20 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: About LiveCode
Replies: 15
Views: 9405

Re: About LiveCode

If your biggest concern is the speed of editing scripts in the IDE, you could use something like ScriptTracker to export the scripts and edit them in something like Atom (which provides Linting).

https://github.com/bwmilby/lc-misc/tree ... iptTracker
by bwmilby
Wed Jul 04, 2018 1:32 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: A compile problem
Replies: 11
Views: 6631

Re: A compile problem

Or even lock messages when closing the stacks and then unlock when re-opening so that the behaviors get established properly...
by bwmilby
Sat Jun 23, 2018 11:18 pm
Forum: Version Control
Topic: ANN: Script Tracker
Replies: 13
Views: 32244

Re: ANN: Script Tracker

Are you talking about the consolidated diff? That is still in there but only is generated based on differences between successive exports.
by bwmilby
Mon Jun 11, 2018 1:24 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: UrlEncode and ArrayEncode
Replies: 19
Views: 11357

Re: UrlEncode and ArrayEncode

I just tested the code in 8.1.9 and 9.0 and always got "true" (all 3 on the first one, 2 on the second one)

Code: Select all

put "Bg0AAAABAAN1bm8GAAVhc2lubw==" into TheData -- first one
put "asino" into TheData["uno"]                 -- second one
I tested on Win10.
by bwmilby
Sat Jun 02, 2018 7:14 pm
Forum: Version Control
Topic: ANN: Script Tracker
Replies: 13
Views: 32244

Re: ANN: Script Tracker

Is there a way to grandfather in an older version so I can compare it to the newer one? There isn't a built in easy way to do a compare like you are asking, but working on copies it would not be very difficult to do. If you just need a one-time diff between the code it two stack versions, it will b...
by bwmilby
Thu May 31, 2018 5:45 am
Forum: Version Control
Topic: ANN: Script Tracker
Replies: 13
Views: 32244

Re: ANN: Script Tracker

Thanks very much @jacque and @bogs!

I just posted an update that uses textEncode/textDecode to ensure scripts are saved in UTF-8.
I also modified the script menu so that the alt key can be used to include IDE stacks (still hides mode 0 stacks which should keep the script only stacks off the list).
by bwmilby
Sun May 27, 2018 4:45 am
Forum: Version Control
Topic: ANN: Script Tracker
Replies: 13
Views: 32244

ANN: Script Tracker

Script Tracker https://github.com/bwmilby/lc-misc/tree/master/ScriptTracker Also available on RevOnline scripttracker.png The goal of this tool is to expose the scripts of a binary stack in a fashion that allows them to be tracked via a version control system like GitHub. The repo linked above cont...
by bwmilby
Fri May 11, 2018 11:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: User Interface Question
Replies: 24
Views: 14666

Re: User Interface Question

It is not a bug. Per the dictionary: “Use the popup keyword to create a popup menu that appears under the mouse pointer.” So you either need to have the click occur where you want the menu or use a different type. I started experimenting with a combo box but couldn’t get it working all the way right...
by bwmilby
Fri May 11, 2018 10:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Decoding messageDigest data?
Replies: 4
Views: 3289

Re: Decoding messageDigest data?

Follow on question: if storing the hash in a custom property, is there any need to store it decoded? Code works with binary just fine.
by bwmilby
Tue May 08, 2018 12:47 am
Forum: Android Deployment
Topic: Deleteing Multible Lines Of A URL (File)
Replies: 6
Views: 4313

Re: Deleteing Multible Lines Of A URL (File)

If you are on a Mac, you may get unintended effects using file. LC still thinks we are using legacy Macs with CR line endings. I write everything using binfile to avoid that issue. Using file will leave you with CR line endings. Using binfile will leave you with LF line endings.
by bwmilby
Tue May 01, 2018 6:07 am
Forum: Talking LiveCode
Topic: Open a LC document using a standalone
Replies: 62
Views: 41258

Re: Open a LC document using a standalone

Compress the stack as a zip file to attach.
by bwmilby
Tue May 01, 2018 4:06 am
Forum: LiveCode Builder
Topic: Help how to make such widget
Replies: 6
Views: 6608

Re: Help how to make such widget

I still don’t get the desire to use a LCB widget. I’m not even sure it is possible to easily make a DB connection from there. What you are describing sounds much more like a LCS library. If you need UI, then a stack. If not, then a script only stack would work. In either case, I suggest that you bui...

Go to advanced search