Jump to content

121 posts in this topic

Recommended Posts

Posted

Can some one help me i started terminal and the i started the script then i pressed play and clicked on terminal and it still gave me this error "Can’t make number into type integer." number -1700 from number to integer what should i do


here is how my script is

tell application "Terminal"

activate

tell application "System Events"

activate

delay 1

repeat (number) times

set texttotype to "cd ~/Users/user/Downloads/Bot"

keystroke texttotype

keystroke return

delay 5

set test to "java -jar /Users/user/Downloads/Bot/PokeBotNinja.jar"

keystroke test

keystroke return

delay 5400

tell application "Terminal" to close front window

keystroke return

delay 1

set tab to "n"

keystroke "tab" using command down

keystroke return

end repeat

end tell

end tell

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines