PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Samsung Omnia (http://forum.ppcgeeks.com/forumdisplay.php?f=69)
-   -   Sashimi and the Omnia (http://forum.ppcgeeks.com/showthread.php?t=72967)

jason917 06-26-2009 06:07 PM

Sashimi and the Omnia
 
1 Attachment(s)
I saw that we were starting alot of conversation about Sashimi in another thread so I figured why not get a Sashimi thread going. As much flashing as we are starting to do, I really think this is in order. Sashimi takes some work to learn but it is going to make every flash from here out a breeze.



EDIT:

Here is the link to Sashimi:
http://www.winmo-experts.com/viewtopic.php?f=7&t=4

Also I added the Sashimi How-to documentation as a .zip to download. This is included with the Sashimi download, but in case you would like to do some reading before trying it... there you go.

yojoe600 06-26-2009 06:09 PM

Re: Sashimi and the Omnia
 
great now lets discuss autofiles and Regs

jason917 06-26-2009 06:09 PM

Re: Sashimi and the Omnia
 
yojoe600

I use phm regedit to navigate the registry. There are many others to do this though. With phm, once you find the reg you want just long press it til you get the drop down menu and select export. Then save it as a .reg and thats it. Dump that in the reg folder in the sashimi auto or manual directoy.

jason917 06-26-2009 06:14 PM

Re: Sashimi and the Omnia
 
Quote:

Originally Posted by yojoe600 (Post 999340)
great now lets discuss autofiles and Regs

Auto files are fairly simple. You are basically defining an aditional action to take place with a cab install. For example... if you install say livesearch and then want it to be mapped to a specific soft key, you create the autoscript.

so it would like this

[AutoFile]
InstallLocation=0 (location 0 meaning device memory)
WindowTitle="live search" (or whatever the app name is)

[ScriptCommands]
1=SendLeftSoft
2=
3=
4=


This file would be placed in the cab folder (im pretty sure) and thats it.

nvrmind 06-26-2009 06:16 PM

Re: Sashimi and the Omnia
 
And I use CeRegEditor. It runs on the PC while you are connected through activesync. After you click the connect icon, you can export and import registry files.

When exporting for Sashimi, be sure to save as .reg (the default is .cereg).

jason917 06-26-2009 06:19 PM

Re: Sashimi and the Omnia
 
This is straight out of the Sashimi documentation on auto files. Little more in depth than my above explanation

AUTO FILES

In addition to the tandem file features listed above, SASHIMI allows for a special tandem AUTO file for use with CABs.

The AUTO file is a specialized ini file that can be customized to automate additional interaction needed for a CAB's proper installation.
A tandem AUTO file should be created in the same directory as the CAB with the same name and an extension of ".auto".

NOTE 1: An AUTO file can only be used with CAB files during the Auto Install phase and should not be used within the \SC or \ASL directories.

For example, to automate SuperText.CAB create an AUTO file named SuperText.auto in the same directory.

A sample AUTO file is located at \SASHIMI\Program\help\sample-file.auto
This file should be used as the template for ALL AUTO files.

To use:
  1. Copy the AUTO file to the CAB's location
  2. Rename it to correspond to the associated .CAB
  3. Edit as below:
The contents of this file are in Mortscript, but the only sections that should need modification are highlighted below:
[AutoFile]
InstallLocation=0
WindowTitle="Super Task Assistant"

  • The first section header [AutoFile] should not be changed as it is hard coded into SASHIMI.
    • InstallLocation = Where the CAB file should be installed. Possible values are 0 | 1 | 2 (0 = Main Device Memory, 1 = SC Location, 2 = ASL Location)
    • WindowTitle = Should be set to the title dialog (Window name) that the CAB presents during installation. This field is case sensitive.
[ScriptCommands]
1=SendLeftSoft
2=Sleep(5000)
3=SendCR

  • The second section header [ScriptCommands] should not be changed as it is hard coded into SASHIMI.
    • 1,2,3,4,etc = The key commands needed to interact with the CAB window. Each command should be entered on a separate line.
The above example would be an AUTO file for a CAB that presented an install window called "Super Task Assistant." The AUTO file would issue a left soft key command, wait 5 seconds, and then issue an enter command. Each command of the KeyStrokes section is actually entered into a separate line of a temporary script file which is executed alongside the CAB install. Although any MortScript commands can be added to these lines, it is recommended that the standard MortScript "Send" commands be used. An sampling of these commands are:
CR - Carriage return
Tab - Tabulator
Esc - Escape
Space - Space
Backspace - Remove character left to the cursor
Delete - Remove the character right to the cursor
Insert - Ins. (usually toggles between overwrite and insert mode)
Up/Down/Left/Right - Direction pad to the corresponding direction
Home - Home, to the beginning of the line or document
End - End, the the end of the line or document
PageUp/PageDown - Page up / down
LeftSoft/RightSoft - Display buttons
For additional information on how to send keys and automate screen text, please refer to the MortScript documentation.

jason917 06-26-2009 07:10 PM

Re: Sashimi and the Omnia
 
Anyone who uses m2d could maybe help me with something...

On the program tab of m2d you have a grid that you can assign programs. Well this grid holds about 36 programs and after every flash I have to go back and re-do them. Is there a reg value that I can export that will retain these. Or maybe something native to m2dc... I guess sashimi doesnt have to be for everything.

jville95 06-26-2009 08:10 PM

Re: Sashimi and the Omnia
 
GREAT info!! Im gonna have to read up a wee bit! :)

lioryte 06-26-2009 09:27 PM

Autofile
 
Here
A great walkthrough from the man himself

gourry413 06-26-2009 10:22 PM

Re: Sashimi and the Omnia
 
damn, i saw this thread and i thought someone was having sushi, imagine my disappointment, lol. good thread by the way


All times are GMT -4. The time now is 03:46 PM.

Powered by vBulletin® ©2000 - 2026, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0