shift-starting applications

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
awambawamb
Newbie
Newbie
Posts: 3
Joined: Wed Aug 18, 2010 4:37 am

shift-starting applications

Post by awambawamb »

Hi,
I can't figure how to "shift launch" an application. for shift-launching i mean that in the Winblows OS i keep pressed the shift key while i double click on the application.
is there a command in wine that tells the application that the shift key is pressed?
thanks for the time,
Max
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

What does a shift+double click do in Windows? I just looked it up and all I got out of it was "run secondary (alternate) command on item", which I don't think is actually appropriate on EXE files...
awambawamb
Newbie
Newbie
Posts: 3
Joined: Wed Aug 18, 2010 4:37 am

Post by awambawamb »

it is appropriate, for some executables. there are debug options on certain programs, as well as tweaking functions.
So i ask again, is there a way to tell wine "launch this application making the application believe that there's shift pressed"?
thank you again
motub
Level 2
Level 2
Posts: 39
Joined: Sat Jun 05, 2010 7:54 pm

Post by motub »

awambawamb wrote:it is appropriate, for some executables. there are debug options on certain programs, as well as tweaking functions.
So i ask again, is there a way to tell wine "launch this application making the application believe that there's shift pressed"?
thank you again
I don't know (though I doubt it), but what occurs to me is that there may be a simpler solution.

If pressing Shift in Windows while clicking on the application shortcut starts the application with 'debug options or tweaking functions', those options or functions are command-line options, right? Presumably they are documented.

So why not just run the alternate command-lines in a terminal when you want to use them, or create a duplicate shortcut and edit it to use the alternate command line? Or, even more esoteric, it might be possible to write a short script to detect the keypress and then run an alternate command line for the application under wine... whether or not Wine has an internal function to detect keypresses, I'm almost certain that Linux itself has a user-accessible function to do so.

It might be time to start thinking 'outside the box', so to speak. You're using Linux, not Windows. You don't have to expect that you're limited to doing thngs the same way that Windows does it, to accomplish the same task.

Hope this helps.
Holly
awambawamb
Newbie
Newbie
Posts: 3
Joined: Wed Aug 18, 2010 4:37 am

Post by awambawamb »

sure i thought about it... unfortunately winblows people don't document things outside the less caloric one, i've already tried a long list of command line options. I don't know how to program, so the script is really outside my knowledge... i've also tried to unmask things he3xediting with bless, but it was just a mess...
Locked