Hi I am somewhat closer to the solution? I tested the correction that J. Landman Gay suggested where I remove the "then" at the end of the this line: "set the defaultfolder to specialFolderPath ("documents") & "/photos/" then <--" This had the effect of not updating the image in any card. When I added it back in, the image control will not change all of the cards now, but it will not update the current image either until I go to a different card and return to find the image then updated to the correct image. The script now does not change all of the cards, it just does not update while the image control is being edited. As I found out the update only occurs after I return to the edited card. It seems that the script is not making the image control update at the time of the edit. Can you suggest a correction?
Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ <http://www.appsbyvaughnclement.com/tools/home-page/>* Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclem...@gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 On Fri, Jun 20, 2014 at 12:13 PM, J. Landman Gay <jac...@hyperactivesw.com> wrote: > On 6/20/2014, 10:23 AM, Vaughn Clement wrote: > > The image control is supposed load when the card opens and the last photo >> is to be displayed? >> > > > >> *on* openCard >> >> *set* the defaultfolder to specialFolderPath ("documents") & >> "/photos/" >> >> *--answer the files* >> >> *if* the number of this card >1*then* >> >> *set* the defaultfolder to specialFolderPath ("documents") & >> "/photos/"*then* >> >> *if* there is a file the short id of this card*then* >> >> *put* specialFolderPath ("documents") & "/photos/" & the >> short >> >> ID of this card into thePath >> >> *set* the filename of image "imegeField1" of this card to >> thepath >> >> *end* *if* >> >> *end* *if* >> >> *end* openCard >> > > > Is this a direct copy/paste? This line is malformed: > > set the defaultfolder to specialFolderPath ("documents") & "/photos/" > then <-- > > Remove the trailing "then". Also, the image name is misspelled as > "imegeField1" ("e" rather than "a") which is more likely the reason for the > problem. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode