Messages - towlerg [ switch to compact view ]

Pages: prev1 [2] 3 4next
6
LaunchBar Commander / Re: One config for x86 and x64
« on: October 26, 2018, 11:51 AM »
Well this is embarassing, I've just realized that is I put C:\Program Files for x64 apps instead of %ProgramFiles% it works for both 64bit and 32bit OS's.

Oooppsy

7
LaunchBar Commander / Re: One config for x86 and x64
« on: October 25, 2018, 11:58 AM »
I think whispering in mouser' ear is a nicer solution

Me too.   w h i s p e r    w  h  i  s  p  e  r



Edit. If LBC could handle and the situation where an item defined by %ProgramFiles% on a 64bit OS is not found in C:\Program Files (x86), %ProgramFiles% could then be parsed as it is currently.

8
LaunchBar Commander / Re: One config for x86 and x64
« on: October 23, 2018, 06:49 PM »
@4wd Yes, you made it sound so simple. I assume you're looking at a solution internal to LBC, whereas I thought perhaps I'd missed some clever OS function. Either ways fine with me.

So expand %FunctionFiles% into C:\Program Files, check for presence of exe, if found execute, else expand to C:\Program Files (x86), check for presence of exe, if found execute, else quit.

9
LaunchBar Commander / Re: One config for x86 and x64
« on: October 23, 2018, 10:09 AM »
Sorry I wasn't clear. I'm trying to create one set of config files that will work on both 32 bit and 64 bit OS's

Assuming that on 32bit OS all apps in C:\Program files and that on 64bit OS apps are either in C:\Program files or C:\Program files (x86).

If I replace C:\Program files with %\ProgramFiles% in an existing config, all x86 applications are available on both 32 and 64 bit OS's. But an application ie. Notepad+ which has an x86 version on the 32 bit OS and a x64 version on 64 bit OS is not available on the 64 bit OS.

Another way to describe it would be that %ProgramFiles% expands to C:\Program files on the 32 bit OS and C:\Program files (x86) on the 64 bit OS, but not also C:\Program files on the 64 bit OS. 

A truth table of my atempt to unify LBC configs on both 32 bit and 64 bit OS using the %ProgramFiles% replacment

32bit OS      x86 app     OK       
32bit OS      x64 app      -
64bit OS      x86 app     OK
64bit OS      x64 app     fails

I hope I haven't laboured the point but several posts can to different conclutions about my objective.

George

10
LaunchBar Commander / One config for x86 and x64
« on: October 22, 2018, 11:20 AM »
I Love LBC, lost without it.

I have several PCs (weeeee lucky me) both x86 and x64. %ProgramFiles% wiii find c:\Program files on a x86 machine and C:\Program files (x86) on a x64 machine but NOT both C:\Program files and C:\Program files (x86).

I have some apps ie. Notepad++ runs as x86 on one machine and x64 on the other. Is there any way to have a LBC setup that will work in both cases?

Pages: prev1 [2] 3 4next
Go to full version