Page 1 of 1

Why does this not work in Revlets

Posted: Thu Feb 23, 2012 10:58 am
by Happyrever
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

Re: Why does this not work in Revlets

Posted: Thu Feb 23, 2012 11:27 am
by Mark
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

Re: Why does this not work in Revlets

Posted: Fri Feb 24, 2012 8:36 pm
by Happyrever
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.

Re: Why does this not work in Revlets

Posted: Fri Feb 24, 2012 9:35 pm
by bn
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

Re: Why does this not work in Revlets

Posted: Sat Feb 25, 2012 1:25 pm
by 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.

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.

Re: Why does this not work in Revlets

Posted: Sat Feb 25, 2012 1:32 pm
by Klaus
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

Re: Why does this not work in Revlets

Posted: Sat Feb 25, 2012 1:50 pm
by bn
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