text
stringlengths 0
15.7k
| source
stringlengths 6
112
|
---|---|
tell otherScript to updateMePlus(true) | audiMate.applescript |
end updateMePlusLaunch | audiMate.applescript |
if the name of theObject is "loginButton" then | audiMate.applescript |
set myLoginURL to (homeRootURL & "login.php") as string | audiMate.applescript |
toggleVisibleLoginItems("idle") | audiMate.applescript |
set myLoginAlias to (do shell script ("curl --data " & quoted form of ("email=" & myLoginEmail & "&password=" & myLoginPassword) & " -e 'audiMate.login' " & quoted form of myLoginURL)) as string | audiMate.applescript |
if myLoginAlias is not "0" then | audiMate.applescript |
set loggedIn to "1" | audiMate.applescript |
set loggedIn to "0" | audiMate.applescript |
on error number 6 | audiMate.applescript |
display dialog "Please connect your computer to the internet." attached to window "loginWindow" buttons {"OK"} default button 1 | audiMate.applescript |
if loggedIn is "0" then | audiMate.applescript |
set loggedIn to false | audiMate.applescript |
else if loggedIn is "1" then | audiMate.applescript |
set loggedIn to true | audiMate.applescript |
toggleVisibleLoginItems("active") | audiMate.applescript |
update window "loginWindow" | audiMate.applescript |
set enabled of menu item "activateMeMI" of last menu of main menu to true | audiMate.applescript |
set enabled of menu item "deleteMeMI" of last menu of main menu to true | audiMate.applescript |
set enabled of menu item "forgotPWMI" of last menu of main menu to false | audiMate.applescript |
set myProfileData to getMyDetails(myLoginAlias) | audiMate.applescript |
set myActivationStatus to item 2 of (split(myProfileData, "<--userStatus-->")) as string | audiMate.applescript |
if myActivationStatus is "cc.309" then | audiMate.applescript |
set contents of text field "varsWindowStatus" of window "varsWindow" to "0" | audiMate.applescript |
else if myActivationStatus is "b0i9" then | audiMate.applescript |
set contents of text field "varsWindowStatus" of window "varsWindow" to "1" | audiMate.applescript |
tell menu item "activateMeMI" of last menu of main menu | audiMate.applescript |
set enabled to false | audiMate.applescript |
set title to "Activated - Thank you!" | audiMate.applescript |
set myActivationStatus to (contents of text field "varsWindowStatus" of window "varsWindow") as string | audiMate.applescript |
tell progress indicator 1 of window "homeWindow" to start | audiMate.applescript |
tell window "homeWindow" | audiMate.applescript |
set contents of text field "loggedInAsText" to (myLoginAlias) | audiMate.applescript |
set contents of text field "homeLocationText" to (myProfileData_location) | audiMate.applescript |
load_portrait(myLoginAlias, "homeWindow") | audiMate.applescript |
show window "homeWindow" | audiMate.applescript |
hide window "loginWindow" | audiMate.applescript |
load_userTracks(myLoginAlias, "homeWindow") | audiMate.applescript |
set visible of tab view 1 of window "homeWindow" to true | audiMate.applescript |
updateMePlusLaunch() | audiMate.applescript |
else if the name of theObject is "locateTabViewButton" then | audiMate.applescript |
tell tab view item "locateTab" of tab view 1 of window "homeWindow" | audiMate.applescript |
set chosenAlias to (contents of data cell "alias" of selected data row of table view 1 of scroll view 1) as string | audiMate.applescript |
on error number (-1700) | audiMate.applescript |
set chosenAlias to "" | audiMate.applescript |
display_userProfile(chosenAlias) | audiMate.applescript |
else if the name of theObject is "profileHideButton" then | audiMate.applescript |
set title of window "homeWindow" to "Home" as string | audiMate.applescript |
else if the name of theObject is "conversationHideButton" then | audiMate.applescript |
else if the name of theObject is "registerButton" then | audiMate.applescript |
set title of window "loginWindow" to "Make Yourself" | audiMate.applescript |
set contents of text field "registerErrorText" of window "registerWindow" to "" | audiMate.applescript |
display panel window "registerWindow" attached to window "loginWindow" | audiMate.applescript |
else if the name of theObject is "profileRememberForgetButton" then | audiMate.applescript |
set myMate_alias to (title of window "homeWindow") as string | audiMate.applescript |
set myMate_alias to (split(myMate_alias, "'s profile")) as string | audiMate.applescript |
updateMates(((title of theObject) as string), myMate_alias) | audiMate.applescript |
if the title of theObject is "Remember" then | audiMate.applescript |
set the title of theObject to "Forget" | audiMate.applescript |
else if the title of theObject is "Forget" then | audiMate.applescript |
set the title of theObject to "Remember" | audiMate.applescript |
else if the name of theObject is "matesTabViewButton" then | audiMate.applescript |
tell tab view item "matesTab" of tab view 1 of window "homeWindow" | audiMate.applescript |
set chosenAlias to (contents of data cell 1 of selected data row of table view 1 of scroll view 1) as string | audiMate.applescript |
else if the name of theObject is "conversationsTabViewButton" then | audiMate.applescript |
tell tab view item "conversationsTab" of tab view 1 of window "homeWindow" | audiMate.applescript |
display_conversation(chosenAlias) | audiMate.applescript |
else if the name of theObject is "conversationReplyButton" then | audiMate.applescript |
updateConversation("Reply") | audiMate.applescript |
else if the name of theObject is "conversationForgetButton" then | audiMate.applescript |
updateConversation("Forget") | audiMate.applescript |
else if the name of theObject is "profileConverseButton" then | audiMate.applescript |
set updateConvo to true | audiMate.applescript |
set myConvoAliases to (contents of data cell "alias" of every data row of data source of table view 1 of scroll view 1 of tab view item "conversationsTab" of tab view 1 of window "homeWindow") | audiMate.applescript |
repeat with myCNVOLoop from 1 to (count myConvoAliases) | audiMate.applescript |
if (item myCNVOLoop of myConvoAliases as string) is chosenAlias then | audiMate.applescript |
display alert ("You already have a conversation going with " & chosenAlias) | audiMate.applescript |
set updateConvo to false | audiMate.applescript |
if updateConvo is true then | audiMate.applescript |
updateConversation("Create") | audiMate.applescript |
else if the name of theObject is "profileHearButton" then | audiMate.applescript |
set chosenAlias to (title of window "homeWindow") | audiMate.applescript |
else if the name of theObject is "matesTabForgetButton" then | audiMate.applescript |
set myButton_t to (display dialog ("Are you sure you wish to forget " & chosenAlias & "?") buttons {"No", "Yes"} default button 1 with icon 0) | audiMate.applescript |
set myButton_c to (button returned of myButton_t) | audiMate.applescript |
if myButton_c is "Yes" then | audiMate.applescript |
updateMates("Forget", chosenAlias) | audiMate.applescript |
on should quit after last window closed theObject | audiMate.applescript |
end should quit after last window closed | audiMate.applescript |
on action theObject | audiMate.applescript |
end action | audiMate.applescript |
on selection changed theObject | audiMate.applescript |
end selection changed | audiMate.applescript |
on should quit theObject | audiMate.applescript |
end should quit | audiMate.applescript |
on launched theObject | audiMate.applescript |
set visible of text field "loginLoadingText" of window "loginWindow" to false | audiMate.applescript |
end launched | audiMate.applescript |
hide theObject | audiMate.applescript |
if the name of theObject is "portraitHome" then | audiMate.applescript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.