Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Running a background macro.
#1
I'd like to take a created macro and utilize it behind everything. Is this a difficult thing to do? I read the manual and it said it's doable but more often than not unsuccessful.

Someone suggested the sendkey function, could someone elaborate on this and perhaps link a guide...
#2
show the created macro and we can see what u can do to change it to make it work in background
#3
spe 10
rep 44444
int w1=act(win("Darkfall Online" "SFMainWindow"))
lef 607 379 w1; 1.58
rig+ 607 379 w1; 0.09
rig- 578 444 w1; 0.35
lef 578 444 w1; 2.10
dou 578 444 w1; 2.07
'3; 0.26
lef 578 444 w1; 4.34
'2; 0.62
lef 578 444 w1; 1.97
dou 578 444 w1; 1.49
dou 578 444 w1; 0.22
lef 578 444 w1; 1.49
dou 578 444 w1; 0.35
lef 578 444 w1; 1.59
dou 578 444 w1; 0.22
dou 578 444 w1; 0.19
dou 578 444 w1; 1.09
dou 578 444 w1; 0.21
dou 578 444 w1; 0.22
dou 578 444 w1; 0.87
dou 578 444 w1; 0.22
dou 578 444 w1; 0.22
dou 578 444 w1; 0.22
dou 578 444 w1; 0.26
dou 578 444 w1; 0.25
dou 578 444 w1; 0.25
dou 578 444 w1; 0.26
dou 578 444 w1; 0.27
dou 578 444 w1; 0.33
lef 578 444 w1; 0.54
dou 578 444 w1; 0.48
lef 578 444 w1; 0.63
lef 578 444 w1; 0.59
lef 578 444 w1; 0.88
lef 578 444 w1; 0.70
lef 578 444 w1; 0.53
lef 578 444 w1; 0.63
lef 578 444 w1; 0.65
dou 578 444 w1; 0.42
dou 578 444 w1; 1.17
dou 578 444 w1; 0.32
dou 578 444 w1; 1.10
dou 578 444 w1; 0.26
dou 578 444 w1; 0.25
lef 578 444 w1; 1.71
dou 578 444 w1; 2.15
lef 578 444 w1; 6.66
'3; 3.44
lef 578 444 w1; 5.66
mid 578 444 w1; 0.82
rig 578 444 w1; 1.15
lef 20 362 w1; 1.35
rig+ 566 465 w1; 0.09
rig- 578 444 w1; 0.77
lef 578 444 w1; 161.42
'w; 3.87
mid 578 444 w1; 1.17
'2; 0.73
rig 578 444 w1
#4
If you can run it in Microsoft Virtual PC...

Macros running in Virtual PC can press keys and move/click mouse and it does not interfere with your keyboard and mouse on host PC. Let Virtual PC run without mouse pointer integration. Insert 10 s delay at the beginning to have time to detach mouse from the PC.
#5
Will I need to run the program the macro will be interacting with on Virtual PC as well?
It's suggesting 128m of divided ram but the program I will be running will take much more to run. (minimum reqs are 1gig)
#6
Quote:Will I need to run the program the macro will be interacting with on Virtual PC as well?
yes
Quote:It's suggesting 128m of divided ram but the program I will be running will take much more to run. (minimum reqs are 1gig)
give 1 GB to the virtual pc

but if it is a game, for example, it may run too slowly on Virtual PC
#7
well alot of your code is lef 240 140 etc etc

if u can find ids instead of using a mouse click, than it will be able to run in background while minimized, but long as ur using a mouse i dont think there a way
#8
ok, the previous macro proved impossible to do. I have this now though:

Code:
Copy      Help
spe 10
rep 55555
    int w1=act(win("Darkfall Online" "SFMainWindow"))
    
    '.; 10.85

all I want to do is send '.' to that window every 11 seconds or so.
I'd like to do this while freeing up my computer to do other things.
What are my options?
#9
pasting to notepad (when notepad is in background)
#10
use a function instead of a macro

just when u want to shutdown ur function with a trigger like F5

just in the code enter

shutdown -6 0 "function_name"


Forum Jump:


Users browsing this thread: 1 Guest(s)