Cloned Stacks
Moderators: LCNeil, heatherlaine, kevinmiller, elanorb
Re: Cloned Stacks
Hi Mark,
If you are not saving to the stack and only opening it, then your should be fine. The engine folder is not writeable and you must copy the stack to the documents folder if you want to save any changes to the stack.
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——
If you are not saving to the stack and only opening it, then your should be fine. The engine folder is not writeable and you must copy the stack to the documents folder if you want to save any changes to the stack.
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——
Re: Cloned Stacks
I can't get the stack to launch. This is the script i am using.
Code: Select all
on mouseUp
start using stack specialFolderPath("engines") &" /photo.livecode"
end mouseUp
Re: Cloned Stacks
Hi Mark,
The script should be "specialFolderPath ("engine") and not ("engines")
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——
The script should be "specialFolderPath ("engine") and not ("engines")
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——
Re: Cloned Stacks
In my script I have "engine" and not "engines". I still can't get the stack to launch when I clicked on a button. What am I doing wrong?
Re: Cloned Stacks
Hi Mark
You will need to use open and not start using as start using simply places your stack into the LiveCode message path.
Please see the attached stackS that shows opening a stack from the engine directory with-
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——
You will need to use open and not start using as start using simply places your stack into the LiveCode message path.
Please see the attached stackS that shows opening a stack from the engine directory with-
Code: Select all
open stack specialFolderPath("engines") &" /photo.livecode"
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——
Re: Cloned Stacks
I still can't get the stack to launch. I have looked at the attached stack and I can't get it to work either. I really don't know what is going on. I see yo have "engines" and not "engine"
open stack specialFolderPath("engines") &" /photo.livecode"
Re: Cloned Stacks
Hi Mark,
Apologies for that, I see to have supplied the stack I was using for testing.
Please find the updated stack attached along with a video showing the stack working as expected.
http://techsupport.on-rev.com/idea2app/mark.mp4.zip
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——
Apologies for that, I see to have supplied the stack I was using for testing.
Please find the updated stack attached along with a video showing the stack working as expected.
http://techsupport.on-rev.com/idea2app/mark.mp4.zip
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——
Re: Cloned Stacks
I still can't get the stack to open. It is driving me crazy. I have looked at your sample stack. What am I doing wrong?
Re: Cloned Stacks
Hi Mark,
Are you able to run my sample stack without any issues?
You may wish to run some debugging on your stack, to see if the application can find your photo.livecode stack.
Adding a button with the following will tell you if the stack is present or not (true = yes, false = no)-
answer there is a file (specialFolderPath("engine") &"/photo.livecode")
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
—
Are you able to run my sample stack without any issues?
You may wish to run some debugging on your stack, to see if the application can find your photo.livecode stack.
Adding a button with the following will tell you if the stack is present or not (true = yes, false = no)-
answer there is a file (specialFolderPath("engine") &"/photo.livecode")
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
—
Re: Cloned Stacks
I did what you suggested the answer that comes back is False. I have added the stack to the "copy files" area. Is there something else I need to do?
Re: Cloned Stacks
Hi Mark,
If possible, could you post your stack as if it returning false then your application cannot find the photo stack to open.
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
—
If possible, could you post your stack as if it returning false then your application cannot find the photo stack to open.
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
—
Re: Cloned Stacks
Hi Mark,
I have tested your stack by adding an example photo.livecode stack and it works as expected. I would recommend removing the current photo.livecode stack in your copy files and re-adding it as if the directory has changed, this will be causing issues.
Please see the attached video that shows your stack successfully working
http://techsupport.on-rev.com/mark.mp4.zip
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——
I have tested your stack by adding an example photo.livecode stack and it works as expected. I would recommend removing the current photo.livecode stack in your copy files and re-adding it as if the directory has changed, this will be causing issues.
Please see the attached video that shows your stack successfully working
http://techsupport.on-rev.com/mark.mp4.zip
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——
Re: Cloned Stacks
I have removed and re added the stack and it still does not work. I also, have tried coping the folder to see if it would work, and that doesn't work either. I don't know what to do?
Re: Cloned Stacks
Hi Mark,
Please screen capture the processes you are taking (e.g. adding stack file and deploying to simulator) for both your stack and my sample stack as this could give us some leads as to what could be causing the issue.
Screen capture is available from the Quicktime player under the "File"---->"New Screen Recording"
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——
Please screen capture the processes you are taking (e.g. adding stack file and deploying to simulator) for both your stack and my sample stack as this could give us some leads as to what could be causing the issue.
Screen capture is available from the Quicktime player under the "File"---->"New Screen Recording"
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——
Re: Cloned Stacks
Hi Mark,
In regard to the last email message you sent me, the following site may give you some alternative option for recording your screen
http://techmarketingbuffalo.com/5-best- ... r-for-mac/
When deploying a stack to a mobile device (main or substack) they will automatically scale to the device you are as this is the way stacks are rendered on mobile devices.
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——
In regard to the last email message you sent me, the following site may give you some alternative option for recording your screen
http://techmarketingbuffalo.com/5-best- ... r-for-mac/
When deploying a stack to a mobile device (main or substack) they will automatically scale to the device you are as this is the way stacks are rendered on mobile devices.
Kind Regards,
Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——