AutoHotkey Community

It is currently May 26th, 2012, 5:29 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 181 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 13  Next
Author Message
 Post subject:
PostPosted: April 17th, 2009, 5:03 pm 
Offline

Joined: May 15th, 2007, 8:59 pm
Posts: 169
Wonderful Script Idea. I don't use nearly as much of what is set up but it is useful for the 3 or 4 folders I switch between a lot daily at work.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Problem with Sandboxie
PostPosted: April 17th, 2009, 11:05 pm 
Hi Rexx,

your script is such a time saver!

I am not sure whether you tried Sandboxie.com before (a very useful, small app)? Probably not? It allows you to start any program and to encapsulate the changes in a sandbox (so that the original system is protected from any modifications).

But here is my question. For example when I open a (sandboxed) explorer window, your script doesn't seem to work (that is I can not change to a different folder). But if I open a sandboxed command line window, your script works (that is changes directories correctly).

Any idea why that is?

Thank you very much for your help in advance!

Sincerely,
Peter


Report this post
Top
  
Reply with quote  
PostPosted: April 18th, 2009, 5:22 am 
Offline

Joined: February 28th, 2006, 4:38 pm
Posts: 73
icefreez wrote:
Wonderful Script Idea. I don't use nearly as much of what is set up but it is useful for the 3 or 4 folders I switch between a lot daily at work.

Thanks. : D

Anonymous wrote:
But here is my question. For example when I open a (sandboxed) explorer window, your script doesn't seem to work (that is I can not change to a different folder). But if I open a sandboxed command line window, your script works (that is changes directories correctly).

Hi, i tried it. It changes the window classname, adding some prefix to the original classname. The script doesn't work because it checks the classname for supported window. I tried to use 'contains' to check the classname, but it still doesn't work, dont know why. :?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 18th, 2009, 10:17 am 
Rexx, thanks a for taking the time to try this. Hopefully you find Sandboxie useful :-)

Yes, indeed. It adds the prefix: Sandbox:DefaultBox:

Fortunately your app is flexible enough to add new Window classes. I actually tried this and it worked (added Sandbox:DefaultBox:CabinetWClass to ini file).

But since that worked, probably your "contains" code should also work?

Regards.
Peter


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 23rd, 2009, 3:58 am 
Rexx, where can I find lib.ahk?

Many thanks in advance!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 23rd, 2009, 4:05 am 
Offline

Joined: February 28th, 2006, 4:38 pm
Posts: 73
http://www.autohotkey.net/~rexx/FolderMenu/files/Lib.ahk


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 23rd, 2009, 5:52 am 
Rexx, thanks.

I tried the new version 121 (both the exe and ahk version), but when I click on "Add Favorite" in the menu it crashes and the tray icon disappears. All previous version worked fine.

Any ideas what could be wrong?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 23rd, 2009, 11:51 am 
Offline

Joined: February 28th, 2006, 4:38 pm
Posts: 73
Anonymous wrote:
Rexx, thanks.

I tried the new version 121 (both the exe and ahk version), but when I click on "Add Favorite" in the menu it crashes and the tray icon disappears. All previous version worked fine.

Any ideas what could be wrong?


No idea :?
What's your OS, and where do you click the "Add Favorite"? In tray menu or in the popup favorites menu?
I've tested on win7 and winxp, both works fine.
And which previous version works for you? 1.20 or earlier?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 23rd, 2009, 10:15 pm 
I tried Vista sp1 and Windows 7 (7077). I right clicked on the System tray.

Is there somekind of debug log?

The previous version was 1.16. (I personally like this version better, because less bloated (no lib.ahk etc)).


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 24th, 2009, 7:40 am 
Offline

Joined: February 28th, 2006, 4:38 pm
Posts: 73
Anonymous wrote:
I tried Vista sp1 and Windows 7 (7077). I right clicked on the System tray.

Is there somekind of debug log?

The previous version was 1.16. (I personally like this version better, because less bloated (no lib.ahk etc)).


In the new version 1.20~ I add a favorites management GUI in options, and "add favorite" will go to the options GUI and add a new item.
Can you add an item in the favorites tab in options? (press Ins or click "+" button)
or that crashes too?
There's no debug log, you have to look the ahk log window.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 24th, 2009, 10:49 pm 
Actually I tested again. It works fine on Vista.

But on Windows 7 (7077) it crashes, for example when I click on options or add favorite in the right click menu.

I guess Windows 7 is not supported yet ...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 25th, 2009, 4:34 am 
Offline

Joined: February 28th, 2006, 4:38 pm
Posts: 73
Anonymous wrote:
Actually I tested again. It works fine on Vista.

But on Windows 7 (7077) it crashes, for example when I click on options or add favorite in the right click menu.

I guess Windows 7 is not supported yet ...


On my Windows7 (7000) it works fine.
Maybe I can find out what's wrong when the Windows 7 RC is out. :p


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 25th, 2009, 8:03 am 
Yes, good idea. Windows 7 RC is leaked already (build 7100).


Report this post
Top
  
Reply with quote  
PostPosted: April 26th, 2009, 9:20 am 
Rexx,

you could use regular expressions instead of Contains.

For example:

Code:
[REGEXPCLASS:.*MozillaUIWindowClass; REGEXPTITLE:\A\[\#\] Mozilla Firefox[^-]*\Z]


rexx wrote:
Anonymous wrote:
But here is my question. For example when I open a (sandboxed) explorer window, your script doesn't seem to work (that is I can not change to a different folder). But if I open a sandboxed command line window, your script works (that is changes directories correctly).

Hi, i tried it. It changes the window classname, adding some prefix to the original classname. The script doesn't work because it checks the classname for supported window. I tried to use 'contains' to check the classname, but it still doesn't work, dont know why. :?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 26th, 2009, 3:20 pm 
Offline

Joined: April 26th, 2009, 8:55 am
Posts: 6
Location: Silver Coast Portugal
Thanks for this script.

I have an error when trying to add a new item.


'Could not open...........whatever file
there's something wrong with your config file.'

It is a noob question, but what have I missed here?

Thanks
Andy


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 181 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 13  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Yahoo [Bot] and 13 guests


You can 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 post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group