Trust No Program
This topic is locked: you cannot edit posts or make replies.
RoboType (a PC Magazine Utility) not working in Sandboxie
Bumblebee


Joined: 20 May 2008
Posts: 73
Reply with quote
Robotype is a very nice utiliy to insert stored text anywhere. Like you type #r it translates it to 'kind regards' and as I understand it hooks to the keyboard driver to do this.

In an application running sandboxed it just seems to be not there.

I was reading the posts on keyboard input missing and I put a trace up, but I cannot find anything to fix this.

Any help is highly appreciated.
Bernie
View user's profileSend private message
Ruhe


Joined: 03 Jul 2008
Posts: 803
Location: Germany
Reply with quote
Hi Bernie,

first you should post the Resource Access Monitor output and tell us what SBIE version you're running.
View user's profileSend private message
Bumblebee


Joined: 20 May 2008
Posts: 73
Reply with quote
Running SBIE 3.30 and RoboType 3.1.2

Starting Notepad in SBIE:

(removed for brevity. --tzuk)

Starting RoboType in SBIE too (was running outside, but even running inside makes no difference, no key translation):

(removed for brevity. --tzuk)
View user's profileSend private message
tzuk


Joined: 22 Jun 2004
Posts: 15003
Reply with quote
Hello again, and sorry for the delay, please try this: Open your Sandbox Settings, go to Resource Access -> Window Access, click Add and type:

Code:
Afx:400000:b:10011:6:2b03a3


Click OK all the way back, restart your sandboxed browser and see if it makes a difference.

_________________
tzuk
View user's profileSend private message
Bumblebee


Joined: 20 May 2008
Posts: 73
Reply with quote
Hi Tzuk,

I did add the code as suggested to the sandbox settings.

But I have to start a second copy of RoboType within the Sandbox, only then the keyboard shortcuts are working. If the utility is running outside the sandbox any program within the sandbox ignores it.

This might be a nice workaround - but how do I start a program automatically when a sandboxed program is starte?

Bernie
View user's profileSend private message
tzuk


Joined: 22 Jun 2004
Posts: 15003
Reply with quote
Strange, I did not need to start another instance of RoboType. Are you using version 3.1.2 of RoboType?
View user's profileSend private message
SnDPhoenix


Joined: 26 Dec 2006
Posts: 2694
Location: West Florida
Reply with quote
Bumblebee wrote:
This might be a nice workaround - but how do I start a program automatically when a sandboxed program is starte?

Well thats simple, just use the AutoExec setting.
Say you want roboform.exe to not be forced sandbox, but you would like it to autostart in the DefaultBox when you open FF sandboxed.
Then just go to the ini, under the DefaultBox section, put in something like:
Code:
AutoExec="C:\Program Files\Sandboxie\Start.exe" /startcom C:\Program Files\RoboformFolder\RoboformExecutable.exe

Just remember that the AutoExec setting only takes effect when the sandbox is clean, so you need to make sure you've deleted the sandbox first before running your browser sandboxed. Easiest solution to that would be to just set the sandbox to autodelete (if you wish). Wink

Now a little question to tzuk, wouldn't it be easier for newbies to use the AutoExec setting if it was in the GUI?
I imagine you could put it in the "Program Start" section of the GUI and list it as "AutoExec" or "Autostart Programs".
Then the description could be something like "These programs/commands will automatically be loaded when a program is run in this sandbox"

Haha just a suggestion. Razz
View user's profileSend private message
Bumblebee


Joined: 20 May 2008
Posts: 73
Reply with quote
tzuk wrote:
Strange, I did not need to start another instance of RoboType. Are you using version 3.1.2 of RoboType?


Yes, I am using 3.1.2

It is still not working - outside the Sandbox shortcuts are expanded - inside not at all.

Bernie
View user's profileSend private message
tzuk


Joined: 22 Jun 2004
Posts: 15003
Reply with quote
I tried RoboType again and I see that the resource name is slightly changed. This time, it was

Code:
Afx:400000:b:10011:6:1017b


Meaning that the last part is not fixed. So I revise my suggestion: Open your Sandbox Settings, go to Resource Access -> Window Access, click Add and type:

Code:
Afx:400000:b:10011:*


Hopefully this will do the trick. Just a reminder again, I noticed that RoboType gets confused when you run something sandboxed and the correct exclusion is not in place. So better to close and restart RoboType before you apply the updated exclusion in Sandboxie.
View user's profileSend private message
Bumblebee


Joined: 20 May 2008
Posts: 73
Reply with quote
Code:
Afx:400000:b:10011:*


This made it work Very Happy
Tzuk, thank's for your help.
Bernie
View user's profileSend private message
tzuk


Joined: 22 Jun 2004
Posts: 15003
Reply with quote
Good, I'm glad we were finally able to resolve this one, and now I can make the solution public:

http://www.sandboxie.com/index.php?KnownConflicts#robotype
View user's profileSend private message
RoboType (a PC Magazine Utility) not working in Sandboxie
You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

Use the RSS feed to watch this topic for replies
  
  
 This topic is locked: you cannot edit posts or make replies.  

Sandboxie is Copyright © 2004-2012 by Sandboxie Holdings LLC.  All rights reserved.
Sandboxie.com | Contact Author
This site has been viewed 208,352,635 times since June 2004