Jump to content

Just starting out-got two issues


Go to solution Solved by Merlintime,

Recommended Posts

Hi all

I brought three ducks before xmas , just started to play with them this weekend.

I got the encoder set up and managed to write a simple hello world source......but

1. When I put in the first time on two of my machine, the drivers load, I unplug it, and replug it, but nothing happen, only when I press the button button does it execute.

2. It is having delay issues, I can't get the notepad.exe in the cmd string,even when sleep commands before and after are set to 1000,

But it is a start.......

Any idea what I might be doing wrong

Peter

Link to comment
Share on other sites

I have resolved one issue, I was following a tut on the forum on how to write hello world, but it is incorrect

It was using sleep instead of delay, so now I am using

Gui r

delay 100

string notepad.exe

delay 100

enter

delay 100

string hello world - how are you

This works but.....

I had open a word.doc but minimised, it restored and typed the string into the.doc where the cursor was

After closing it, it ran properly.

But I still can't auto execute, I have tried on all three of my pc's ,put in load drivers succesfully,unplug,then plug in again

but nothing happens, have to push the payload button.

These are standard ducks, what firmware should I be running.

Peter

Link to comment
Share on other sites

  • Solution

I have resolved one issue, I was following a tut on the forum on how to write hello world, but it is incorrect

It was using sleep instead of delay, so now I am using

Gui r

delay 100

string notepad.exe

delay 100

enter

delay 100

string hello world - how are you

This works but.....

I had open a word.doc but minimised, it restored and typed the string into the.doc where the cursor was

After closing it, it ran properly.

But I still can't auto execute, I have tried on all three of my pc's ,put in load drivers succesfully,unplug,then plug in again

but nothing happens, have to push the payload button.

These are standard ducks, what firmware should I be running.

Peter

It may help to add additional delay (such as DELAY 1000) at the beginning of the script.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...