[App] VJBrisk v0.4 - new and improved

Search This thread

vijay555

Retired Moderator
Jun 4, 2005
5,791
67
Witch Space
www.vijay555.com
Guys,

I've finally gotten around to updating VJBrisk.
See here for info about the old version.

I don't know if anyone uses VJBrisk anymore, but basically it's a small .exe file that can be used to replace another .exe.
eg, If you want to change your Stocks.exe application and make it launch VJEschaton.exe, but Stocks.exe is somehow hardcoded into a skin or application, then rename VJBrisk.exe to Stocks.exe, and drop the new Stocks.exe into the correct folder. VJBrisk will then allow you to launch whatever app you want to, instead of Stocks.exe.

Ok - what's new:
1. People used to have problems with the old VJBrisk.exe if they wanted to replace multiple target applications, as you could only have one VJBrisk per folder.
This is no longer the case.
You can rename VJBrisk.exe to anything you want, and keep multiple copies in a folder.
Eg, say you rename VJBrisk.exe to TomTom.exe.
When you launch TomTom.exe, it will search for TomTomEXE.exe or TomTomLNK.lnk in the target folder, and execute that app.

So VJBrisk will now recognise that you have renamed VJBrisk, and search for [NEW NAME]EXE.exe (for an executable file) or [NEW NAME]LNK.lnk (for a shortcut).

In this way, you can have as many VJBrisks in a folder as you want, each with a custom name and target.

2. VJBrisk will now pass the command line passed to IT, on to the target application. Eg, If Stocks.exe is launched with command line
"Stocks.exe NBC", then VJBrisk will try to launch
"VJBriskEXE.exe NBC".


Note:
To show debug info when checking command lines etc, please rename the VJBrisk.exe file VJDebug.exe. It will then show information about what program and command line parameters it is about to launch.

That's it for now I think. Let me know if it works for you.

Download from my website, or here:
http://vijay555.com/vj/releases/vjbrisk/vjbrisk0.4.cab

Version 0.42 - please replace the exe in the above cab, or just use this exe:
www.vijay555.com/vj/releases/vjbrisk/vjbrisk.exe

[EDIT]
Please remember, you will have to rename shortcuts you used to use with the OLD VJBrisk.exe to VJBriskLNK.lnk, instead of VJTarget.lnk.
Apologies, but that's the cost of the new flexibility of supporting unlimited VJBrisk redirects in the same folder.

[UPDATE]
Version v0.4 has been re-written from scratch.
It now supports a very peculiar "feature" in the OS, where if you "launch" a shortcut (.lnk) file from a shortcut, the redirected shortcut will not launch with its command line parameters. I've sidestepped around this feature so it works as it should.
It's a niche "feature", but some might be effected by this. See VJSipSwitch for details (eg launching VJSipSwitch from a shortcut with command line parameters, and launching THAT shortcut with VJBrisk now works).

As an added bonus, VJBrisk will pass parameters to a shortcut, and also merge parameters from a shortcut to a shortcut before launching the target shortcut.
Trust me, this makes sense when you're on Meth.

Eg.
Eg.
A. Make a shortcut to VJSipSwitch with the command line parameters "key", and call it VJBriskLNK.lnk (Shortcut A)
B. Make a shortcut to VJBrisk.exe with command line parameters "board" (Shortcut B)

Launching Shortcut B will launch VJBrisk, which will merge the parameters "key" and "board" to launch VJSipSwitch with the parameters "keyboard".


V

PS Once again, I repeat what I say on my website. You really don't need this app. But if you do, it might come in handy!

Version History:
v0.3: updated command line redirection and dynamic renaming
v0.4: entirely re-written; parsing of .lnk command line parameters
v0.41: fixed bug in handling of .exe in root folder
v0.42: support VJDebug debug info
 
Last edited:
Apr 11, 2007
29
0
It does not work for me.

I've been trying for hours to get Calendar.exe in /Windows
to redirect to PocketInformant

I used to use these instructions. Can you please modify them to fit the new version.

To launch another PIM from TouchFlo 2d from the home tab:

1. Download VJBrisk app (one of Vijay555 tools).

2. Rename VJBrisk to Calendar.exe and the shortcut to your PIM app to (ex. agendaone.lnk) to VJTarget.lnk.

