Why does this not work in Revlets

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Happyrever
Posts: 55
Joined: Sat Sep 10, 2011 12:22 pm

Why does this not work in Revlets

Post by Happyrever » Thu Feb 23, 2012 10:58 am

The file handling, save or recall will not work. The save code is below.
Everything works perfectly in windows.

local MyFileName
on mouseUp
-- bring up the system standard file selector to choose a file on disk
ask file "Please select a file:" with type "Daylight File|day"
-- if cancel is clicked, exit
--OTHER CODE HERE BUT DELETED BECAUSE NOT RELEVENT
close file MyFileName
end mouseUp

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Why does this not work in Revlets

Post by Mark » Thu Feb 23, 2012 11:27 am

Hi,

"Daylight file|day" isn't a type. Try "Daylight file|day|*" or "Daylight file|day|????" instead.

Which part exactly doesn't work? Do you see the wrong files in the window? Don't you see the window at all? Something else?

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Happyrever
Posts: 55
Joined: Sat Sep 10, 2011 12:22 pm

Re: Why does this not work in Revlets

Post by Happyrever » Fri Feb 24, 2012 8:36 pm

Thank you for your reply.
When the button is clicked, apart from the change in button shade, nothing else happens.
no dialog box, nothing. just like a button and no script.
The desktop version works fine in windows.
I have tried a number of stacks, even those written by others with basic file read and write, they don't work either.
I am using 5.02 but the earlier 4.64 offers no solution.

It was by chance that I saw some other user had been using revlets and he claimed no file problems, so I presumed it was a workable feature.
He failed to continue the offer of help.

I would appreciate help on this issue.

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4163
Joined: Sun Jan 07, 2007 9:12 pm

Re: Why does this not work in Revlets

Post by bn » Fri Feb 24, 2012 9:35 pm

Hi HappyRever,

maybe a dumb question: have you checked in the security settings file access? When you build the revlet just try to check everything there is in the Standalone Application Settings -> Web -> Security Settings. Not auto detect. It will put up the security warning of course.

Kind regards

Bernd

Happyrever
Posts: 55
Joined: Sat Sep 10, 2011 12:22 pm

Re: Why does this not work in Revlets

Post by Happyrever » Sat Feb 25, 2012 1:25 pm

It is not a dumb question, and it had crossed my mind that I had not been offered security related choices apart from the "Allow blocked content" think at the bottom of IE.

I deleted the plug in and went through the download and install from Rev and still nothing offered.
I loaded in the stack "open anything", then ticked all boxes except write to registry in the stand alone settings for revlet, saved the stack to ensure the settings were retained, produced a revlet for "Open Anything" and ran the TEST PAGE.
Well, it still does not work!
I have reached the opinion that it is pointless using this revelet thing because even if I could get it to work, I wonder how reliable it will be for my clients.
Any other ideas would still be welcome though.

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Why does this not work in Revlets

Post by Klaus » Sat Feb 25, 2012 1:32 pm

Hi Happyrever,

to be honest, I would neither use nor rely on weblets.

They do not run in Safari on the latest OS X for at least half a year
and have not been updated for almost a year now.

They are just not ready for primetime in the current state.


Best

Klaus

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4163
Joined: Sun Jan 07, 2007 9:12 pm

Re: Why does this not work in Revlets

Post by bn » Sat Feb 25, 2012 1:50 pm

Hi HappyRever,
It is not a dumb question, and it had crossed my mind that I had not been offered security related choices apart from the "Allow blocked content" think at the bottom of IE.
did you try FireFox?

Kind regards

Bernd

Post Reply