Run script in HTML editor in WebView WP8.1
I am developing an app in which I need to give HTML editing facility to the user. So I tried different HTML editors but finally TinyMCE was able to show controls for editing. But I am not able to set the contents of Editor. It gives Exception Exception
from HRESULT: 0x80020101. And I tried all different solutions but could not figure it out. Here is link to my project
string tinyMice = "<script type='text/javascript'> function myfun() {tinymce.execCommand('mceInsertContent', false, getQueryStrings());}myfun()</script>";
await System.Threading.Tasks.Task.Delay(TimeSpan.FromSeconds(1));
await webview_demo.InvokeScriptAsync("eval", new string[] { tinyMice });
Can somebody help?
hey,
I am not sure what you exactly want to do but I took a look at the project you uploaded.
First of all, you better use the NavigationCompleted or
FrameNavigationCompleted event for executing onload functions.
I have no idea about the tinymce js plugin but here is what I did to create a similar scenario.
1) First, create a js function in the removeformat.html to return a string (replacing your getQueryStrings functions)
function returnMessageValue() {
return "Hello JS World";
2) then create a script notify event handler and wire it up to the page so we can get alerts from the html page loaded.
In NavigationCompleted event:
string result = await this.webview_demo.InvokeScriptAsync("eval", new string[] { "window.alert = function (AlertMessage) {window.external.notify(AlertMessage)}" });
this will notify the webview about window.alert's. So we subscribe to the Script notify event:
webview_demo.ScriptNotify += (sender, args) =>
MessageDialog m = new MessageDialog(args.Value);
m.ShowAsync();
and finally the code execution for our function:
await webview_demo.InvokeScriptAsync("eval", new[] { "window.alert(returnMessageValue())" });
// await webview_demo.InvokeScriptAsync("eval",
// new[] { "tinymce.execCommand(\"mceInsertContent\", false, getQueryStrings())" });
result:
hope it helps
Can Bilgin
Blog
Samples CompuSight
Similar Messages
-
#Include or run script from HTML panel button?
I'v been trying to make a panel with the HTML widget and I keep running into issues. The buttons I made wont run the scripts. Is there a way to include js for PS inside the html to run when the button is pressed? <script></script> doesn't seem to work for things inside of PS. Or is there a way to run a script in PS from a button?
I guess I have multiple questions really. Do you always have to use _AdobeInvokeScript inside the button? I have seen some examples without it and I'm not sure what works and what doesn't.Thank you Paul!
%20 is just how space characters are encoded and doesn't matter
Ye, I know this,.. it`s was my just suggestion...
So. The solution in this string:
var scriptFile = File(File($.fileName).parent.parent.absoluteURI + "/Change Render Locations.jsx")
Everything else is identical, in my script and in your. Of course except alerts. I remove them, and now i have just my button which works fine....
And may be you can suggest, why does not work "my" method of running the script?
Thanks again! -
Running Unix commands and scripts from HTML-DB
Hi,
How can I run scripts (like perl scripts) that I have on the UNIX machine that the HTML_DB is installed on.
How for a start can I run even simple UNIX command like "ls" ?
Thanx,
AlonAlon,
Best to try the database forum and search for "external process" or "extproc" for this - it needs setup for the listener and in the database itself.
You need to be aware - all your commands will be run as the oracle user so you should be very careful who can run them and what commands they can run.
Greg -
Who can help me with replacing the standard HTML editor in WPC?
Hi all,
We have chosen to replace the standard HTML Editor in the Web Page Composer by the TinyMCE Editor. I have worked my way through the document written by Boris Magocsi (https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f04b5c5d-3fd2-2a10-8ab0-8fa90e3ac162) and the TinyMCE Editor is diplayed when we add or edit a paragraph.
However, we can not type any text in the input field anymore and we can not click any of the buttons in the TinyMCE editor. Can anybody help a total Javascript newby with fixing this? Full points will be awarded obviuosly. Thanks in advance!
Best regards,
Jan
Note: We are on NW 7.0 SP 15 and the WPC component is not patched yet. We are trying to complete that today and patch it to patch level 1.Snippet from the default trace:
#1.#005056A13EB000880001D90400005EBC000452C3D2595400#1216900908012#com.sap.engine.services.connector.resource.impl.MCEventHandl
er#sap.com/irj#com.sap.engine.services.connector.resource.impl.MCEventHandler#JALAROS#631##192.168.17.45_POD_3367950#JALAROS#ef
efb1f0597211ddc652005056a13eb0#SAPEngine_Application_Thread[impl:3]_25##0#0#Debug##Java###>>> com.sap.engine.services.connector
.resource.impl.MCEventHandler15c015c --> 5(locTrSupp:false).cleanup({0}), shared: {1}, destroyed {2}, invoked from: {3}#4#tru
e#false#false#java.lang.Exception
at java.lang.Throwable.<init>(Throwable.java:58)
at com.sap.engine.services.connector.Log.getStackTrace(Log.java:61)
at com.sap.engine.services.connector.resource.impl.MCEventHandler.cleanup(MCEventHandler.java:267)
at com.sap.engine.services.connector.resource.impl.MCEventHandler.connectionClosed(MCEventHandler.java:524)
at com.sap.engine.services.dbpool.spi.LocalTXManagedConnectionImpl.removeConnectionHandle(LocalTXManagedConnectionImpl.
java:322)
at com.sap.engine.services.dbpool.cci.ConnectionHandle.close(ConnectionHandle.java:278)
at com.sap.netweaver.config.store.CommonJDBCConfigPersistence.getProperty(CommonJDBCConfigPersistence.java:1120)
at com.sap.netweaver.config.store.ConfigNode.getProperty(ConfigNode.java:61)
at com.sap.netweaver.portal.prt.config.cmsource.CMStoreSource.getInternalTimestamp(CMStoreSource.java:1111)
at com.sap.netweaver.portal.prt.config.cmsource.CMStoreSource.shouldRefresh(CMStoreSource.java:997)
at com.sap.netweaver.portal.prt.config.cmsource.CMStoreSource.refreshObjects(CMStoreSource.java:1187)
at com.sap.netweaver.portal.prt.config.cmsource.CMStoreSource.getTimeStamp(CMStoreSource.java:1331)
at com.sapportals.config.fwk.meta.ConfigurableSourceSynchronizer.synchronizeListeners(ConfigurableSourceSynchronizer.ja
va:124)
at com.sapportals.config.fwk.data.ConfigPlugin.synchronizeConfigurablesCache(ConfigPlugin.java:1216)
at com.sapportals.config.fwk.data.ConfigPlugin.getConfigurables(ConfigPlugin.java:362)
at com.sap.nw.wpc.km.service.editor.EditorService.getStringConfig(EditorService.java:1119)
at com.sap.nw.wpc.km.service.editor.EditorService.getImageLayoutSet(EditorService.java:1096)
at com.sap.nw.wpc.km.service.editor.component.ImageSelectComponent.getCompoundComponent(ImageSelectComponent.java:213)
at com.sap.nw.wpc.km.service.editor.component.ImageSelectComponent.initializeFromPageContext(ImageSelectComponent.java:
135)
at com.sap.nw.wpc.km.service.editor.component.EditorComponentFactory.getComponent(EditorComponentFactory.java:69)
at com.sap.nw.wpc.km.service.editor.document.AbstractEditorObject.getComponent(AbstractEditorObject.java:162)
at pagelet.editor._sapportalsjsp_editor.subDoContent(_sapportalsjsp_editor.java:1045)
at pagelet.editor._sapportalsjsp_editor.doContent(_sapportalsjsp_editor.java:58)
at pagelet.editor._sapportalsjsp_editor.service(_sapportalsjsp_editor.java:38)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:360)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
at com.sap.nw.wpc.editor.EditorTool.doContent(EditorTool.java:54)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
at java.security.AccessController.doPrivileged(AccessController.java:231)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionM
essageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:207)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
#1.#005056A13EB000880001D90500005EBC000452C3D25AFC5C#1216900908121#com.sap.engine.services.connector.resource.impl.HandleWrappe
r#sap.com/irj#com.sap.engine.services.connector.resource.impl.HandleWrapper#JALAROS#631##192.168.17.45_POD_3367950#JALAROS#efef
b1f0597211ddc652005056a13eb0#SAPEngine_Application_Thread[impl:3]_25##0#0#Debug##Plain###>>> com.sap.engine.services.connector.
jca.ConnectionManagerImpl3fa63fa6.allocateConnection(mcf: com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpla986
92e1, reqInfo: null)# -
How can I use javascript in a Text Area with HTML editor??
My question is... how can I use javascript in Text Area with HTML editor??
I can use javascript functions that change the content of Text Areas but i can´t if i try in text area with html editor....
I need to limit number of characters in a text area with html editor and i can´t.
could anybody help me please?I have been experiencing similar problems with the HTML Editor and have managed to find an answer that should start to answer some of my questions. The Apex HTML Editor Standard is actually an HTML editor called FCKeditor. The FCKeditor has a Javascript API that can be found at http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/JavaScript_API. Unfortuately this doesn't seem to give the whole answer and I found more at http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:49607.
I needed to get the text entered within my html editor standard (e.g. P1_MYTEXT) and use it within my javascript function. I did this by using the following script
<script language="JavaScript" type="text/javascript">
function showtext(){
var oEditor = FCKeditorAPI.GetInstance('P1_MYTEXT');
var editortext = escape(oEditor.GetXHTML(oEditor.FormatOutput));
alert(editortext);
</script>
Hope this helps.
Matthew -
Can't get FCKeditorAPI to load to validate HTML Editor contents
I have an HTML Editor item on my page and wanted to quickly check the length of the text in the editor before submitting the page. It should be possible to get the contents of the HTML Editor using the FCKeditorAPI, but I can't get it to load. I'm doing this by putting basically this in the HTML header:
<script type="text/javascript">
function checkLength() {
var oEditor = FCKeditorAPI.GetInstance('MY_EDITOR');
alert(oEditor.GetXHTML.length);
</script>
Then calling the function when the Save button is clicked. I'm only geting "FCKeditorAPI is not defined" errors, however.Hi,
I have the same problem, because I want to check the number of characters in the editor field before the values are stored.
And when I tried to get the value of the fckeditor field with document.getElementById(XXX).value; I don`t get the actual value.
So I have to get the value through the instance of the fckeditor.
Thanks for your help,
Tim -
Iweb page modified with a simple html editor , now not display navigation menu
Hello i've designed a site http://www.ballettgastini.ch with Iweb and was working till i've the needs to update a simple text in one page and get it via ftp from the server, modified with a simple html editor !!!!, and update via ftp on the server. now the page do not diplay the navigation menu bar !!!! the page is here : http://www.ballettgastini.ch/stundenplan.html ... any suggesion ? i'm working now with a new imac with no possibility to modify the entire web site on the server...but the need it's really to change few text lines so i think to use a simple html editor... any ideas ? thanks luca giay turin italy
Why not continue in the topic you started earlier?
https://discussions.apple.com/message/21158910#21158910
Anyway, the scripts folder with essential files is missing :
http://www.lakesweddingmusic.com/Scripts/iWebImage.js
+ more
And this is missing too :
http://www.lakesweddingmusic.com/feed.xml
No feed, no menu.
And we keep finding more webpage. This one is made with iWeb 1
http://www.lakesweddingmusic.com/The_Barn.html -
Hi all,
I would be interested in hearing of any external HTML editors
that RH users like using with RH instead of its internal editor.
Somebody please suggest a free (or almost free) HTML editor
that features lots of features, eg, hiliting, split Design/HTML
windows, clean XHTML code and checker.
Wasn't there once some browser called Mozila? Or was it
called Netscape?
Tia
- avi>> RH MVPS? Adobe Community Expert is the term. There's
no such term as RH MVPS.
Right, now they are called Adobe Community Experts.
>> As soon as you open the topic in RH's editor it is
going to rewrite the code.
You know what, I don't care if RH rewrites the code, just as
long as RH leaves the result appearance looking nice, i.e., it
doesn't smash up the appearance .
>> Go back to your original post here. What is it that
is missing in the RH editor? It will not be the cleaner code. RH7
cleaned up a lot and I expect more from RH8. But until then RH will
rewrite the code so I cannot see the benefit.
It's been a while now before I gave up in disgust, and went
to writing in Word. But I had expected to be able to work in WSYWYG
like in MEW or Word, with powerful style management. I expected
there to be an easy access Styles side pane. There is not. The
numbered lists were not reliable; they restarted when they were not
supposed to. Both numbered and bulleted lists get confused about
their indentation. It's lucky that I once taught myself MEW with
HTML/CSS , so after a short refresher I could go into the HTML view
and clean up all the code and make the lists the way they are
supposed to be. But since I am at a new client and only working
there at 100 hr/month, I had to show some real content output, and
fast, and so I had no more time for RH trial and error. So I went
back to Word (-- 2007, which I also did not know, but since I am
(supposed to be) a Word 2003 guru I knew what I was looking for and
that all the features are supposed to exist -- ) and wrote my first
drafts with that.
Actually, I am so shocked at RH's bad WSYWGY editor, if I had
any choice I would recommend to my client to look for something
better (if such a thing exists -- dare I mention Flare...), but
since RH is an important TW skill, I want to add it to my skills
list. So if my client has recommended using RH, this is a good
opportunity to learn RH on their account.
I have a feeling that I am eventually going to make a full
circle, i.e., either I won't find cheap/free HTML editor taht does
want I want, or even if I do, I will eventually run into the
problems you mention, and I will end up writing in raw HTML, just
as you say.
Actually, on 2nd thoughts, I also have to be honest with my
client, and I don't think they would be happy to hear that a guy
who takes over from me at some point, or is hired in addition to
me, would have to write HTML/CSS. They would want to hear that
there is some type of WSYWYG solution for RH, either internal or
external.
Tnx,
- avi -
Aperture appears to have the facility to run scripts during the import stage (it's called 'Action' in the import pop up menu), but I'm having problems with it.
I have successfully run the script below, and have exported the subsequent metadata to the master, which is my aim.
But I cannot get the script run via this 'Actions' facility during import, even importing into a second library after the 'Object Name' field (called 'Title' by Aperture) has been created in the file and contains a 'space'.
Can anyone show me what I am doing wrong?
I found the script at: How can I set the Object Name to the file name on import?
The post reads:
AppleScript to the rescue!
1. Copy the following text into Script Editor:
tell application "Aperture"
set selectedImages to the selection
set tName to name of item 1 of selectedImages
repeat with i from 1 to number of items in selectedImages
set this_item to item i of selectedImages
set tName to name of this_item
set value of IPTC tag "ObjectName" of this_item to tName
end repeat
end tell
2. Save the script in a sensible place, such as ~/Library/Scripts/Aperture Scripts so that it will turn up in the Script Menu (if it's enabled).
3. Select a bunch of images in Aperture.
4. IMPORTANT! You must use Batch Change to put a value into the Object Name tag (such as " "), until you do so the tag doesn't exist for those images and therefore cannot be altered.
5. Run the AppleScript, it should loop through all the selected versions and put the version name into the Object Name tag.
Note - the Master File Name isn't accessible via AppleScript, only the Version Name.
Ian
P.S. As with all such scripts, test it on a small number of 'spare' versions before doing anything drastic...
Help!I haven't. Have you tried making a droplet to run at the end of the LR export?
-
Adobe Configurator - how to invoke action or script from html widget?
How to invoke action or script from html wiget in Adobe Configurator?
Please help! I tried to make it about 5 hours!
I need something like that:
I click link or image
...and it runs action.
Thanks!If you click on the question mark ( as shown below) on the right of Configurator 2 window
the user guide installed on your computer within Configurator 2 will open
Anyway once you have your action or script button in your panel you must select it and configure it in the inspector palette -
HTML Editor Minimal sporadically appearing
Hi,
Perhaps an easy problem to fix: I have three separate CLOB fields in one table and my Apex
form has three "HTML Editor Minimal" textareas for each respective field.
When I run the page, the position where the rectangular box ought to be (including the fancy style
buttons such as Bold, Italic and so forth) sometimes don't appear.
On other ocassions, these shapes appear on the screen but about five or ten seconds behind the
rest of the page.
I've tried waggling the mouse, clicking in the missing gaps, scrolling the screen but to no avail.
Other times, the right minimal editors appear fine and quite quickly. Problems seem to occur both
on Internet Explorer (v8) and Firefox (v3.6).
Any known "funnies" with such editors? Any known gotchas?
Thanks in advance
Mungoany ideas are appreciated.
thanks,
Surya -
Run script action - ZCM edits my script's content
Good day,
I am implementing a script in a bundle that allows me to generate files on the fly and execute them. Upon saving my "run script" action, ZENworks takes on himself to parse and edit my script, I am not sure why.
A part of my script generates a .hta file, an html application, that is used as a temporary splash screen. For some reason (line 85) my event name (Windows_onLoad()) is renamed by ZENworks like this :
oFile.WriteLine " Sub Window_onload()"
becomes
oFile.WriteLine " Sub Window_<body <body <body <body <body onload()"
Does that ring a bell for anyone?
I have other means of doing what I want but I wanted to bring this specific issue to you. Let me know what you think.
Thank you!
Action parameters :
Code:
Script to run : 'Define oyur own script'
Script content : *copy of the script found below*
Script file extention : .vbs
Path to script Engine : C:\Windows\system32\wscript.exe
Executable security level : Run as dynamic administrator
Requirements : Registry Key and Value exists
\HKEY_LOCAL_MACHINE\SOFTWARE\Lafleche\ZenworksAssignedObjets - Inst-Coba-x64 - NO
ZENworks Agent : 11.2.2.121992 & 11.2.3.18535
ZENworks version : 11.2.3.0
Code:
set oFSO = CreateObject("Scripting.FileSystemObject")
set oShell = CreateObject("WScript.Shell")
strFileName1 = Replace(oFSO.GetTempName,".tmp",".reg")
strFileName2 = oFSO.GetTempName
strFileName3 = Replace(oFSO.GetTempName,".tmp",".hta")
set oFile = oFSO.CreateTextFile(strFileName3)
oFile.WriteLine "<!DOCTYPE html>"
oFile.WriteLine "<html>"
oFile.WriteLine " <head>"
oFile.WriteLine " <title>Title</title>"
oFile.WriteLine " <HTA:APPLICATION Caption=""yes"" SysMenu=""yes"" />"
oFile.WriteLine " <script language=""VBScript"">"
oFile.WriteLine ""
oFile.WriteLine " Sub Window_onload()"
oFile.WriteLine " "
oFile.WriteLine " window.resizeTo 500,250"
oFile.WriteLine " "
oFile.WriteLine " strComputer = ""."""
oFile.WriteLine " Set objWMIService = GetObject(""winmgmts:\\"" & strComputer & ""\root\cimv2"")"
oFile.WriteLine " Set colItems = objWMIService.ExecQuery(""Select * From Win32_DesktopMonitor"")"
oFile.WriteLine " "
oFile.WriteLine " For Each objItem in colItems "
oFile.WriteLine " intHorizontal = objItem.ScreenWidth"
oFile.WriteLine " intVertical = objItem.ScreenHeight "
oFile.WriteLine " Next"
oFile.WriteLine " "
oFile.WriteLine " intLeft = (intHorizontal - 500) / 2"
oFile.WriteLine " intTop = (intVertical - 250) / 2"
oFile.WriteLine " window.moveTo intLeft, intTop "
oFile.WriteLine " idTimer = window.setTimeout(""PausedSection"", 8000, ""VBScript"")"
oFile.WriteLine " "
oFile.WriteLine " End Sub"
oFile.WriteLine " "
oFile.WriteLine " Sub PausedSection"
oFile.WriteLine " window.close"
oFile.WriteLine " End Sub"
oFile.WriteLine ""
oFile.WriteLine " </script>"
oFile.WriteLine " </head>"
oFile.WriteLine " <body>"
oFile.WriteLine " "
oFile.WriteLine " <img src=""http://www.domain.com/logo.png"" alt="""" />"
oFile.WriteLine " "
oFile.WriteLine " <p>Installation underway...</p>"
oFile.WriteLine " "
oFile.WriteLine " </body>"
oFile.WriteLine "</html>"
oFile.Close
oShell.Run strFileName3, 0, true
'oFSO.DeleteFile strFileName3Hi All, we now have the same issue. running 11.2.4 MU1 tested on IE8 on XP, IE9 on Win7 and ff 17esr, and suse 12.3 with chrome 31... want us to try ie 10 and 11? currently updating to ff 24 esr, and will update IE to 10 for now.
Currently we have the exe defined as "c:\windows\system32\mshta.exe", .hta extension.
Trying to validate the syntax externally, if anyone has any suggestions. Encrypted within the script the app runs fine.
issue is the <body being added, up to several times:
"Sub Window_<body <body <body onload
Window.ResizeTo 590,560
Continue
End Sub" -
HTML editor with syntax highlighting and UTF-8 support
In an ongoing effort to move our lives into the cloud and into our pockets (and as a part of an article series for a tech blog), me and a friend are trying to completely replace the need for computers with our iPhones.
In some ways, it is going splendidly (Documents to Go Premium + foldable bluetooth keyboard = all my writing needs as a journalist solved). In others, concessions have to be made (as a practicing musician, my options are a bit limited, but with the help of Xewton Music Studio, Multitrack DAW/NanoStudio, etc, I can at least lay down some basic tracks, create basic MIDI compositions, etc).
However, there is one area in where we’ve made no headway at all. My friend has the great misfortune of being blessed with logic , and therefore, unlike me, does honest programming and web app designing work. And as far as we know, there is not a single HTML/script editor with more than just the bare, basic functions in the app store.
What we need is this:
* Syntax highlighting
* Support for UTF-8
A built-in FTP editor would be a nice bonus, but is not essential.
We found one for the iPad, but when we contacted the company behind the app, they revealed no immediate plans for an iPhone version. (They felt coding on the iPhone was, at best, impractical, but they did concede the fact that if there are indeed users who have that need, the existence of an iOS HTML editor would be justified, and possible lucrative, regardless of their feelings on the matter. On that ground, they promised to examine the possibilities to port their iPad app in the future, but so far, no signs.)
Does anyone know of such an app? Rest assured your assistance will be mentioned in the article series should you point us in the right directionUnfortunately, my friend has offered his iPhone an ultimatum. No syntax highlighting, no computer replacement. It is strange that such as standardized feature has not found its way into any known HTML editor for iOS.
But FTPOntheGo seems to be a great app in general, so thanks! -
'Run Project' opens HTML in BBEdit
I downloaded and installed the Catalyst Beta to a Mac running 10.5.7
Working along with the first lynda.com tutorial, and "Run Project" kicks off BBEdit and opens an html doc which seems to exist in FlashCatalyst/workspace/Untitled_1/bin-debug/Main.html
BBEdit is my preferred editing package.Can't get the "Project" to "Run"
I have no problem with Flash CS4, and believe I'm current with all playerscan you temporarily set .html files to open by default in your browseer of choice rahter than an HTML editor? does this fix the problem for you?
http://www.ehow.com/how_4493225_change-default-programs-mac-os.html
there is also a preference pane app for that function, too...
http://creativetechs.com/tipsblog/set-default-applications-in-mac-os-x/ -
Html Editor in ADF Applications
Hi people,
We have used RichText editor for our application. But our customer isn't satisfied with the editor. They have been asking us to import Office into our web application :) So we are searching for a better editor. We have found some, but they want to run under a index.jspx page. But we want our editor to run under a task flow (under the tag <af:region> )
Is there anyone who have used a better editor in their ADF application, can someone help us with our problem?
Thanks.Yannick, you will always be my hero and saviour, but not this time :)
I really need to take the documents from the web page, what we are aiming for is to cut the dependency of the users from Word applications, just enter some info from the page, store those info in UCM metadata, see the document right in the page, make some changes, and then submit the doc., then start a BPEL process, the approver can see the document in the Task Form, approve it, and the story goes on like that. If we are dependent on some Office application, the usabilility of our product would be poor.
What I need is some complicated HTML editor in my application.
Maybe you are looking for
-
ProBook 4440S brand new malfunctio​ning
I just got a brand new HP ProBook 4440S. As soon as I turned it on I went to the McAfee website to install antivirus. I noticed it was very sluggish - i.e. it took 5-10 minutes for the buttons to light up so I could click and then took another severa
-
Dont read this if you dont want to make money
MAKE LOTS OF MONEY QUICKLY, GUARANTEED 100%, NO SCAM! Turn 6.00 into 42,000! This is true!!.... Read this carefully to find out how!!.... READING THIS WILL CHANGE YOUR LIFE! I found this on a bulletin board and decided to try it. A little while back,
-
IPod Classic music artwork Displayed on TV????
Is there a way to display my iPod Classic music artwork to my TV like my Zune does?
-
Positive Value only Display or Edit Pattern
Hello, could someone please explain how I can prevent a negative result in a calculation field? i.e., a result less than zero. In other words, how can I ensure that users only enter positive values in a numeric field, and that the subsequent simple "
-
Why doesn't FF 16.0.2 display Yahoo! Finance Interactive Charts?
I've just installed the latest upgrade (Firefox 16.0.2) and it still won't load the Yahoo! Finance interactive charts. It works in Chrome, so it's not my Java installation. Any idea when this will be repaired?