|
|||||||
| Register | FAQ | XDA-Portal | XDA-Wiki | Device database | Donate! | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#81
|
||||
|
||||
|
Quote:
|
| Sponsored Links |
|
#82
|
|||
|
|||
|
I used that mortscript with sucess with opera mini.
Unfortunatly it does not run well with that new opera mini beta 4.1 There seems to be something new in that beta. The copied link does not get pastet in the field for the url anymore. Does anyone know how to add the script, thanks! |
|
#83
|
||||
|
||||
|
I have this working with 4.1 beta and some modifications to the script (see below).In my case, it kept duplicating or echoing each character in the url string, like wwwwww..xxddaa-- ... etc. so I replaced the SendKeys(url) statement with a for next loop. (this trick was suggested by Menneisyys on post # 16 of this thread). It is kind of slow doing it now, so please let me know if there is an easier fix or setting. Thanks,
#Open Address Box SendLeftSoft#Clear default www. characters SendEnd#Input link ForEach char in charsOf %url%#Click OK SendLeftSoft
__________________
AT&T FUZE ROM:NRGZ28 Photon [Build 28014] RADIO:1.14.25.35 "If God is throwing dice, and Einstein doesn't mind the chance..." B. Dickinson Titanium System Panel Store emails (not just attachments) to SD Card Bluetooth File Transfer to SD Card (MS Default Stack) My OperaMini 4.1b Default Browser MortScript Full Screen Video Playback in WM6.1 Last edited by dgaud007; 3rd April 2008 at 07:42 PM.. Reason: credit where credit is due! |
|
#84
|
|||
|
|||
|
Quote:
Cool, will link to your post in my next article.
__________________
Microsoft MVP - Mobile Devices, 2006, 2007, 2008. Make sure you follow my PPC & SP Mag Expert blog HERE. |
|
#85
|
|||
|
|||
|
Quote:
__________________
Microsoft MVP - Mobile Devices, 2006, 2007, 2008. Make sure you follow my PPC & SP Mag Expert blog HERE. |
|
#86
|
|||
|
|||
|
UPDATE (04/04/2008): Now that Opera Mini 4.1 beta has been released (see THIS) with a, by default, slightly modified address input field, you’ll need a modified version available HERE.
Also, there’s a full native (C++), MortScript-free implementation of the invocation script HERE. It’s (still) not compatible with 4.1 unless you untick "Direct address input" in Settings.
__________________
Microsoft MVP - Mobile Devices, 2006, 2007, 2008. Make sure you follow my PPC & SP Mag Expert blog HERE. |
|
#87
|
|||
|
|||
|
If your device supports control-v, then this mort script works for me on 4.1 with direct address input still enabled. Pasting is certainly much faster than sending characters to the device one at a time. I mainly added the "if (direct_address_input = True)" parts to send extra keystrokes to get to the enter symbol option and clear out the existing address. Then the script can paste the url as before. If you use this script with 4.0, then just set direct_address_input = False and it work as before.
Only tested it briefly so it may not be perfect. Be sure to change the beginning variable values to suit your device. Update: using ctrl-home and ctrl-end to simulate ctrl-a, the script is slightly faster due to fewer steps. Code:
direct_address_input = True
jvm_string = "\Program Files\Jbed3DMod\jbed.exe"
applet_string = "-run s1_"
delay_if_jbed_running = 3000
delay_if_jbed_not_running = 8500
if (substr(url,1,1) eq " ")
url = substr(url,2)
EndIf
If ( Find( "file:///", ToLower(url) ) )
Run("\Windows\iexplore.exe", url)
Else
Call OpenOM
EndIf
Sub OpenOM
If (ProcExists("jbed.exe"))
Run(jvm_string, applet_string)
sleep(delay_if_jbed_running)
Else
Run(jvm_string, applet_string)
sleep(delay_if_jbed_not_running)
EndIf
SendLeftSoft
Sleep(100)
SendLeftSoft
Sleep(100)
if (direct_address_input = True)
sendup
Sleep(100)
sendup
Sleep(100)
sendcr
Sleep(100)
Endif
SetClipText(url)
SendHome("",1,0)
sleep(100)
SendEnd("",1,1)
sleep(100)
SendCtrlKey("V")
Sleep(100)
SendLeftSoft
sleep(100)
if (direct_address_input = True)
sendcr
endif
EndSub
Last edited by badbob001; 6th April 2008 at 06:04 AM.. |
|
#88
|
||||
|
||||
|
Hi everyone,
JZ SmartMort is a new Mort script pack of mine. It has some logic enhancements to ones in this thread, like a self installer/remover, also not having to deal with finding your java application ID for Opera, my script figures it out. It has clipboard history ability and many more features. Screenshot is attached. You can find more info HERE or HERE. Read below for a little more specific info. Thanks to this post I learned a lot and now contributing something worthwhile IMHO. The script pack is meant for SmartPhones and Pocket PC devices running Windows Mobile 5 and above with Mort's MortScript installed as the macro engine mapped to the Notes hardware button. Copy/Paste: This was the first task since SmartPhones don't have the function. Clipboard History: Added ability to select the last 10 items copied to the clipboard. Browsing: Opera Mini 4 & Opera Mini 2.00 Mod are free, some sites look and feel better using Opera, so I wanted to make it a system level browser with the option to revert to IE as needed. Also added support for the non-free version of Opera Mobile. IE Favorites: Ability to open Internet Explorer favorites under \Windows\Favorites where .url files are stored. Java: TAO Intent Java Midlet which came on my Cingular 3125 phone, is garbage in comparison to Jbed. Esmertec Jbed is about twice as fast and I highly recommend using it, so I added support for jbed.exe. Activation: JZ SmartMort comes with a self installer/remover. Once installed, script is activated by pressing the Voice Notes button.
__________________
Quote:
Last edited by JZ SmartMort; 14th April 2008 at 10:00 AM.. |
|
#89
|
|||
|
|||
|
Quote:
__________________
Microsoft MVP - Mobile Devices, 2006, 2007, 2008. Make sure you follow my PPC & SP Mag Expert blog HERE. Last edited by Menneisyys; 5th April 2008 at 12:04 PM.. |
|
#90
|
|||
|
|||
|
UPDATE (04/05/2008):
XDA-Devs user JZ SmartMort has released a very promising title making Opera Mini the system-level browser much simpler and offering a LOT of additional functionality. See his thread HERE. Note that he also posted a somewhat shorter post HERE (in THIS thread, should you also want to read the possible, future discussion of his app).
__________________
Microsoft MVP - Mobile Devices, 2006, 2007, 2008. Make sure you follow my PPC & SP Mag Expert blog HERE. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|