DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

bypassing [OK] button in "Specify Columns to Plot"

 
Post new topic   Reply to topic    DPlot Forum Index -> Suggestions/Questions
View previous topic :: View next topic  
Author Message
AA



Joined: 17 Aug 2022
Posts: 1

PostPosted: Wed Aug 17, 2022 10:27 am    Post subject: bypassing [OK] button in "Specify Columns to Plot" Reply with quote

I have a macro that reads multiple files:

FileType(4)
ForFilesIn("*.txt",A)
NextFile

for every file read, a window pops up and have to click the [OK] button to plot and continue.

Q. is there a way to bypass the clicking on [OK] , just read and plot the files.?

Thank You,

-Abel
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Thu Aug 18, 2022 11:02 am    Post subject: Reply with quote

The "Pick Columns to Plot" setting is persistent. If you select it once, it will by default be selected the next time you open a file - in this session or in subsequent sessions. However, you can get around this with ColumnsAre:

Code:
FileType(4)
ColumnsAre(0)
ForFilesIn("*.csv")
    FileSaveAs("Portable Network Graphics",".png")
    FileClose()
    ColumnsAre(0)
NextFile


See https://www.dplot.com/help/index.htm?columnsarecommand.htm
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> Suggestions/Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group