Search found 28 matches

by caomeisanhao
Wed Jul 20, 2005 11:45 am
Forum: General Discussion
Topic: problem to use if with And and OR...?
Replies: 6
Views: 8668

help me!

ok,I have made a small test. I want to check the computername that I use currently.if the PCs with the name that i expect, it will show a messagebox with the name of PC. COMPUTER_NAME is system Variable from MacroScheduler. If>%COMPUTER_NAME%="PC1234" MessageModal>%COMPUTER_NAME% Endif And I go to P...
by caomeisanhao
Wed Jul 20, 2005 11:23 am
Forum: General Discussion
Topic: problem to use if with And and OR...?
Replies: 6
Views: 8668

my MS version is 7.3.11.4

my MS version is 7.3.11.4
by caomeisanhao
Tue Jul 19, 2005 3:05 pm
Forum: General Discussion
Topic: problem to use if with And and OR...?
Replies: 6
Views: 8668

problem to use if with And and OR...?

Hi,guys

I have a problem.how to use if with And and OR including system Valiable...?

For Example: I am using PC with computername snake

If>{(%COMPUTER_NAME%="sn1") or (%COMPUTER_NAME%="sn2")}
MessageModal>%COMPUTER_NAME%
Do stuff...
Endif

It doesnot work. Why? something wrong with spaces?
by caomeisanhao
Mon Jul 18, 2005 1:14 pm
Forum: Technical / Scripting
Topic: how can I detect,if a network driver is installed on my PC?
Replies: 5
Views: 8550

how can I detect,if a network driver is installed on my PC?

Hi,guys

how can I detect,if a network driver is installed on my PC or not ?

To detect file exists or not we use : Iffileexists>...
To detect Directory exists or not we use: IfDirexists>...

but to detect a network driver installed on a PC or not we use: ???

thanks in advance!
by caomeisanhao
Tue Jul 12, 2005 3:24 pm
Forum: Technical / Scripting
Topic: how can I let a dialog always stay on the top?
Replies: 1
Views: 3763

how can I let a dialog always stay on the top?

Hi,guys
how can I let a dialog always stay on the top?
just like variable MSG_STAYONTOP,but for Dialog
by caomeisanhao
Tue Jul 12, 2005 12:12 pm
Forum: Technical / Scripting
Topic: how can I change color and size of the words on a dialog?
Replies: 2
Views: 5355

how can I change color and size of the words on a dialog?

Hi,guys
how can I change the color and the size of the words on a dialog?
I just want to prompt the user to pay attention to special choices.

Thanks in advance!
by caomeisanhao
Mon Jul 11, 2005 9:52 am
Forum: Technical / Scripting
Topic: how can I delete a directory?
Replies: 2
Views: 5703

how can I delete a directory?

Hi,guys
how can I delete a directory?

I just know how to delete all files in a directory,for instance:
deleteFile>C:\temp\*.*

but there is no way to delete the directory C:\temp with all it's contents ?

Thanks in advance!
by caomeisanhao
Wed Jul 06, 2005 11:01 am
Forum: General Discussion
Topic: i will never ask stupid question like this again! :)
Replies: 2
Views: 5208

i will never ask stupid question like this again! :)

i will never ask stupid question like this again! :)

just use :
shutdownwindows>...
to do the job
by caomeisanhao
Wed Jul 06, 2005 7:44 am
Forum: Technical / Scripting
Topic: waitWindowopen or close is not enough?
Replies: 3
Views: 6093

waitWindowopen or close is not enough?

hi,guys I have problem by installing a software. I want to install it in silent mode,So I use MacroScheduler to prepare. the software is a big stuff,after showing some windows(Welcom,Accept,setup Folder) it begins to install, lasts 7mins ,so I may use waitwindowclose,but I found that the window titl...
by caomeisanhao
Wed Jul 06, 2005 7:34 am
Forum: General Discussion
Topic: run Dos Commands in Macroscript
Replies: 1
Views: 4276

run Dos Commands in Macroscript

hi,guys I want a action to restart the PC by macroSchuedler 7.3, so I use Dos command shutdown with switch -r (restart) Run Program>cmd.exe /c shutdown -r i get the prompt saying "system shutdown in 30 seconds",but after 30 seconds it does not shutdown and restart.no a so I check the commands,I do s...
by caomeisanhao
Fri Jul 01, 2005 10:48 am
Forum: Technical / Scripting
Topic: how to show a message according to some conditons?
Replies: 6
Views: 7940

you are beautiful!

you are everything I hope for,you areeeee everything I neeeeeeeed,you are so beautiful to me,caaaaaaaaaaannot you seeeeeee...(Stop!)

Thanks a lot,it works!
by caomeisanhao
Thu Jun 30, 2005 9:03 am
Forum: Technical / Scripting
Topic: how to show a message according to some conditons?
Replies: 6
Views: 7940

thanks!bur

hello, yes , with your idea I can let a message coming out when the install finished,but when the user chose 3 software of 4,and after the whole install , I want to show a message with words " A,B,C is installed",not for each of them, I need one message window comingout contains a list of softwarena...
by caomeisanhao
Thu Jun 30, 2005 7:40 am
Forum: Technical / Scripting
Topic: can MacroScheduler copy a shortcut to a folder?
Replies: 2
Views: 4927

thanks!

hui, thanks, it works as you say.
by caomeisanhao
Wed Jun 29, 2005 3:17 pm
Forum: General Discussion
Topic: install the software , one after another?
Replies: 2
Views: 4933

install the software , one after another?

Hi,guys I want to install two software, software A ist the condition to install software B, both of them are big stuff. I do : Run Program>A.exe Run Program>B.exe I look the taskmanager, both of them are installing,so the install failed. because B cannot be successfully installed,until A is finished...
by caomeisanhao
Wed Jun 29, 2005 2:56 pm
Forum: Technical / Scripting
Topic: can MacroScheduler copy a shortcut to a folder?
Replies: 2
Views: 4927

can MacroScheduler copy a shortcut to a folder?

Hi,guys can MacroScheduler copy a shortcut to a folder? I have tried copy a file abc.txt to a fold C:\aaa\,i have a question. I do "CopyFile>C:\abc.txt,C:\aaa\" ,it works.and I get abc.txt in C:\aaa\, but if I make a shortcut for abc.txt,and copy the shortcut to C:\bbb\,it seems the same as above,ju...
cron
Sign up to our newsletter for free automation tips, tricks & discounts