differnce between Development mode and Standalone mode
Posted: Wed Jan 16, 2013 4:48 pm
This is the code that I am using and it works on the RunRev Development Test mode when I use the suspend development tools mode, but not when I place the app on my target iPad or IPhone.
on mouseUp
put the name of this card into gcurrentname
visual effect push left
go to card "SavedColorList"
put empty into field ColorList
Put empty into field ColorChoiceDetail
put empty into line 1 of field "Color(s)"
put empty into line 2 of field "Color(s)"
set the backgroundcolor of line 1 of field "Color(s)" to empty
set the backgroundcolor of line 2 of field "Color(s)" to empty
set the itemDel to tab
set the defaultFolder to specialFolderPath("documents")
put url ("file:" & specialFolderPath("documents") & "/colorlist.txt") into tColorList
answer tColorList (the answer is blank - when ran on the iPhone or iPad)
repeat with x = 1 to the number of lines in tColorlist
get item 1 of line x of tColorlist
put it into item 1 of line x of field ColorList
end repeat
end mouseUp
on mouseUp
put the name of this card into gcurrentname
visual effect push left
go to card "SavedColorList"
put empty into field ColorList
Put empty into field ColorChoiceDetail
put empty into line 1 of field "Color(s)"
put empty into line 2 of field "Color(s)"
set the backgroundcolor of line 1 of field "Color(s)" to empty
set the backgroundcolor of line 2 of field "Color(s)" to empty
set the itemDel to tab
set the defaultFolder to specialFolderPath("documents")
put url ("file:" & specialFolderPath("documents") & "/colorlist.txt") into tColorList
answer tColorList (the answer is blank - when ran on the iPhone or iPad)
repeat with x = 1 to the number of lines in tColorlist
get item 1 of line x of tColorlist
put it into item 1 of line x of field ColorList
end repeat
end mouseUp