Home Download Buy Blog Forum Support

saveAs command should take file name as arg

saveAs command should take file name as arg

Postby guillermooo on Sat Sep 18, 2010 7:52 am

Code: Select all
saveAs [name] [encoding]


`name` would be copied to the file name box in the save dialog.
guillermooo
 
Posts: 728
Joined: Thu Jul 23, 2009 9:06 am

Re: saveAs command should take file name as arg

Postby vikaskbh on Tue Sep 21, 2010 3:04 pm

One more suggestion.

It would be better, if it can take file filter as argument. (i.e. file type [*.type] is by default selected)

Code: Select all
cmd = sublime.Window()
cmd.runCommand("saveAs","*.txt")
vikaskbh
 
Posts: 15
Joined: Fri Sep 17, 2010 6:49 am

Re: saveAs command should take file name as arg

Postby willi297 on Mon Sep 27, 2010 5:47 pm

+1
Greg Williams
Atomic Embedded, USA
http://atomicembedded.com
willi297
 
Posts: 121
Joined: Wed Nov 18, 2009 8:29 pm
Location: Grand Rapids, MI, USA


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 2 guests