Simulating script execution?

Discuss and share scripts and script files...
Post Reply
Marco
Posts: 2347
Joined: 27 Jun 2011 15:20

Simulating script execution?

Post 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.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

serendipity
Posts: 3358
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Simulating script execution?

Post 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.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Simulating script execution?

Post by admin »

Favorites / Special System Folders / Documents (All Users) is CSIDL_COMMON_DOCUMENTS (46):

Code: Select all

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

serendipity
Posts: 3358
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Simulating script execution?

Post 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.

Marco
Posts: 2347
Joined: 27 Jun 2011 15:20

Re: Simulating script execution?

Post by Marco »

Wow, thank you thank you guys, this was driving me crazy!
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Post Reply