Omega Owners Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to OOF

Pages: [1]   Go Down

Author Topic: task scheduler  (Read 1077 times)

0 Members and 1 Guest are viewing this topic.

Steve B

  • Omega Baron
  • *****
  • Offline Offline
  • Gender: Male
  • Leicestershire
  • Posts: 3639
    • '52' MV6 3.2 Saloon
    • View Profile
task scheduler
« on: 11 February 2013, 21:50:25 »

I know how to get it to run certain things and open files,and do certain tasks etc;

But does anyone have any idea how to make it print a document at say once a week intervals.(win73.32bit)
Logged

Jimbob

  • Global Moderator
  • *****
  • Offline Offline
  • Gender: Male
  • Chester / Flintshire
  • Posts: 24527
  • I like traffic lights, but only when they're green
    • E250 Est / Golf GTI
    • View Profile
Re: task scheduler
« Reply #1 on: 11 February 2013, 21:56:50 »

yes...but what type of document, and from what program?

eg notepad /p test.txt

all depends what your trying to do

Steve B

  • Omega Baron
  • *****
  • Offline Offline
  • Gender: Male
  • Leicestershire
  • Posts: 3639
    • '52' MV6 3.2 Saloon
    • View Profile
Re: task scheduler
« Reply #2 on: 11 February 2013, 22:27:17 »

msword doc or any txt doc jim..got this far at the mo......


Logged

Jimbob

  • Global Moderator
  • *****
  • Offline Offline
  • Gender: Male
  • Chester / Flintshire
  • Posts: 24527
  • I like traffic lights, but only when they're green
    • E250 Est / Golf GTI
    • View Profile
Re: task scheduler
« Reply #3 on: 11 February 2013, 22:33:57 »

well if its any TXT doc

create a batch file as above, containing just

Code: [Select]
notepad /p c:\docs\doc2print.txt
wordpad can use other printers, so in a new batch file again

Code: [Select]
wordpad /pt c:\docs\doc2print.doc YourPrinterName
Then just use the scheduler to run your .bat file :y

if it HAS to be in word itself...its trickier but doable.
« Last Edit: 11 February 2013, 22:36:51 by Jimbob »
Logged

Steve B

  • Omega Baron
  • *****
  • Offline Offline
  • Gender: Male
  • Leicestershire
  • Posts: 3639
    • '52' MV6 3.2 Saloon
    • View Profile
Re: task scheduler
« Reply #4 on: 11 February 2013, 22:44:37 »

so ive got to do the bat thing in run
Logged

Jimbob

  • Global Moderator
  • *****
  • Offline Offline
  • Gender: Male
  • Chester / Flintshire
  • Posts: 24527
  • I like traffic lights, but only when they're green
    • E250 Est / Golf GTI
    • View Profile
Re: task scheduler
« Reply #5 on: 11 February 2013, 22:47:42 »

yes...
dont know on your knowledge, so a .bat file is JUST a .txt file renamed.

put the relavent command into a txt file, and modify to your needs, save it / rename it as suits to printit.bat as you like, and file it away somewhere safe.

then in your scheduler, browse to your .bat file, and jobs a goodun :y

Steve B

  • Omega Baron
  • *****
  • Offline Offline
  • Gender: Male
  • Leicestershire
  • Posts: 3639
    • '52' MV6 3.2 Saloon
    • View Profile
Re: task scheduler
« Reply #6 on: 11 February 2013, 23:05:42 »

yes...
dont know on your knowledge, so a .bat file is JUST a .txt file renamed.

put the relavent command into a txt file, and modify to your needs, save it / rename it as suits to printit.bat as you like, and file it away somewhere safe.

then in your scheduler, browse to your .bat file, and jobs a goodun :y
im a learner.....ill be back.........thanks jimbob....
Logged

Steve B

  • Omega Baron
  • *****
  • Offline Offline
  • Gender: Male
  • Leicestershire
  • Posts: 3639
    • '52' MV6 3.2 Saloon
    • View Profile
Re: task scheduler
« Reply #7 on: 12 February 2013, 16:39:58 »

well if its any TXT doc

create a batch file as above, containing just

[code]notepad /p c:\docs\doc2print.txt[/code]

wordpad can use other printers, so in a new batch file again

Code: [Select]
wordpad /pt c:\docs\doc2print.doc YourPrinterName
Then just use the scheduler to run your .bat file :y

if it HAS to be in word itself...its trickier but doable.

ok.went in run (dos) and made a test batch file.then i put it in notepad and edited it, gave it the path etc....job done.works great

next question.how can i apply this to... paint.or windows photo viewer. in order to run colour cartridge
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 17 queries.