Search found 107 matches

by ClipArtGuy
Tue Jun 05, 2018 5:50 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: FTP alternatives for file management - CLOSED
Replies: 4
Views: 211

Re: FTP alternatives for file management

You can avoid using PHP altogether if you are able to use LC server on your server.

http://lessons.livecode.com/m/4070/l/40 ... ode-server
by ClipArtGuy
Sun May 20, 2018 1:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: What line is it?
Replies: 5
Views: 244

Re: What line is it?

Here's what I came up with. local tSearch ask "Number to find?" put it into tSearch set the itemdelimiter to space repeat with x = 1 to the number of lines in fld "Your Field" if (item 2 of line x of fld "Your Field" = tSearch) then answer (tSearch && "is in line" && x &"."&cr&"Item 1 of line"&&x&&"...
by ClipArtGuy
Tue May 15, 2018 8:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Decoding messageDigest data?
Replies: 4
Views: 269

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. I'm not 100%, but I'll give my two cents and bump the thread for visibility. I think if it's working for you already, then you're good to go - As long as your stack...
by ClipArtGuy
Fri May 11, 2018 9:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Decoding messageDigest data?
Replies: 4
Views: 269

Re: Decoding messageDigest data?

Exactly what I needed. Thanks Richard!
by ClipArtGuy
Fri May 11, 2018 9:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Decoding messageDigest data?
Replies: 4
Views: 269

Decoding messageDigest data?

I am trying to get a SHA-256 hash of some data using LCs messageDigest function. This code results in a jumble of weird characters: put textEncode("Data To Be Hashed", "UTF-8") into tOriginal put messageDigest(tOriginal, "SHA-256") Everywhere outside of LiveCode, the hash of "Data To Be Hashed" is "...
by ClipArtGuy
Wed May 09, 2018 10:49 pm
Forum: Windows
Topic: revCopyFile producing virus threat in WIN 10
Replies: 8
Views: 251

Re: revCopyFile producing virus threat in WIN 10

You should probably also check "the result" afterwards. If everything went smoothly, it will be empty. If not, It might give a clue as to what happened.
by ClipArtGuy
Wed May 09, 2018 8:22 pm
Forum: Windows
Topic: revCopyFile producing virus threat in WIN 10
Replies: 8
Views: 251

Re: revCopyFile producing virus threat in WIN 10

Just wondering what other commands may also trigger of an alert? It could be the UAC or smartscreen in Win 10. I turned all of that off on my Windows machine. I think you can replace your sample revcopy handler with this one liner: put URL ("file:"&specialFolderPath("documents")&"/app/Newfile.sqlit...
by ClipArtGuy
Wed May 09, 2018 7:02 pm
Forum: Windows
Topic: revCopyFile producing virus threat in WIN 10
Replies: 8
Views: 251

Re: revCopyFile producing virus threat in WIN 10

Can you use URLs to do this?

Code: Select all

get URL ("file:"& ThePathToFileToBeCopied)
put it into URL("file:" & specialfolderpath("documents") & WhereverYouWantItCopiedTo)
You might need to use "binfile:" instead of "file:"
by ClipArtGuy
Mon May 07, 2018 9:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: My Stupid code 1
Replies: 4
Views: 324

Re: My Stupid code 1

That would work, but it doesn't resize proportionally, which I think was part of what MaxV was looking for.. edit - I tweaked the script I originally posted, and it seems to work pretty well. I'm not sure about cycles, but this is working well here: local tProportionalWidth, tProportionalHeight, tRa...
by ClipArtGuy
Mon May 07, 2018 6:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: My Stupid code 1
Replies: 4
Views: 324

Re: My Stupid code 1

If the size of image "presentazione" is static, you could use something like this handler: command setAreaProportional pImageID, pWidth, pHeight local tProportionalWidth, tProportionalHeight, tRatio put (the formattedWidth of pImageID) / pWidth into tRatio put (the formattedHeight of pImageID) / tRa...
by ClipArtGuy
Sun May 06, 2018 5:35 pm
Forum: Linux
Topic: Livecode 9 menus look terrible in Ubuntu
Replies: 66
Views: 2074

Re: Livecode 9 menus look terrible in Ubuntu

The menus look just as bad on a fresh install of 16.04 (released in 2016) as they do in 18.04. It doesn't bother me too much, but it's definitely not new to 18.04
by ClipArtGuy
Sat Apr 28, 2018 12:20 am
Forum: Linux
Topic: Livecode 9 menus look terrible in Ubuntu
Replies: 66
Views: 2074

Re: Livecode 9 menus look terrible in Ubuntu

Same menus in 18.04...
18SS.jpg
by ClipArtGuy
Fri Apr 27, 2018 10:15 pm
Forum: Linux
Topic: Livecode 9 menus look terrible in Ubuntu
Replies: 66
Views: 2074

Re: Livecode 9 menus look terrible in Ubuntu

The IDE menus don't bother me too much, and I pretty much only use LC for personal in house automation tools with no menus. I was just pointing out that ugly menus aren't new to Ubuntu 18.04 (which I am in the process of upgrading to now.) I will definitely check out devolution once I am upgraded. 8)
by ClipArtGuy
Fri Apr 27, 2018 10:02 pm
Forum: Linux
Topic: Livecode 9 menus look terrible in Ubuntu
Replies: 66
Views: 2074

Re: Livecode 9 menus look terrible in Ubuntu

I'm not sure how I'd check that, "put the lookandfeel" in the message box just gives me "Appearance Manager". They did look better for me under 14.04 as well, but the Attached screenshot shows what they've looked like since upgrading to 16.04 quite a while back now
ss.jpg
...
by ClipArtGuy
Fri Apr 27, 2018 9:46 pm
Forum: Linux
Topic: Livecode 9 menus look terrible in Ubuntu
Replies: 66
Views: 2074

Re: Livecode 9 menus look terrible in Ubuntu

FWIW, they look exactly the same here in 16.04 as in OP's screenshot of 18.04

Go to advanced search