Title: [Feature request] Provide an API to set the directory for the next FileOpen / FileSave · Issue #401 · bruderstein/PythonScript · GitHub
Open Graph Title: [Feature request] Provide an API to set the directory for the next FileOpen / FileSave · Issue #401 · bruderstein/PythonScript
X Title: [Feature request] Provide an API to set the directory for the next FileOpen / FileSave · Issue #401 · bruderstein/PythonScript
Description: This issue stems from the discussion on the forum: https://community.notepad-plus-plus.org/topic/27270/set-current-directory-to-default-if-no-real-file-is-open I'd like to have an API to set the directory that will be used on the next la...
Open Graph Description: This issue stems from the discussion on the forum: https://community.notepad-plus-plus.org/topic/27270/set-current-directory-to-default-if-no-real-file-is-open I'd like to have an API to set the di...
X Description: This issue stems from the discussion on the forum: https://community.notepad-plus-plus.org/topic/27270/set-current-directory-to-default-if-no-real-file-is-open I'd like to have an API to set th...
Opengraph URL: https://github.com/bruderstein/PythonScript/issues/401
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Feature request] Provide an API to set the directory for the next FileOpen / FileSave","articleBody":"This issue stems from the discussion on the forum: https://community.notepad-plus-plus.org/topic/27270/set-current-directory-to-default-if-no-real-file-is-open\n\nI'd like to have an API to set the directory that will be used on the next launch of the \"Open File\" or \"Save File\" dialog. This should overwrite the value that is internally tracked and set by Notepad++ because e.g. of the setting \"Default Open/Save file Directory\".\n\nThis should allow for me to better handle the following situation:\n\n1. The setting \"Default Open/Save file Directory\" is set to \"Follow current document\"\n2. I have a tab with new contents (not yet saved as a file)\n3. In another tab, I have a file from a network folder, which is the active tab now.\n4. I close the tab with the network file. Only the untitled tab remains\n5. Now I want to save this untitled tab to a \"standard\" folder. The standard folder is the one used after Notepad++ is started without any files. It's \"Desktop\" for me.\n\nAs of now, when I press Ctrl+S in the step 5, the dialog opens in the network directory. I'd like it to open in the \"Standard\" directory. But this should only be for untitled tabs. For real files, the dialog should still open in the directory of the file.\n\n----\n\nDisclaimer: I also submitted this as [an issue in Notepad++](https://github.com/notepad-plus-plus/notepad-plus-plus/issues/17246) for the case that this feature is better implemented there.","author":{"url":"https://github.com/fml2","@type":"Person","name":"fml2"},"datePublished":"2025-11-28T20:00:12Z","url":"https://github.com/bruderstein/PythonScript/issues/401"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:50fb0299-ff87-ee15-0d77-7f04688ebaf7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 83B2:153508:3AE7CE4:4CE9354:6AF97FFE |
| html-safe-nonce | 56e624029f9aa1fbd09e58ce5f76b2b469c1f05fa92b0a41910181d6598cc25f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0IyOjE1MzUwODozQUU3Q0U0OjRDRTkzNTQ6NkFGOTdGRkUiLCJ2aXNpdG9yX2lkIjoiODAwMTU3ODA2MTk4MTY0Njg0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bd08f51f5671b9b080c443192a2cefc64d4f3e22f24290e2311e5a2696d7e292 |
| hovercard-subject-tag | issue:3675809215 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/bruderstein/PythonScript/401/issue_layout |
| twitter:image | https://opengraph.githubassets.com/224d50693feb70cee491c2b85d5c840a91a349593a18c39b4fe6b2214ea57dd1/bruderstein/PythonScript/issues/401 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/224d50693feb70cee491c2b85d5c840a91a349593a18c39b4fe6b2214ea57dd1/bruderstein/PythonScript/issues/401 |
| og:image:alt | This issue stems from the discussion on the forum: https://community.notepad-plus-plus.org/topic/27270/set-current-directory-to-default-if-no-real-file-is-open I'd like to have an API to set the di... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fml2 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-preview |
| go-import | github.com/bruderstein/PythonScript git https://github.com/bruderstein/PythonScript.git |
| octolytics-dimension-user_id | 91716 |
| octolytics-dimension-user_login | bruderstein |
| octolytics-dimension-repository_id | 795778 |
| octolytics-dimension-repository_nwo | bruderstein/PythonScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 795778 |
| octolytics-dimension-repository_network_root_nwo | bruderstein/PythonScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width