AutoShare Open pictures directly on the computer

Use AutoShare/AutoRemote to send pictures from your phone to your computer and open them instantly.

  1. rowman

    rowman Member

    Joined:
    Feb 27, 2015
    Messages:
    33
    Likes Received:
    12
    rowman submitted a new AutoApps project:

    Open pictures directly on the computer - Use AutoShare/AutoRemote to send pictures from your phone to your computer and open them instantly.

    Read more about this project...
     
    joaomgcd likes this.
  2. gregor

    gregor New Member

    Joined:
    Feb 26, 2015
    Messages:
    2
    Likes Received:
    0
    Many thanks for this instruction.
    I get the picture perfectly transferred to my computer and it's accessible through the browser.
    But doesn't open automatically.
    17:59:13 Receiving file IMG_20150608_183917.jpg
    17:59:15 Got communication of type: Message
    17:59:15 Files: C:\Users\Gregor\Desktop\eg\IMG_20150608_183917.jpg
    17:59:15
    17:59:15 This is a redirected message.
    17:59:15 eg.event.payload.armessage: u'phoneFile'
    17:59:15 eg.event.payload.arpar: [u'phoneFile']
    17:59:15 eg.event.payload.files: [u'C:\\Users\\Gregor\\Desktop\\eg\\IMG_20150608_183917.jpg']
    17:59:15 eg.event.payload.sender:
    17:59:15 key: u'xxxx'
    17:59:15 name: u'xxxx'
    17:59:15 url: u'http://goo.gl/xxxx'
    17:59:15 localIp: u''
    17:59:15 port: None
    17:59:15 tryLocalIp: False
    17:59:15 AutoRemote.Message.phoneFile u'phoneFile'
    When I execute the Python Script manually I get this
    18:17:01 Python Script
    18:17:01 Traceback (most recent call last):
    18:17:01 Python script "2", line 3, in <module>
    18:17:01 myFile = eg.event.payload.files[0]
    18:17:01 AttributeError: 'NoneType' object has no attribute 'files'
    Any help would be very much appreciated.
     
  3. rowman

    rowman Member

    Joined:
    Feb 27, 2015
    Messages:
    33
    Likes Received:
    12
    I think manual execution won't work..

    No error message from the python script after receiving the AutoRemote message?
     
  4. gregor

    gregor New Member

    Joined:
    Feb 26, 2015
    Messages:
    2
    Likes Received:
    0
    There is no message from the script at all.
    Now I think it doesn't even get executed. The above log from EG is all.
    screenshot.jpg
     
  5. frantonio

    frantonio New Member

    Joined:
    Jun 4, 2015
    Messages:
    1
    Likes Received:
    0
    Sorry for bumping, but I was having the same situation and by adding an additional event "AutoRemote.message.phoneFile", it worked and opened the received files accordingly.
    [​IMG]
    I hope that helps.
     

Share This Page