Why does this not work in Revlets
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 55
- Joined: Sat Sep 10, 2011 12:22 pm
Why does this not work in Revlets
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
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
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
"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
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 55
- Joined: Sat Sep 10, 2011 12:22 pm
Re: Why does this not work in Revlets
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.
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
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
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
-
- Posts: 55
- Joined: Sat Sep 10, 2011 12:22 pm
Re: Why does this not work in Revlets
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.
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
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
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
Hi HappyRever,
Kind regards
Bernd
did you try FireFox?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.
Kind regards
Bernd