3. Place these two files into \Windows folder.
 

vijay555

Retired Moderator
Jun 4, 2005
5,791
67
Witch Space
www.vijay555.com
Guys,

The difference (and advantage) between the old version and the new one is that the new one will (by default) search for
VJBriskEXE.exe or
VJBriskLNK.lnk (for the shortcut to pocket informant).

So rename the shortcut to VJBriskLNK.lnk, not VJTarget.lnk.

Let me know if that doesn't work.

V
 
Apr 11, 2007
29
0
No that doesn't work. I get the following error:

VJBrisk can be used to redirect hardcoded .exe and .Ink links.

Couldn't find 'calendarLNK.Ink' or 'calendarEXE.exe'

in the launch directory: '\Windows'

Command Line:
"

Can you help further? or direct me to a copy of v0.1 which did work.

Thanks.
 

vijay555

Retired Moderator
Jun 4, 2005
5,791
67
Witch Space
www.vijay555.com
@urbanlibrarian: can you explain exactly what you're doing?

VJBrisk is clearly working - you've renamed VJBrisk to Calendar.exe, and are launching it. The error tells you exactly what you need to do next.

VJBrisk/Calender.exe is now searching for a file called
'calendarLNK.lnk' or 'calendarEXE.exe'.

So Find PocketInformant on your system, and find the relevant .exe file you want to launch. Make a shortcut to it (eg, if it's called PocketInformant.exe, make a shortcut to it called PocketInformant.lnk).

Next rename PocketInformant.lnk to CalendarLNK.lnk, and drop that in your \windows\ folder.

Presto.
Let me know if it works ok.

V
 

vijay555

Retired Moderator
Jun 4, 2005
5,791
67
Witch Space
www.vijay555.com
@bbshk - I tried to explain the first post, and it helps if you read the old VJBrisk thread.

Basically, say you've got the TouchFlo interface, and it's hard coded to launch the standard MS Calendar when you click "calendar". [I'm giving an example, because I don't use the interface, but theoretically follow my example].

Now, say you use Pocket Informant as your calendar - pressing Calendar in TouchFlo is just a pain in the ass, as it doesn't launch Pocket Informant, it launches the MS Calender.

So, you find Calendar.exe in your \windows\ folder, and replace it with VJBrisk.exe (renamed to Calendar.exe).

When you click Calender in TouchFlo, TouchFlo tried to launch the MS Calendar. But instead, it launches VJBrisk.

Now, that's helpful, but VJBrisk alone does nothing.
The next step is to tell VJBrisk to actually launch PocketInformant, achieving your primary goal.

Hence:

TouchFlo -> Press "Calendar" -> Launches Calendar.exe (actually VJBrisk) -> VJBrisk launches Pocket Informant.

So, although it has a very niche use, in some circumstances, it's the easiest way to make some software do what you want it to do.

Search for VJBrisk and get an idea of where it's used in various roms etc.
And remember what I say on my website re VJBrisk:
http://www.vijay555.com/?Releases:VJBrisk

This is very specific in use. You don't need it, I'm sure.

V
 

ufriendxda

Senior Member
Mar 26, 2007
85
0
Very helpful tool for me, Thank you, Vijay555.

I use VJBrisk to lunch shortcuts by gesture in UltimateLunch. UL's gesture supportes only .exe program.
 

smaberg

Inactive Recognized Developer
Mar 19, 2007
2,519
953
GREAT APP

Thanx a million this app made me sor happy, thnx to it i could now finich my dev. of the new X1 powerbutton 12 icon Actionscreen with softreset and power off...



thanx...
 

GLOC

Senior Member
Aug 24, 2006
140
0
Fleet
Thanks for this VJ. However, I have just made an error!

I tried to replace Tasks.exe to launch the SBSHCalendarTasks.exe but it launches Resco Contact Manager.

How do I get it back to launching the basic tasks program? Or what I need to do to launch SBSHCalendarTasks?

Thanks
 

vijay555

Retired Moderator
Jun 4, 2005
5,791
67
Witch Space
www.vijay555.com
You should just be able to go into your \windows\ folder and delete tasks.exe (if that was the renamed VJBrisk.exe that you added).
When you "delete" files from the rom, they aren't deleted, they just get replaced with the original rom file. So if you delete the fake tasks.exe, the original tasks.exe should come back.

There's no reason it should be launching Resco unless you told it to do so. Try remove any copies of VJBrisk.exe that you added, find the program you want to launch (SPB Tasks), copy the .exe, rename to Tasks.exe and place in the \windows\ folder.

Let me know how it goes.

V
 

GLOC

Senior Member
Aug 24, 2006
140
0
Fleet
Thanks VJ, that all worked fine.

However, it appears that I was trying to call the wrong programme!

Let me explain: I wanted to get the 'Tasks' link on the 'Today' page to link to SBSHCalendarTasks. Stupidly I had assumed that the call for the 'Tasks' on the 'Today' page is linked to Tasks.exe!

Anyone know what I should be replacing when the 'Tasks' is clicked on the 'Today' screen?

Regards
 

IvkovicD

Member
Nov 5, 2003
47
2
Germany
VJBrisk and VJ sipswitch won't work in combination.

Hello VJ, have a new one. I want to switch SIP by profile (using PhoneAlarm), but I have to start a.EXE and cannot pass a parameter (by using a LNK or directly at the .EXE invocation.
So VJBrisk seems to be the perfect version to invoke it. I use it already to start other Calender or Tasks (invoked by Manila2D), but it fails to invoke VJ SIPSwitch.
VJBrisk -> SPISWITCH will not work.
Exact steps, which I have done (maybe I made an error)

Created a .lnk file and named it "SipSwitchNullkbLNK.LNK" which invokes "sipswitch nullkb" (nullkb is a SIP). Invoking it directly works well. Now made a copy of VJBrisk.exe and named it SipSwitchNullkb.exe and placed it into same folder. When I start it, I get a VJ SIP messagebox: "SIP not found".

You might have a look on it?

Thank you

keep on

Dejan
 

vijay555

Retired Moderator
Jun 4, 2005
5,791
67
Witch Space
www.vijay555.com
Version 0.4 released

New version:

Version v0.4 has been re-written from scratch.

It now supports a very peculiar "feature" in the OS, where if you "launch" a shortcut (.lnk) file from a shortcut, the redirected shortcut will not launch with its command line parameters. I've sidestepped around this feature so it works as it should.
It's a niche "feature", but some might be effected by this. See VJSipSwitch for details (eg launching VJSipSwitch from a shortcut with command line parameters, and launching THAT shortcut with VJBrisk now works).

As an added bonus, VJBrisk will pass parameters to a shortcut, and also merge parameters from a shortcut to a shortcut before launching the target shortcut.
Trust me, this makes sense when you're on Meth.

Eg.
A. Make a shortcut to VJSipSwitch with the command line parameters "key", and call it VJBriskLNK.lnk (Shortcut A)
B. Make a shortcut to VJBrisk.exe with command line parameters "board" (Shortcut B)

Launching Shortcut B will launch VJBrisk, which will merge the parameters "key" and "board" to launch VJSipSwitch with the parameters "keyboard".

V
 
Last edited:

false_apology

Member
Jan 23, 2009
42
0
I'm having trouble getting this working... I'm trying to use it to redirect manilla2d to open the Google Maps exe on my strage card instead of device memory (as I have an Omnia i910 and device memory is precious!)

I put a copy of vjbrisk.exe in \Program Files\Google Maps, renamed it "GoogleMaps.exe" (which is what is hard coded in Manilla), created a shortcut to the actual GoogleMaps on the storage card, named it "GoogleMapsLNK.lnk", put it in the same directory, but every time I try to access the maps tabs I get an error from vjbrisk saying "Could't find 'GoogleMapsLNK.lnk' or 'GoogleMapsEXE.exe' in the directory '\Program Files\GoogleMaps'". BUT I KNOW THEY ARE THERE, and spelled correctly. What am I missing???

I included an attachment of a screenshot of the "\Program Files\Google Maps\" directory connected through ActiveSync to show you I am not crazy.

Help?
Thanks
 

Attachments

  • GoogMapsDir.JPG
    GoogMapsDir.JPG
    38.1 KB · Views: 35

Lynehammike

Senior Member
Sep 26, 2007
164
12
Hi Vijay, I have been using the original VJBrisk for a while now - it is a really handy tool. Shall update to the new version - looks like a great step forward!

Michael