Is it possible to make a GUI to an AppleScript I wrote?
Because I want this is:
This is how the GUI should look like. 3 = X, 5 = Y, 6 = Z. So depends on what I wrote in my windows (The code) the script will change. Look in next code
The red text what is variable in this script/application
I hope very much this can be done. I have like 0.5% knowledge in AppleScript so I need to ask you gurus, hehe
Because I want this is:
Code:
------------
| [COLOR="Red"][3][/COLOR] | <--- My ultimate writing skill :)
| [COLOR="Red"][5][/COLOR] |
| [COLOR="Red"][6][/COLOR] |
|__[Start]__|
This is how the GUI should look like. 3 = X, 5 = Y, 6 = Z. So depends on what I wrote in my windows (The code) the script will change. Look in next code
Code:
tell application "TextEdit"
activate
end tell
set [COLOR="Red"]x[/COLOR] to 3
tell application "System Events"
repeat x times
keystroke "Hello"
keystroke return
end repeat
end tell
set [COLOR="Red"]y[/COLOR] to 5
tell application "System Events"
repeat y times
keystroke "Hey there!"
keystroke return
end repeat
end tell
set [COLOR="Red"]z[/COLOR] to 6
tell application "System Events"
repeat z times
keystroke "Last One"
keystroke return
end repeat
end tell
The red text what is variable in this script/application
I hope very much this can be done. I have like 0.5% knowledge in AppleScript so I need to ask you gurus, hehe