Questions tagged [save-as]

This tag refers to a common UI prompt type that asks a user under what name they wish to save a file as.

Use this tag for questions related to building or using such a prompt.

514 questions
9
votes
2 answers

Programmatically convert SVG shapes to paths (lineto, moveto)

I have an SVG file coming from Inkscape, Illustrator, or any other application. I want to convert the shapes to lineto, moveto, curveto format. What I want is something like: ./Appname svgfile outfilewithpath I will give the SVG file as an…
skanzariya
  • 397
  • 1
  • 4
  • 10
8
votes
1 answer

Open3d - visualizing multiple point clouds as a video/animation

I have generated multiple point clouds using a RGB+depth video, and would like to visualize the multiple point clouds as a video or animation. Currently I am using Python, part of my code is as follows: for i in range(1,10) pcd =…
Ryan
  • 279
  • 1
  • 4
  • 12
8
votes
1 answer

"Save As" in non-document based application Cocoa

I'm working on a project that essentially creates files via a shell script using "sox". The application is not document-based, all its doing is calling a script that creates files, and doesn't internally save any data. However, I need to prompt…
minimalpop
  • 6,997
  • 13
  • 68
  • 80
8
votes
1 answer

Trigger a Browser's Save-As Dialog via Javascript using only On-page data

As part of my page's output, I'm including a CSV formatted version of a data table in a text area, so that the user can easily copy/paste a CSV export into their spreadsheet of choice. I would like a way to have a button that, when clicked, will…
Ian
  • 11,920
  • 27
  • 61
  • 77
8
votes
4 answers

When I save file, why Visual Studio Code does format my file?

Good Day! Help me, please. This is My code. When I click CTRL+S, or click "Save All", or "Save", My Visual Studio Code format my all documents like ALT+SHIFT+F... But, I didnt click this fuction. And my CSS, or HTML code after Click button "Save".…
Asterix
  • 91
  • 1
  • 4
8
votes
3 answers

Save As Error When Saving Copy of Original

I wonder whether someone could help me please. Using a script I found online as a 'base' I've written the query below. Sub Test() Dim wb As Workbook Dim ThisSheet As Worksheet Dim NumOfColumns As Integer Dim RangeToCopy As Range Dim…
IRHM
  • 1,326
  • 11
  • 77
  • 130
8
votes
3 answers

Use Filesaver js with angular2

i have checked all the post i can find on the use of Filesaver JS with angular, but i still could not wrap my head around a soution. I added this to the map section of my system.config.js 'filesaver': 'node_modules/filesaver/src/Filesaver.js' I…
mayowa ogundele
  • 475
  • 2
  • 6
  • 19
8
votes
1 answer

How to save as xlsx file?

My SaveFile sub saves the file but when I try to open it again Excel doesn't recognize it as an Excel file. If I right click the file from my desktop and check the properties, the type of file is "File". I've read up on the formatting but can't get…
yarz-tech
  • 284
  • 2
  • 6
  • 18
8
votes
3 answers

Get user-inputed file name from JFileChooser Save dialog box

This answer to this question may seem obvious, but I'm actually struggling with it quite a bit. I've searched through JFileChooser methods in the API, and I've looked at some of the questions already asked and answered here on stackoverflow. My…
Anya
  • 81
  • 1
  • 1
  • 4
7
votes
3 answers

Saving .fig file from Octave

I need to make a .fig file that can be reopened in Matlab, but I am working in Octave. But apparently there is no saveas command in Octave. This is what I am trying: octave:3> plot([1,2,3],[45,23,10]) octave:4> saveas(gcf,'myfig.fig') error:…
highBandWidth
  • 16,751
  • 20
  • 84
  • 131
7
votes
2 answers

Chrome - "Save As..." disabled in right click menu when using a "data" url

If you paste the following into the url bar in chrome and try to do right click-> save as... the save as... is grayed out. Any way to stop this from being grayed…
alumb
  • 4,401
  • 8
  • 42
  • 52
7
votes
1 answer

Angular File-saver: How to prompt the 'Save As' window and not save directly

I am using the file-saver to save a file on client browser. However the file is directly getting downloaded. const blob = new Blob([data.body], {type: 'application/'pdf}); FileSaver.saveAs(blob, 'export.pdf') How to prompt the "Save As" window so…
prabhat gundepalli
  • 907
  • 3
  • 15
  • 39
7
votes
1 answer

Why can't I "save as" an Excel file from my Python code?

I have an Python ExcelDocument class that provides basic convenience methods for reading/writing/formatting Excel files, and I'm getting a strange error in seemingly simple Python code. I have a save and saveAs method: def save(self): ''' Save…
froadie
  • 79,995
  • 75
  • 166
  • 235
6
votes
2 answers

Is there any way to 'simulate' right-click save-as command or force download of file in the browser with JavaScript?

I have this situation where we have media files stored on a global CDN. Our web app is hosted on it's own server and then when the media assets are needed they are called from the CDN url. Recently we had a page where the user can download file…
MetaGuru
  • 42,847
  • 67
  • 188
  • 294
1
2
3
34 35