Macro opening Notepad's file

Questions on Palette and Light Palette operation and features
Post Reply
cotedurhone
Posts: 12
Joined: Sun Nov 18, 2007 7:38 am

Macro opening Notepad's file

Post by cotedurhone » Fri Jun 10, 2011 7:27 am

Hi,
which macro opening a Notepad's file ?
Thanks

User avatar
MickCrozier
Posts: 288
Joined: Tue Mar 31, 2009 3:10 am
Primary Venue / Use: Professional Theatre
Where I Am: Melbourne, Australia
Location: Melbourne, Australia

Re: Macro opening Notepad's file

Post by MickCrozier » Sun Jun 12, 2011 3:55 am

For what reason?

your could try this - But it won't be pretty

Code: Select all

os.execute('notepad.exe d:\my_path\my_file.txt')

A nicer approach is here
Formerly Durisian (who died peacefully of digital old age)

cotedurhone
Posts: 12
Joined: Sun Nov 18, 2007 7:38 am

Re: Macro opening Notepad's file

Post by cotedurhone » Tue Jun 14, 2011 3:23 pm

Nice,
(i don't remember this post)
i use it to pass showinformations operators to operators
Thanks

Post Reply