Jump to content
Sign in to follow this  
sandman

Add options to FileSaveDialog?

Recommended Posts

sandman

This would probably require some editing of the AutoIt source for FileSaveDialog.

I know in Notepad, in their save dialog there's also an Encoding option. How can this be done for my script?


[center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center]

Share this post


Link to post
Share on other sites
maqleod

This would probably require some editing of the AutoIt source for FileSaveDialog.

I know in Notepad, in their save dialog there's also an Encoding option. How can this be done for my script?

I had asked the same thing a while back, although I may not have been quite as clear. I had wanted to find a way to detect what filter was chosen with the dialog prompt so that the script would take action based on the chosen filter....

I still haven't found any way of accomplishing this....


[u]You can download my projects at:[/u] Pulsar Software

Share this post


Link to post
Share on other sites
Richard Robertson

You have to extend the native dialog yourself, per program.

Share this post


Link to post
Share on other sites
maqleod

You have to extend the native dialog yourself, per program.

how exactly does one do that?


[u]You can download my projects at:[/u] Pulsar Software

Share this post


Link to post
Share on other sites
sandman

Or could you add filters, for example for encoding:

ANSI .txt (*.txt)
UTF-8 .txt (*.txt)
UTF-16 .txt (*.txt)
That would probably get overwhelming if there was a lot of filetypes, though.


[center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center]

Share this post


Link to post
Share on other sites
maqleod

adding filters isn't the problem, detecting the selected filter when the save button is pressed is.

unless I'm misunderstanding what you are saying....


[u]You can download my projects at:[/u] Pulsar Software

Share this post


Link to post
Share on other sites
JustinReno

Why not just make a custom save dialog function?

Share this post


Link to post
Share on other sites
maqleod

Why not just make a custom save dialog function?

I suppose that would make the most sense, huh


[u]You can download my projects at:[/u] Pulsar Software

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.