How do I remove part of a path?

André Bisseret andre.bisseret at wanadoo.fr
Mon Aug 1 03:15:26 EDT 2011


Le 1 août 2011 à 07:44, Admin a écrit :

> 
> 
> Hello again. 
> 
> One more. 
> 
> What is the correct code to run a file
> (in this case, self extracting .exe files) in LiveCode. 
> 
> Here are the
> code I have written (with help) and it does not work: 
> 
> if the platform
> is "MacOS" then
> open file
> "http://www.campstaffusa.com/newdb/uploadpic_swt_mac.exe"

Here above should it not be : mac.app ?

André

> else
> open
> file "http://www.campstaffusa.com/newdb/uploadpic_swt.exe"
> end if
> 
> if
> the platform is "MacOS" then
> open file
> "http://www.campstaffusa.com/newdb/resume_swt_mac.exe"

idem

> else
> open file
> "http://www.campstaffusa.com/newdb/resume_swt.exe"
> end if
> 
> Please help.
> It is VITAL that the program, whether online or used as a program, load
> these files properly.
> 
> Thanks again.
> 
> Mike
> 
> On Sun, 31 Jul 2011 23:16:02
> -0500, Admin wrote: 
> 
>> Guys. 
>> 
>> THANK YOU!!! From the bottom of my
> heart, Thank You. You
>> guys saved my tushy tonight. My app works 100%
> now thanks to all of your
>> help. 
>> 
>> Mike 
>> 
>> On Sun, 31 Jul 2011
> 20:45:24 -0700, Pete wrote:
>> 
>>> Yeah,
>> 
>> messed up the syntax, but
> you get the idea!
>> 
>>> Pete Molly's Revenge
>> Pete, One 
>>> 
>>> little
> improvement is needed: replace item 4 of with empty in When I change the
> itemD
>> omething exotic I almost always forget to change it back then
> wonder why those items don't obey. If you are going to change the
> itemDelimiter you might try something like: put the itemDel into
> old_delimiter set the itemDel to "/" -- gather some items set the
> itemDel to old_delimiter Mike --- On Sun, 7/31/11, Pete wrote: From:
> Pete Subject: Re: How do I remove part of a path? To: "How to use
> LiveCode" Date: Sunday, July 31, 2011, 9:36 PM replace "/public.html"
> with empty in . That's assuming it's always the same string you want to
> get rid of. Alternatively: set the itemdelimiter to "/" replace item 4
> of with empty Pete Molly's Revenge On Sun, Jul 31, 2011 at 6:58 PM,
> Admin wrote: Hello all, Say I have the following path: 
>>> 
>>> 
> http://www.travelandworkusa.com/public_html/userfiles/Felker_Mike/robot_trans_noshadow.png
>> 
> H
>> 
>>> _______________________________________ use-livecode mailing
> list use-livecode at lists.runrev.com [1] [1] Please visit this url to
> subscribe, unsubscribe and manage your subscription preferences:
>> 
> sts.runrev.com/mailman/listinfo/use-livecode[2]_______________________________________________
> use-livecode mailing list use-livecode at lists.runrev.com [2] [9] Please
> visit this url to subscribe, unsubscribe and manage your subscription
> preferences: http://lists.runrev.com/mailman/listinfo/use-livecode [3]
> [10] _______________________________________________ use-livecode
> mailing list use-livecode at lists.runrev.com [4] [11] Please visit this
> url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> [5][12]_______________________________________________ use-livecode
> mailing 
>> 
>> list
>> use-livecode at lists.runrev.com [6] [15] Please visit
> this url to 
>> 
>> subscribe, unsubscribe and manage your subscription
> preferences:http://lists.runrev.com/mailman/listinf>
> se-livecode at lists.ru
>> [2]
> http://lists.runrev.com/mailman/listinfo/use-livecode [7] [3]
> mailto:pete at mollysrevenge.com [8] [4]
> mailto:use-livecode at lists.runrev.com [6] http://www.mollysrevenge.com
>> 
> to:admin at mfelkerco.com [9] [8]
> http://www.travelandworkusa.com/public_html/userfiles/Felker_Mike/robot_trans_noshadow.png
> [10] [9] mailto:use-livecode at lists.runrev.com [11] [10]
> http://lists.runrev.com/mailman/listinfo/use-livecode [12] [11]
> mailto:use-livecode at lists.runrev.com [13] [12]
> http://lists.runrev.com/mailman/listinfo/use-livecode [14] [13]
> http://www.mollysrevenge.com [15] [14] mailto:mikekann at yahoo.com [16]
> [15] mailto:use-livecode at lists.runrev.com [17] [16]
> http://lists.runrev.com/mailman/listinfo/use-livecode [18]
> _______________________________________________ use-livecode mailing
> list use-livecode at lists.runrev.com [19] Please visit this url to
> subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode [20]
> 
> 
> 
> 
> Links:
> ------
> [1] mailto:use-livecode at lists.runrev.com
> [2]
> mailto:use-livecode at lists.runrev.com
> [3]
> http://lists.runrev.com/mailman/listinfo/use-livecode
> [4]
> mailto:use-livecode at lists.runrev.com
> [5]
> http://lists.runrev.com/mailman/listinfo/use-livecode
> [6]
> mailto:use-livecode at lists.runrev.com
> [7]
> http://lists.runrev.com/mailman/listinfo/use-livecode
> [8]
> mailto:pete at mollysrevenge.com
> [9] mailto:admin at mfelkerco.com
> [10]
> http://www.travelandworkusa.com/public_html/userfiles/Felker_Mike/robot_trans_noshadow.png
> [11]
> mailto:use-livecode at lists.runrev.com
> [12]
> http://lists.runrev.com/mailman/listinfo/use-livecode
> [13]
> mailto:use-livecode at lists.runrev.com
> [14]
> http://lists.runrev.com/mailman/listinfo/use-livecode
> [15]
> http://www.mollysrevenge.com
> [16] mailto:mikekann at yahoo.com
> [17]
> mailto:use-livecode at lists.runrev.com
> [18]
> http://lists.runrev.com/mailman/listinfo/use-livecode
> [19]
> mailto:use-livecode at lists.runrev.com
> [20]
> http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list