forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Python help... yeah I know it's not VDS

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1751
Location: Space and Time

PostPosted: Fri May 08, 2020 11:24 pm    Post subject: Python help... yeah I know it's not VDS Reply with quote

I know this isn't a Python forum, but off the off chance anyone here knows Python also... I made an app for Mac and I want to be able to pass a file to it. I want to edit the info.plist to be able to accept files, but it's not working. This is what I am trying to use for that...

Code:
<key>CFBundleTypeExtensions</key>
<array>
<string>pdf</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>generic.icns</string>
<key>CFBundleTypeName</key>
<string>IMG Disk Image</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>


Any help would be appreciated, thanks!

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cnodnarb
Professional Member
Professional Member


Joined: 11 Sep 2002
Posts: 762
Location: Rockeledge, GA

PostPosted: Mon May 18, 2020 1:48 pm    Post subject: Reply with quote

Are you hitting a permissions issue?

https://apple.stackexchange.com/questions/179669/how-do-i-edit-an-info-plist-file

Apparently from this I gather there might be a Windows UAC equivelent preventing the function if this is something that is being done programmatically.
Back to top
View user's profile Send private message AIM Address
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1751
Location: Space and Time

PostPosted: Mon May 18, 2020 3:51 pm    Post subject: Reply with quote

Hey Brandon,

Thanks for the reply, but I am not having issues editing it. I can edit it just fine, but the code I use to allow PDFs to drag/drop or send as parameter is not working. I've been banging my head trying to get it to work. Stupid

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group