that is, first, check whether SendKeys(url) works. it it doesn't, let me know and I code the char-by-char procedure
Sorry for the delay.. been pretty busy the last few days with Christmas and all.
I played for awhile try to script something up... no luck. I went to the trouble of trying to write and read from a txt file just to see if the url string gets stored to memory. The url is definately going into memory as the url will write to the file. Getting out is an other story. The SendKey(url) doesn't seem to work. I would really apprecaite your help in coding up a char-by-char procedure. Thanks a lot for your assitance.
Sorry for the delay.. been pretty busy the last few days with Christmas and all.
I played for awhile try to script something up... no luck. I went to the trouble of trying to write and read from a txt file just to see if the url string gets stored to memory. The url is definately going into memory as the url will write to the file. Getting out is an other story. The SendKey(url) doesn't seem to work. I would really apprecaite your help in coding up a char-by-char procedure. Thanks a lot for your assitance.
OK, I'll try to implement this after today's sauna.
It is - actually, this is what this entire thread is all about
oops typo. I meant without clicking on a link. Like i use Pocket Egress and in there you have to define a link to the browser it opens to view the news items full page. I wanted to know if i could provide a direct link or something or some how invoke the same functionality that the selection box provides when you click on a link in pocket outlook etc...
Sorry for the delay.. been pretty busy the last few days with Christmas and all.
I played for awhile try to script something up... no luck. I went to the trouble of trying to write and read from a txt file just to see if the url string gets stored to memory. The url is definately going into memory as the url will write to the file. Getting out is an other story. The SendKey(url) doesn't seem to work. I would really apprecaite your help in coding up a char-by-char procedure. Thanks a lot for your assitance.
I've finished writing it; it's available at http://www.winmobiletech.com/092007M...r.sendkeysLoop (remove the sendkeysLoop from the end, of course). It works great on my HTC Universal Pocket PC (of course, as pasting works in Pocket PC's, it's not needed to switch to this, somewhat slower version with PPC's.)
It does NOT work on my HTC s710 / Vox because, it seems, SendKeys() doesn't work at all with MortScript 4.1 on this model. Let's, however, see how it works on your Smartphone model.
oops typo. I meant without clicking on a link. Like i use Pocket Egress and in there you have to define a link to the browser it opens to view the news items full page. I wanted to know if i could provide a direct link or something or some how invoke the same functionality that the selection box provides when you click on a link in pocket outlook etc...
So, you're looking for a multi-pane solution like the desktop Outlook or, on WinMo, FlexMail or Qmail? That is, to see the contents of a link without having to click it, in the same screen, in another pane?
I've finished writing it; it's available at http://www.winmobiletech.com/092007M...r.sendkeysLoop (remove the sendkeysLoop from the end, of course). It works great on my HTC Universal Pocket PC (of course, as pasting works in Pocket PC's, it's not needed to switch to this, somewhat slower version with PPC's.)
It does NOT work on my HTC s710 / Vox because, it seems, SendKeys() doesn't work at all with MortScript 4.1 on this model. Let's, however, see how it works on your Smartphone model.
Wow! So close! The only thing that is wrong is that you don't need the http:// and the script seems to add a $ before the string.
My BJ typed "$http://address"
Thanks so much for working on this! Your so close!
If it chops off too many chars (one more than it should), just change
url = substr(url,9)
at the end to
url = substr(url,8)
Don't forget to rename the script and change the occurrences of s1_ !
Awaiting your report.
Well.... I've been working on this a good but today with no real success.
I did determine the source of the extra characters on my WM5 Blackjack. When using the "SendEnd" "SendHome" commands extra characters get inserted. I replaced them with SendBackspace (x4). Like the original script had. That fixed the extra characters.
Still no joy on the "SendKeys" command though. No matter where it is in the script, the key strokes do not get passed. The command simply won't work on the Blackjack. I tried the "SendSpecial" command with limited success. The Blackjack will accept many standard ASCII codes but not all. I am starting to come to wonder if the Blackjack uses a non-standard ASCII mapping. I've attached the script I edited. I made a couple tweaks.
Considering the SendKeys command isn't working, I thought I'd try to "fake out" the SendCtrlKey("V") by using the "SendSpecial" command.
Still no joy on the "SendKeys" command though. No matter where it is in the script, the key strokes do not get passed. The command simply won't work on the Blackjack.
Strange it works on magno101's BJ (unlike on yours - or, for that matter, my Vox). I wonder what OS version he has on his device.
If it chops off too many chars (one more than it should), just change
url = substr(url,9)
at the end to
url = substr(url,8)
Don't forget to rename the script and change the occurrences of s1_ !
Awaiting your report.
It works! Thank you so much! I had to change the url = substr(url,9) to 8, as it was cutting off one of the w's in www, but after that everything worked flawlessly!
To answer your OS question, I'm using the I3 Beta of WM6. Makes my phone so much better.
Thanks again for all your work. I can't tell you how much people like you mean to those of us who like to get the most out of our phones.
To answer your OS question, I'm using the I3 Beta of WM6.
This (upgrading the OS from WM5) might be the solution for peaster111?
(BTW, I'll also try to reimplement all this in nScriptm (another, less widely used scripting language / interpreter) - hope it is able to paste / send characters to these phones, incl. my s710).
Originally Posted by magno101
Thanks again for all your work. I can't tell you how much people like you mean to those of us who like to get the most out of our phones.
UPDATE (12/12/2007): upon the problem reports of several Smartphone users (see the posts for example HERE), I’ve released a slightly modified version of the script that, instead of pasting, uses keyboard emulation. This makes it possible to use the script on some Smartphones that are incompatible with pasting.
The script is available HERE. Remember to remove the SP.2 extension before deploying it. Note that, again, it's ONLY meant for Smartphone users that previous script versions didn't work with!!!
Note that while it works on for example the I3 Beta of WM6 of the Samsung BJ, it doesn’t do the same on the (original) WM5 version of the same device or the HTC Vox (s710). It seems it’s impossible to support these devices with the current MortScript version. I'll also try to reimplement the script in nScriptm (another, less widely used scripting language / interpreter) - hope it is able to paste / send characters to these, still incompatible MS Smartphone models.
Strange it works on magno101's BJ (unlike on yours - or, for that matter, my Vox). I wonder what OS version he has on his device.
According to his phone list... His i607 Blackjack has WM6 on it. Hopefully he will confirm. Mine still has WM5 on it. I'm patiently waiting for the official WM6 release (not holding my breath though). My daughter has a i617 Blackjack II with WM6 on it. I'll see if it'll work on hers.
Unless you have a miracle up your sleeve I think folks that have a i607 Blackjack with WM5 are stuck (or I have a goofy phone ). I did some research on xda and Mortscript sites. They both have threads of folks discussing "SendKeys" issues with the Blackjack.
Bookmarks