Page 1 of 1

Simulating script execution?

Posted: 20 Nov 2011 20:10
by Marco
Is it even possible?
I'd like to get the path resulting from command #561 (Favorites / Special System Folders / Documents (All Users)) execution, without actually browsing to that folder.

Re: Simulating script execution?

Posted: 20 Nov 2011 20:28
by serendipity
Marco wrote:Is it even possible?
I'd like to get the path resulting from command #561 (Favorites / Special System Folders / Documents (All Users)) execution, without actually browsing to that folder.
Yes, paste this in addressbar:
::text get("SpecialFolder", 5);

5 is the CSIDL for my documents, you'll find others on the web.

Re: Simulating script execution?

Posted: 20 Nov 2011 21:10
by admin
Favorites / Special System Folders / Documents (All Users) is CSIDL_COMMON_DOCUMENTS (46):

Code: Select all

::text get("SpecialFolder", 46);

Re: Simulating script execution?

Posted: 20 Nov 2011 21:13
by serendipity
admin wrote:Favorites / Special System Folders / Documents (All Users) is CSIDL_COMMON_DOCUMENTS (46):

Code: Select all

::text get("SpecialFolder", 46);
:oops: sorry, missed the "all users" part.

Re: Simulating script execution?

Posted: 20 Nov 2011 21:22
by Marco
Wow, thank you thank you guys, this was driving me crazy!