Dear Prism...

User 474778 Photo


Registered User
215 posts

Prism wrote:
I am too far away to send to but I now use the editor as a php IDE as well. I gave away PHP designer and Codelobster and only use the editor to add php to my pages when necessary.
Coffee's(The Editor) ability of snippets and 8 application launcher is fantastic. A couple more abilities would put the icing on the cake. Still, it supplies the bones a few utilities gives it wings.

I did add a utility to my storage area, anyone is welcome to have it here.
http://inkmon.coffeecup.com/storage/OpenLocal.zip. I would comment too but will not join any more groups forums etc.

If anyone else wants to give the mighty Coffee additional abilities just ask an I will explain how I use it in conjunction with Wamp


Usage of Open Local:-
extract to any folder, Edit page.txt add your localhost url ie http://localhost/yourpage to top line
add Wamp or Xamp as an application to run
add OpenLocal
Run Wampmanager or Xampmanager then Openlocal your page will open go between that and the editor to view changes as you make them as if you were editing online
This then gives you the opportunity to test forms produced by the mighty WFB and use the database or csv files before going live.

Yeah! CC supplies the bones we supply the meat


Dear Prism,

It seems that OpenLocal is hard-wired for a particular path. Attempt to run it on Win XP-Pro 64-bit with XAMPP results in:

Exception: EFOpenError in module OpenLocal.exe at 0000E691. Cannot open file c:\Wamp\www\page.txt

As a workaround, I created the necessary folders (c:\ => Wamp\ => www\) to satisfy that path and then placed page.txt there. OpenLocal now works properly. So thank you!

Hmmm... OpenLocal is a 170KB Windows .exe. I will look into reducing that footprint.
halfnium -AT- alum.mit.edu
Yes, I looked just like that in 1962.
User 464893 Photo


Ambassador
1,611 posts

As a workaround, I created the necessary folders (c:\ => Wamp\ => www\) to satisfy that path and then placed page.txt there. OpenLocal now works properly. So thank you!


You are right I hard coded the location of page.txt as you see from the source. I may add a browse to a location folder and store that address.

So to all that tried it, My bad if you use Wamp put both files in the www folder. If you use Xamp I will modify the exe for you.

$TYPECHECK ON
$INCLUDE <RapidQ2.inc>
'This program just starts Localhost
'It gets its command from page.text

Dim $command as String
Dim file as Qfilestream
file.Open("c:\Wamp\www\page.txt",fmOpenRead) << Ha! I see the problem, I should have a browse to a location This needs a mod or the two files placed here in the www folder
$command=file.Readline <<<Gets URL here
file.Close
ShellExecute(0 , "open" , $command , "" , "" , 1)
Sleep 1
End


Hmm! the mighty Prism is human after all. I created the utility some time ago and did not add folder choice. Sorry about that. But if I get sufficient requests I will update it. probably push the exe size up to 250kb


The Guy from OZ


User 2073552 Photo


Registered User
1,625 posts

Please keep conversations of a different topic in a new thread. I have moved these posts so that there is no confusion for Suzanne or other CC members.
"An Apple doth not fall far from its tree, yet an orange does."

https://lbwebsitedesign.com - Responsive Web Design & Web Hosting Services.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.
User 474778 Photo


Registered User
215 posts

That's fine. I don't think she is so easily confused, however.
halfnium -AT- alum.mit.edu
Yes, I looked just like that in 1962.
User 2073552 Photo


Registered User
1,625 posts

Halfnium wrote:
That's fine. I don't think she is so easily confused, however.


No, but other CC members are.
"An Apple doth not fall far from its tree, yet an orange does."

https://lbwebsitedesign.com - Responsive Web Design & Web Hosting Services.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.