Calling a sketch into another

I have two libraries, for some reason they both conflict and cannot be included in the same sketch without failing. I want to be able to call the second sketch into the first to avoid this conflict.

#include <DigiMouse.h>
void setup() {
DigiMouse.begin();
}

void loop() {
DigiMouse.setButtons(1<<0); // left click
DigiMouse.delay(200);
DigiMouse.moveY(100);
DigiMouse.delay(200);
DigiMouse.moveX(100);
}

and

#include <DigiKeyboard.h>
void setup(){

}

void loop(){
  DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_RIGHT);
  delay(200);
  DigiKeyboard.print("mspaint.exe");
  delay(200);
  DigiKeyboard.sendKeyStroke(KEY_ENTER);
  delay(200);
  DigiKeyboard.sendKeyStroke(KEY_F11);
  delay(200);
}

Is this topic in any way related to this topic?

TheMemberFormerlyKnownAsAWOL:
Is this topic in any way related to this topic?

Yes

ethano1:
Yes

In that case, why did you start a new thread? You could have 'kicked' your other thread.

for some reason they both conflict

It is probably quite a bit easier to determine and fix the cause of the conflict, than to follow up your current idea.

jremington:
It is probably quite a bit easier to determine and fix the cause of the conflict, than to follow up your current idea.

no one replied on the last thread, so thats why im asking this.