Hey Folks,
After some experimenting with MortScript, it's done.
I create a script that will automatically Change the gif files in S2U2 in a random Order.
---------------------------------------------------------------------------
########################
###S2U2 - Gif changer###
###Dr.Jeckyll - 2008 ###
########################
Repeat(9999)
If(ProcExists("iLock2.exe"))
Run("\Program Files\S2U2\iLock2.exe")
Sleep(1000)
SendOK()
EndIf
gif_nr = Rand(29) Change this Nr. to the number of gifs you want to use but +1
Copy("\Storage Card\My Pictures\"&%gif_nr%&".gif", "\Program Files\S2U2\gfx\Wallpaper.gif", TRUE) you can change the folder where the gif files are and you can change the installation folder of S2U2
Run("\Program Files\S2U2\iLock2.exe")
Sleep(3600000) every 1 hour the picture will change the time is in milliseconds
Run("\Program Files\S2U2\iLock2.exe")
Sleep(1500)
SendOK()
EndRepeat
--------------------------------------------------------------------------
Just copy the text between the lines in an empty document and rename it as S2U2GifChange.mscr
Installation:
1. Install MortScript, I use the latest beta from http://www.sto-helit.de/index.php?module=page&entry=ms_overview&action=view
2. Delete the iLock2.exe and the S2U2 exe from your Windows/Startup directory
3. Copy the script to the Startup directory.
4. Restart the device
You have to rename the gif files you would like to use to 1.gif, 2.gif, and so on, and you have to write the number of gifs +1 to the green marked point in the script.
When the message Ilock 2 and s2us are closed apperas, do nothing it will self close.
Thanks for the effort. Just my 2 cents:
This script will run resident all the time and take up valuable memory and processing power.I think instead of doing a repeat loop, a better way is to simply queue the script in the notification queue.
The first if condition after repeat is to quit ilock which is not necessary. There is a restart command line parameter for S2U2.
chris.wilcox has another version here http://forum.xda-developers.com/showthread.php?t=389397
hey, i just download the mortscropt and i a super noob and i change the wallpaper name with 1.gif 2.gif ect.., and the wallpaper are going to change randomly?????
Related
smartskey doesn't seem to be reading my ini. I'm editing the file in notepad, saving as unicide, and transferring back to my device using activesync. am I missing something?
thanks in advance..
-s
Per the .ini-
[MAIN]
; set LSKEY to 1 if you want to override Left Soft Key (DEFAULT 1)
LSKEY=1
; set RSKEY to 1 if you want to override Right Soft Key (DEFAULT 1)
RSKEY=1
; set VOLKEY to 1 if you want to override Volume Key (DEFAULT 1)
VOLKEY=1
; set CLOSEAPP to 1 if you want to close app instead of hide (DEFAULT 0)
CLOSEAPP=1
; set STARTONREBOOT=1 to 1 if you the program to be start automatically during
; reboot, use with RSKEY (DEFAULT 0)
STARTONREBOOT=1
; set VOLUMEONPHONE=1 if you want to set volume using volume key in phone app
; use with VOLKEY (DEFAULT 0)
VOLUMEONPHONE=1
; set OMAPCLOCK to the clock if you want to use omapclock and automatically
; set the clock speed after wakeup, you should put OmapClock.exe in the same
; directory of smartskey.exe
;OMAPCLOCK=264
;REMOVEDUPSDDAEMON=0
;STARTMENUMETHOD=0
; if you set CLOSEAPP to 1, the program will hide the following
; apps (by title) instead of closing. Other apps will be closed.
; maximum can set 16 apps
[EXCEPTIONLIST]
APP00=Text Messages
APP01=Outlook E-mail
APP02=Hotmail
APP04=MMS
APP05=Contacts
APP06=Calendar
It's confusing, at the top is says change closeapp to 1 if you want to close app and at the bottom it says if you set closeapp to 1, the program will hide...???
Also it says if you set OMAPCLOCK to a number and have it in the same folder as OMAPCLOCK.EXE then it should start it on a wakeup. It doesn't...
Don't know about the overclocking parameters, but the .ini content is quite logically:
with closeapp=1 you tell it to close any application by default. To *exclude* applications from that behaviour (like phone for example), you have to list it under the exceptionlist. So those Applications won't be closed, but hidden.
For Omapclock to load on startup you have to remove the ";" before the line OMAPCLOCK=### in the .ini file. Instead of the ### you enter the number of mhz you want. By default it's 264 i believe but i set it to 240 because that is more stable.
When you don't have a ";" before the line CLOSEAPP=1, all programs wil be shut down EXECPT the programs mentioned on the bottom, which will be minimized. This list of programs on the bottom (APP00 till APP07) can be edited. You can remove programs from this list (or just put ";" in front of it) and add programs to it, you can number ahead with APP08= upto APP16=.
The question remains...
Ive got the same problem, smartskey will not read the inifile at all. None of the changes there takes effect.
there can be a problem in the way you edit and save your .ini file on your mobile. I edit and save it using Total Commander: http://ghisler.fileburst.com/ce/tcmdpocketarm.exe I have no problem whatsoever. What you could try to do is to delete all smartkey files from your mobile and redownload them to your mobile, then edit the .ini file using Total Commander.
How would we totally know if the INI file is being read? Would using the soft buttons do?
I'm having the same problem with the ini file not being read. I had this problem last week and solved it by deleting the whole SmartSKey folder including omapclock.exe and then reinstalling. It was running fine aside from not overclocking omap after wakeup, then this morning, nothing. I will reinstall it again but I'd like to know why it keeps faulting.
It's ok for me.
I've put the smartkey folder(including omapclock.exe) in device memory and copy a shortcut to the startup folder.
each time i modify the .ini file and change the omapclock param. from 180 to 240 or vice versa, after a softreset, i can check with omapclock that the freq. DO change as i needed.
1-2tje said:
there can be a problem in the way you edit and save your .ini file on your mobile. I edit and save it using Total Commander: http://ghisler.fileburst.com/ce/tcmdpocketarm.exe I have no problem whatsoever. What you could try to do is to delete all smartkey files from your mobile and redownload them to your mobile, then edit the .ini file using Total Commander.
Click to expand...
Click to collapse
I was having this same problem, and then discovered that everytime I see this problem (usually when I soft reset and find that Smartskey has not automatically started as it should according to the settings in the .ini file). When I go to check the .ini file, it find that the file is empty. Is there a solution or reason for this strange behavior?
Below is the direct quotation form the ini file (first line):
; INI FILE MUST BE SAVED IN UNICODE, PLEASE USE NOTEPAD TO EDIT IT
May is help.
Hi,
I've been having a similar prob and found that Smartskey was happy when I put it in its own folder (just the exe and ini).
HTH
//Adam F
Guys, don't get excited, this is just a teeny tiny app for a special request:
http://forum.xda-developers.com/viewtopic.php?t=50460&start=0&postdays=0&postorder=asc&highlight=
I'm basically not releasing anything for a while whilst I work on my new website, which is taking ages
However, this app is just used to launch an app in the same folder, with the filename
VJTarget.exe
or a shortcut called VJTarget.lnk.
This is very specific in use. You don't need it, I'm sure.
But if you have an app that can launch an .exe, but won't launch a shortcut with a command line, then this might be for you (I know some button redefiners and Today launchers might get use out of this)
So, basically, if you want to run VJDialer with a command line in TomTom:
1. Create a shortcut to VJDialer and set it up as you normally would.
2. Check the shortcut to ensure it works.
3. Copy it to your target folder.
4. Copy VJBrisk.exe to the same target folder.
5. Rename the shortcut you made in Step 1 to VJTarget.lnk.
6. Running VJBrisk will now launch VJTarget with its command line etc.
So, setup TomTom to run VJBrisk, and VJBrisk will then launch a file called VJTarget.exe or VJTarget.lnk in the same folder.
Like I said, very specific, but a good experiment for me with some nice string classes
On my (old) website.
V
Thanx!
I will rewrite my question here, because it's + appropriated:
i will try NOW your app.... only a question:
VJbrisk.exe launch only one vjtarget.lnk or just rename it (exe) with the same name of the link to have more than 1 phone link?
(es Vjbrisk1.exe call Vjbrisk1.lnk, Vjbrisk2.exe call VJbrisk2.lnk etc ?
sorry 4 my english
:::EDIT:::::
i HAVE AN IDEA!
If a Vjbrisk.exe read from a text file vjtarget.txt :
links = 2
link1: vjdial.exe 123456789;
link2: vjdial.exe 987654321;
then by renaming as Vjbrisk1.exe or vjbrisk2.exe the program execute the link into the txt?
the counter is for vjbrisc[X].exe, from x=1 to x=[links].....
or the exe filename can be compared with a string written into the txt:
"VBrisk1.exe" = vjdial.exe 123456789
"VBrisk2.exe" = vjdial.exe 123456789
I don't know is it's possible.... however good work for all others apps that you've made !
VJBrisk will launch VJTarget.exe or VJTarget.lnk.
I could make it so that renaming VJBrisk Eg VJBrisk2.exe will launch VJTarget2.exe.
But for your TomTom setup, I suggest you just use a different folder and a different copy of VJBrisk for each app you need to run.
The text file option is possible, but may be more complicated then just renaming the .exe as I describe above.
V
ok thnx 1000
accidental presses solved
thanks again to kokotas and vijay555.
kokotas for his ROM that allows me to replace \windows\biotouch.exe without difficulty
vijay555 for his VJBrisk that allows a "new biotouch.exe" to launch a shortcut to s2u2.exe
this means slide2unlock2 will remain locked, even if there are accidental presses/brushes(due to hardware design) while my elf is in my pocket.
Hi, Vijay.
Is there any chance that you could modify this app so that it would pass the command-line parameter it was launched with on to the shortcut?
Here's what i'm trying to acchieve:
I'm using a QR Code reader called quickmark that can read a URL from the barcode, and open it in a web browser. It can ce switched to use Opera instead of IE, but it attempts to launch the executable called OperaLaunch.exe from /Windows, while my Opera9 beta exec is on the storage card, and it's called Opera9.exe
I tried to create a shortcut to it, rename it to VJTarget.lnk, and place it in /Windows along with VJBrisk renamed to "OperaLaunch.exe". When i tried to access a web page from quickmark, opera was launched, but it opened its home page, as if it didn't receive the command line parameter. Manualy running the link with URL as command line parameter worked fine, so it seems that VJBrisk doesn't pass the parameter...
[new version!] Command line support
mr_deimos - that's a really good idea. I don't know why I had never supported it before.
Can you please try this new version.
It's been years since I've made a cab, so for now, just a new .exe.
Let me know if it works ok for you.
VJBrisk 0.2 with command line support
V
Whoa, i didn't notice this version before. Thanks for making the update and sorry for the late reply.
However unfortunately it still doesn't seem to pass the command line parameters. Right now i don't have the opera9 anymore, but i tested it with netfront:
I have the vjbrisk.exe renamed to OperaLaunch.exe and vjtarget.lnk (pointing to my NetFront executable on storage card) in my /windows dir.
If i run:
Code:
\windows\vjtarget.lnk http://www.xda-developers.com
Netfront opens up, and loads the xda-dev website.
But ruunning:
Code:
\windows\operalaunch.lnk http://www.xda-developers.com
NetFronf fires up, but loads its homepage instead of this website Of course the same happens with QuickMark - it just launches NF, without loading the proper page.
vijay555 said:
mr_deimos - that's a really good idea. I don't know why I had never supported it before.
Can you please try this new version.
It's been years since I've made a cab, so for now, just a new .exe.
Let me know if it works ok for you.
VJBrisk 0.2 with command line support
V
Click to expand...
Click to collapse
it works fine, but can you make an option so that it is possible to use it multiple times in one directory =?
ex:
manila2d use on homescreen hardcoded:
-> clock.exe for timer+
-> calendar.exe for outlook calendar.
# # # #
now i want to use:
-> clock.exe for spb time
-> calendar.exe for thumbcal
so i overwrite calendar.exe + clock.exe with your tool(copy vjbrick.exe to calendar.exe + clock.exe) + make the link to vjtarget....
so how can handle your tool this for different targets ?
my idea would be that there is
1.) vjbrick.exe looks to its own exe-name and searching for a file with extension: ".vjb" . there the call is inside to the correct exefile + paramter
so for example:
1.) copy vjbrick.exe to calendar.exe + copy to windows(overwrite the orig file)
2.) generate a file calendar.vjb + inside there is: "programm files\thumbcal\thumbal.exe -day" + copy the file to \windows
manila2d->
THEREFORE: a lot of guys which are searching therefore a solution !!!!!!!!!!!
cu camel
Deprecated
Guys, VJBrisk has been updated and relaunched here
http://forum.xda-developers.com/showthread.php?p=3252253#post3252253
V
i started a new thread with this information because it is talked about in so many other threads.
the easiest way is to make a copy of iContact.exe and rename it poutlook.exe and place it in the \windows directory. you also have to put a link to \Program Files\iContact\iContact.exe in the start up folder. you have to create the start up link because if icontact is not running in the background the poutlook.exe (icontact.exe copy renamed) does not know where to get the skin file from (its looking in the directory the exe is in). if icontact is running in the background the poutlook.exe will just pull it to the front. this is y you have to have it start with windows or you will get an error when you hit the all people soft tab (unable to load skin file).
you could put the entire contents of icontact in the windows folder but then you would have to make regestry changes for icontact to work from any other contact button in the phone.
a very good idea。i have successed with your methods。
thanks!!!!!!!!!!!!!
How to make Phone Dialer pop up when using slider from TouchFlo/M2D home
I am a big fan of the SlideActions application here, but when you use a cooked ROM with TouchFlo2D / Manila2D the "Open Dialer when on homescreen" as Slide-Open-Action does not do due to a different process running in foreground.
The options discussed in the SlideAction thread are not really cool, they open the dialer application always - even if you're in writing a new mail just want to use the keypad to type text.
Not a clean solution, but a temporary workaround (until SlideActions will be updated?) will be using a tiny MortScript as helper:
Step 1:
Install MortScript on your phone and copy a new script (textfile with .mscr extension) on your phone containing these lines:
Code:
x = ActiveProcess()
If (x eq "Manila2D.exe")
Run( "\windows\vtkey.exe" )
EndIf
Step 2:
In SlideAction's "Advanced" tab, add MortScript.exe as custom action with the dropdown and type the full path and name of your newly created .mscr file in the Param field. Now in the Event dropdpwn select the On Open field and chose the Run radio. Finally change the On Close Event to Null.
Here we go: Now, everytime you open the slider, the script checks if Manila2D is in foreground, and if, opens the dialing application. When opening slider while writing an email or text message, nothing happens!
Enjoy!
MoritzN you are a genious!!! i had the same problem!!! now it's fixed and runs perfect!!! thank you for your help!!!
Hey,
Sometimes my sense crashes..
So i have to open the Manila Theme maker to refresh the today screen.
But can someone make a button for in the startmenu? Like i have buttons to toggle wifi and bluetooth or reset the device.. so why not a button to refresh the homescreen?
I'm not a Manila user but if it's like regular homecreen plugins a simple MortScript can do it...
For a generic today redraw "app":
1- Install MortScript (if you don't have it already)
2- Create a script file with the command "RedrawToday" (paste the command without quotes into a txt file and replace the extention with mscr).
3- Transfer the file to your device and put a shortcut in \Windows\Start Menu\Programs (or whatever dir it is in your language)
frmariam said:
I'm not a Manila user but if it's like regular homecreen plugins a simple MortScript can do it...
For a generic today redraw "app":
1- Install MortScript (if you don't have it already)
2- Create a script file with the command "RedrawToday" (paste the command without quotes into a txt file and replace the extention with mscr).
3- Transfer the file to your device and put a shortcut in \Windows\Start Menu\Programs (or whatever dir it is in your language)
Click to expand...
Click to collapse
After many wasted hours searching the web for a better solution; this is unfortunately the only method I could find, it’s very slow and choppy.
I wish there was a better way to redraw individual today items quickly!
Make a shortcut to this prog.
look for michasrefresh in this forum